Premature end of script headers

Discussion in 'Site & Server Administration' started by webmasterplace, May 7, 2008.

  1. #1
    Hi,

    Since today I'm having a very weird error.
    500 - Internal server error, Premature end of script headers

    How do I solve this? Nothing works anymore. I have several domains hosted at my same shared server, and they all don't work anymore. At everypage I get that error. I didn't modify a php file recently, so I wouldn't know what's causing the error. My host says it's because of a faulty script, but how I can find that lol. I have more than 400 php files ... do I need to check them one by one :p
     
    webmasterplace, May 7, 2008 IP
  2. vagrant

    vagrant Peon

    Messages:
    2,284
    Likes Received:
    181
    Best Answers:
    0
    Trophy Points:
    0
    #2
    on the shared hosting i use if an error happens with a php file, the server makes a file named error_log (no extension) that gives more details in the www folder or sub-domain folder usually that helps track down what script is causing the problem and what line.

    has your host updated php on the server in the last few days ?
     
    vagrant, May 7, 2008 IP
  3. webmasterplace

    webmasterplace Peon

    Messages:
    802
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    0
    #3
    No there were no updates recently. The problem is solved now, I don't know what was causing the problem. It must be due to the host or something ...

    Thanks anyway for your reply ;)
     
    webmasterplace, May 7, 2008 IP