MrCromeDome has asked for the wisdom of the Perl Monks concerning the following question:
[Thu Jun 21 10:53:08 2001] [error] [client 192.168.0.1] Premature end +of script headers: d:/www/cgi-bin/view.cgi
I am writing a web-based search utility for one of our Win32 applications. The database it will be using is millions of rows in size, spanning 15 years of information. I took a small subset of that data and developed the search utility with it.
On the smaller dataset, the script works flawlessly. When I started using the larger database, the above mentioned error started occuring. I click a link on the results page to bring up detailed information about a document, which calls my view script with a certain set of parameters. If I want a more detailed view of part of that document, I click on a second link, which calls the same view script again, this time with slightly different parameters, only this time perl triggers an application error/doc watson/gpf type error.
Failing to believe that something suddenly cropped up with the code, I opened a command prompt and executed the same script with the same parameters as the browser. As expected, the script performed as intended.
I am using ActiveState Perl and Apache 1.3.19 on Windows 2000. My DBMS is (unfortunately) MS SQL Server 7.0, which I am accessing via the DBD::ODBC module.
Is it likely something in my code, Apache, my database, ActivePerl, or the interaction of Apache and the ODBC driver? I have not posted the code as it is quite long, but would be happy to provide it if it would be of assistance.
Any help or suggestions are greatly appreciated!
MrCromeDome
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Premature end of script headers?
by Trimbach (Curate) on Jun 21, 2001 at 21:13 UTC | |
by MrCromeDome (Deacon) on Jun 21, 2001 at 22:22 UTC | |
|
Re: Premature end of script headers?
by tachyon (Chancellor) on Jun 21, 2001 at 22:29 UTC | |
by MrCromeDome (Deacon) on Jun 21, 2001 at 22:47 UTC | |
by CharlesClarkson (Curate) on Jun 22, 2001 at 01:47 UTC | |
by tachyon (Chancellor) on Jun 24, 2001 at 16:59 UTC | |
|
Re: Premature end of script headers?
by stefan k (Curate) on Jun 21, 2001 at 20:30 UTC | |
by MrCromeDome (Deacon) on Jun 21, 2001 at 20:58 UTC | |
by stefan k (Curate) on Jun 21, 2001 at 21:04 UTC |