500 internal server error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Pahonix
    New Member
    • Aug 2009
    • 3
    • 3.8.x

    500 internal server error

    So I woke up this morning to a 500 Internal Server Error on my forums:



    I looked at the error log and notice a bunch of these:

    [Sun Oct 04 00:28:24 2009] [error] [client x.x.x.x] Premature end of script headers: index.php
    [Sun Oct 04 00:28:24 2009] [error] [client x.x.x.x] File does not exist: /home/thegrubs/thegrubs.com/internal_error.html

    So I backtrack and the first mention of this particular error looks like this:

    [Sun Oct 04 00:01:44 2009] [error] [client x.x.x.x] Premature end of script headers: cron.php, referer: http://www.thegrubs.com/forums/login.php
    [Sun Oct 04 00:01:44 2009] [error] [client x.x.x.x] File does not exist: /home/thegrubs/thegrubs.com/internal_error.html, referer: http://www.thegrubs.com/forums/login.php

    So the first thing I do is FTP into the site and copy down all the files as a backup. Then I reupload all the original vbulletin files, except for the image directory. I go to the includes/config.php file and add "define('DISABLE_HOOKS', true);". I try to then hit the front page of the site and still get the internal server error.

    I start checking all the other hosted sites I have with this host and they are all fine. Database access works as well on the other sites. The problem does not appear to be host related nor MySQL related.

    Any ideas on where to look? Does the 'disable hooks' command disable vbadvanced? I'm only running a few addons (AME, TCattd image resizer, and vbadvanced).

    I've put in a support request to my hosting company, but haven't heard back yet, but since other hosted sites are fine, I'm pretty sure the problem is in vbulletin somewhere. I'm hoping someone here can shed some light.

    EDIT to add add'l info:

    I've noticed that most of the php files for the site are set to 644 permissions. Most of the googled sites I can find on this problem say that scripts should be 755. Should I change them? Or is 644 correct?
    Last edited by Pahonix; Sun 4 Oct '09, 12:50pm. Reason: Additional information
  • knightdreams
    Senior Member
    • Feb 2005
    • 121
    • 3.8.x

    #2
    it is a problem with your .htaccess file, make sure it is empty.

    This happened to me the other day and someone edited it to include my index.php file, just restoring the correct one fixed the issue.

    Comment

    • Pahonix
      New Member
      • Aug 2009
      • 3
      • 3.8.x

      #3
      Well, it appears the problem *was* with the host. Here's the response I got from them, posting it for posterity.

      "There are some hung php5.cgi processes from your user <adminuser>, and
      they are causing php processes from
      http://www.thegrubs.com/forums/forums.php to fail. I killed those hung
      processes and http://www.thegrubs.com/forums/forums.php is loading now."

      Comment

      • knightdreams
        Senior Member
        • Feb 2005
        • 121
        • 3.8.x

        #4
        Ok, glad they where able to help you

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...