Topic: Hmmm...trying...to...installl...

Umm, Hi.  I'm getting a funny looking problem when trying to install punbb.  I enter all my info on the install.php page, then hit submit.  The page turned white for a few moments then this message appeared.

STDERR:

Failed to find the "nothing" line (\n\n)! Premature end of script headers.

STDOUT:

(nothing)

I have no idea what that "nothing" means.  I don't know what kind of firewall or saftey tools are on this PC because I'm at school.  Is it possible that it will work from my home PC?  Thanks for in advance for any help you can give me.

Re: Hmmm...trying...to...installl...

I have no idea what the hell that means. I've never encountered anything like that when working with PHP. Google for it and you might find some helpful info.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

3

Re: Hmmm...trying...to...installl...

Found this. Could this apply to php?

Premature end of script headers:
The "Premature end of script headers" error message is probably the most loathed and common error message you'll find.
What the error actually means, is that the script stopped for whatever reason before it returned any output to the web server.
A common cause of this for script writers is to fail to set a content type before printing output code. In Perl for example, before printing any HTML it is necessary to tell the Perl script to set the content type to text/html, this is done by sending a header, like so:

print "Content-type: text/html\n\n";
If you don't do that, Perl will try to output to STDOUT (Standard Output, or the servers terminal) instead of through the web server to your browser.
The same applies to any CGI script of any language.

Re: Hmmm...trying...to...installl...

webservers usually defaults to something if no content-type is sent, but you might be right, perhaps it doesn't send anything?


I would suggest the usual thing when things fail, redownload the zip, and unpack it again, and then resend the files up onto the server ... sometimes downloads and uploads on the internet can fail, and some files goes missing, or are corrupt.

Re: Hmmm...trying...to...installl...

dunno if you can but if possible
a) test another php script
b) ask however runs the webserver chances are they know more about it (unless its you lol)