Results 1 to 10 of 10
Thread: Premature headers end
-
08-25-2009, 09:39 AM #1Empowering Websites
- Join Date
- Mar 2008
- Location
- UK
- Posts
- 1,135
Premature headers end
Hi, I'm getting a wierd error with one specific php page, vbulletin's view member page.
Upon inspection of the logs, I see:
[Tue Aug 25 14:34:38 2009] [warn] mod_fcgid: read data timeout in 40 seconds
[Tue Aug 25 14:34:38 2009] [error] [client 78.146.109.225] Premature end of script headers: member.php, referer: http://www.theflickzone.com/
So what's going on here?Shamil Nunhuck, - Radon Systems Limited
█ VPS + Dedicated Server Hosting and Management
█ vBulletin / XenForo Hosting and Services
█ Server / Website Consultation
-
08-25-2009, 09:53 AM #2Disabled
- Join Date
- Apr 2005
- Location
- Cochin
- Posts
- 2,452
php in cgi mode ?
does the server have mod_security installed ?
-
08-25-2009, 09:55 AM #3Eternal Learner
- Join Date
- Jul 2007
- Posts
- 2,051
What does the Apache Error Log say?
Prashant T.
Don't run after Success. Run after Excellence and Success will soon follow.
-
08-25-2009, 09:59 AM #4Empowering Websites
- Join Date
- Mar 2008
- Location
- UK
- Posts
- 1,135
Shamil Nunhuck, - Radon Systems Limited
█ VPS + Dedicated Server Hosting and Management
█ vBulletin / XenForo Hosting and Services
█ Server / Website Consultation
-
08-25-2009, 01:04 PM #5Junior Guru
- Join Date
- May 2001
- Location
- Houston, TX
- Posts
- 195
Are you running suExec? If so, make sure the directory and file permissions are correct.
-
08-25-2009, 11:29 PM #6Temporarily Suspended
- Join Date
- Oct 2003
- Location
- Hanoi
- Posts
- 4,309
The file member.php should have 644 permission. If you chmoded it to 755, it will show error in CGI mode. Check it first.
-
08-26-2009, 03:22 AM #7Web Hosting Master
- Join Date
- Apr 2009
- Posts
- 865
have you people read his initial message?
[warn] mod_fcgid: read data timeout in 40 seconds
THIS is what ends with premature end of scripts.
Increase that value, OR check your scripts.
-
08-26-2009, 08:25 AM #8Junior Guru
- Join Date
- May 2001
- Location
- Houston, TX
- Posts
- 195
It may timeout for several reasons, not just because the timeout value needs to be increased. The file may not be found, permissions may be wrong, etc.
-
08-26-2009, 09:34 AM #9Junior Guru Wannabe
- Join Date
- May 2009
- Posts
- 31
Check the ownership and permission of that file.
-
08-26-2009, 11:47 AM #10PING PONG
- Join Date
- May 2009
- Location
- SLASH ROOT
- Posts
- 867
Is your webserver Apache, or is it lighttpd or lsws?
█ WebHostRepo.com
█ Linux | Windows | VPS | Cloud
█ Outsourced Technical Support since 2009
█ sales@webhostrepo.com
Similar Threads
-
ALL Perl Scripts - "Premature end of script headers"?
By kgibbons in forum Hosting Security and TechnologyReplies: 20Last Post: 02-11-2008, 09:48 PM -
Help: Premature end of script headers (php file)
By Rosamunda in forum Programming DiscussionReplies: 4Last Post: 12-19-2004, 04:51 AM -
Compiled CGI and Premature end of script headers:
By Perfecthost in forum Hosting Security and TechnologyReplies: 3Last Post: 12-12-2003, 05:07 PM -
Nagios gives CGI errors - Premature end of script headers
By keyDet79 in forum Hosting Software and Control PanelsReplies: 4Last Post: 09-22-2003, 02:38 PM -
premature end of script headers
By Ash in forum Programming DiscussionReplies: 4Last Post: 09-21-2003, 09:41 AM