SMF Support > SMF 2.0.x Support

Premature end of script headers after post

(1/4) > >>

WillyP:
Sometimes posting results in an internal server error, it seems to do this every time I or anyone else posts, for a while, then it stops for a while. Also does the same for a certain member when reporting a post. The post is made but the user is left on the error page.


--- Quote ---Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@forum.cog-online.org and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


--------------------------------------------------------------------------------

Apache/2.2.9 Server at forum.cog-online.org Port 80
--- End quote ---

There are no errors in the forum log that could be related.

Server log:


--- Quote ---[Wed May 23 11:15:52 2012] [error] [client 207.241.237.220] File does not exist: /home/133072/domains/forum.cog-online.org/html/robots.txt

[Wed May 23 11:23:51 2012] [error] [client 204.195.175.205] Premature end of script headers: php-legacy, referer: http://forum.cog-online.org/index.php?action=post;topic=30089.30;last_msg=177801

[Wed May 23 11:25:48 2012] [error] [client 173.168.38.56] Premature end of script headers: php-legacy, referer: http://forum.cog-online.org/index.php?action=post;quote=182114;topic=34755.0;last_msg=182512

[Wed May 23 11:33:38 2012] [error] [client 167.83.101.24] Premature end of script headers: php-legacy, referer: http://forum.cog-online.org/index.php?action=post;quote=183838;topic=32181.0

[Wed May 23 11:34:16 2012] [error] [client 71.231.136.229] Premature end of script headers: php-legacy, referer: http://forum.cog-online.org/index.php?action=post;topic=27036.255;last_msg=183216

[Wed May 23 11:34:41 2012] [error] [client 157.55.16.219] File does not exist: /home/133072/domains/forum.cog-online.org/html/robots.txt

[Wed May 23 11:35:56 2012] [error] [client 68.61.178.70] Premature end of script headers: php-legacy, referer: http://forum.cog-online.org/index.php?action=post;board=21.0

[Wed May 23 11:37:51 2012] [error] [client 68.0.205.12] File does not exist: /home/133072/domains/forum.cog-online.org/html/Themes/likaWiki/css/webkit.css, referer: http://forum.cog-online.org/index.php/topic,32047.msg154464.html

[Wed May 23 11:38:56 2012] [error] [client 71.231.136.229] Premature end of script headers: php-legacy, referer: http://forum.cog-online.org/index.php?action=reporttm;topic=32855.24;msg=183923
--- End quote ---

Mods:

--- Quote ---1.    Aeva Media    1.4w
2.    First Post on every Page    1.4
3.    Fix Firefox 8.0 download problems    1.0.0
4.    SMF 2.0.2 Update    1.0
5.    Limit First Post on every Page to certain boards    1.4
6.    Post History    0.3a
7.    FantasticSmileys    1.0

9.    SMF 2.0.1 Update    1.0
10.    Memberize Integration    1.0.6
--- End quote ---

This error began while the forum was at 2.0.1. All mods except the upgrade to 2.0.1 and Memberize Integration where removed, no effect. Then the forum was upgraded to 2.0.2, through the package manage. The mods all installed successfully, the upgrade was successful except for subscriptions.php being missing, which was extracted from the 2.0.1 distro and uploaded. After that the upgrade went without a hitch.

The forum is at Concours Owners Group (COG) Forum - Index

Storman™:
Well for starters your theme is built for RC3 and not 2.0.2.

Have you checked with the theme's author to see if there is a revised theme for 2.0.2. as they are not always compatible ?

WillyP:
I am the author of the theme. Can you inform me of the differences, or point me to a reference?

MrPhil:
Also give your site a /robots.txt file, even if it's empty, to stop that being logged as an error (cluttering up the log). If you're getting errors about /favicon.ico or missing error documents such as 500.shtml, add them (see my sig > FAQs > Missing Support Files). All these spurious errors clutter up the log and make it easy to overlook real errors.

colinp386:

--- Quote from: MrPhil on May 25, 2012, 11:21:24 AM ---Also give your site a /robots.txt file, even if it's empty, to stop that being logged as an error (cluttering up the log). If you're getting errors about /favicon.ico or missing error documents such as 500.shtml, add them (see my sig > FAQs > Missing Support Files). All these spurious errors clutter up the log and make it easy to overlook real errors.

--- End quote ---

FYI
I'm working with WillyP on this, issue that has us very stumped.
I have already added a favicon.ico and will add a robots.txt
I've had a pretty good look through the error log and don't see any other errors other than the premature end of script header.

This issue has become a real PITA for us  :(

Navigation

[0] Message Index

[#] Next page

Go to full version