Results 1 to 10 of 10
  1. #1
    Join Date
    Mar 2008
    Location
    UK
    Posts
    1,135

    Exclamation 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

  2. #2
    Join Date
    Apr 2005
    Location
    Cochin
    Posts
    2,452
    php in cgi mode ?

    does the server have mod_security installed ?

  3. #3
    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.

  4. #4
    Join Date
    Mar 2008
    Location
    UK
    Posts
    1,135
    Quote Originally Posted by activelobby4u View Post
    php in cgi mode ?

    does the server have mod_security installed ?
    PHP with fcgi - no it is removed.

    Quote Originally Posted by prashant1979 View Post
    What does the Apache Error Log say?
    I copied and pasted those lines directly from the log.
    Shamil Nunhuck, - Radon Systems Limited
    VPS + Dedicated Server Hosting and Management
    vBulletin / XenForo Hosting and Services
    Server / Website Consultation

  5. #5
    Join Date
    May 2001
    Location
    Houston, TX
    Posts
    195
    Are you running suExec? If so, make sure the directory and file permissions are correct.

  6. #6
    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.

  7. #7
    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.

  8. #8
    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.

  9. #9
    Join Date
    May 2009
    Posts
    31
    Check the ownership and permission of that file.

  10. #10
    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

  1. ALL Perl Scripts - "Premature end of script headers"?
    By kgibbons in forum Hosting Security and Technology
    Replies: 20
    Last Post: 02-11-2008, 09:48 PM
  2. Help: Premature end of script headers (php file)
    By Rosamunda in forum Programming Discussion
    Replies: 4
    Last Post: 12-19-2004, 04:51 AM
  3. Compiled CGI and Premature end of script headers:
    By Perfecthost in forum Hosting Security and Technology
    Replies: 3
    Last Post: 12-12-2003, 05:07 PM
  4. Nagios gives CGI errors - Premature end of script headers
    By keyDet79 in forum Hosting Software and Control Panels
    Replies: 4
    Last Post: 09-22-2003, 02:38 PM
  5. premature end of script headers
    By Ash in forum Programming Discussion
    Replies: 4
    Last Post: 09-21-2003, 09:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •