[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
In reply to Premature end of script headers? by MrCromeDome
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |