WordPress.org

Forums

[resolved] Internal Server Error (42 posts)

  1. breger
    Member
    Posted 10 years ago #

    I get the following message when I try to login to the site:
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, webmaster@airdrie.net 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.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

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

    Apache/1.3.34 Server at http://www.airdrie.net Port 80

    Can't seem to figure out what's suddenly caused this. Any ideas? Website URL is http://www.airdrie.net

  2. Mark (podz)
    Support Maven
    Posted 10 years ago #

    Using your ftp client, rename the .htaccess file to 'htacess.txt'
    That will let you get back in.

    If you made no changes at all before this happened, email your host and see what they have done.

  3. breger
    Member
    Posted 10 years ago #

    Thanks Podz.
    I've tried that but no luck. I also notice I have 2 .htaccess files. One is simply called .htaccess and the other is called .htaccess1124274218. Is there any relevence to this and which one should I tinker with? The .htaccess file has only FrontPage extensions present (I know ..), but the other file has much more and includes WP details and rewrites.

  4. Mark (podz)
    Support Maven
    Posted 10 years ago #

    http://www.airdrie.net/weblog2/
    is working for me...

    .htaccess is a valid file, the other is not - just delete it. If you are worried, download it first.

  5. breger
    Member
    Posted 10 years ago #

    Just a further note: in my root blog folder I have found a file which is named "/core.18463" and is 55128kb in size. Does anyone know what this is or why it's there?

  6. James Huff
    Support Representative
    Posted 10 years ago #

    That file shouldn't be there. It is a temporary file that has obviously grown to large. Contact your hosting provider.

    As for the internal server error, "More information about this error may be available in the server error log."

  7. breger
    Member
    Posted 10 years ago #

    I've checked the error log and these are the entries for 10th Nov.
    [10-Nov-2005 15:46:02] PHP Warning: Wrong parameter count for strncmp() in /home/airdrie/public_html/weblog2/wp-content/plugins/bad-behavior/bad-behavior-http-headers.php on line 15
    [10-Nov-2005 15:46:09] PHP Warning: Wrong parameter count for strncmp() in /home/airdrie/public_html/weblog2/wp-content/plugins/bad-behavior/bad-behavior-http-headers.php on line 15
    [10-Nov-2005 15:46:09] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/airdrie/public_html/weblog2/wp-content/plugins/bad-behavior/bad-behavior-http-headers.php:15) in /home/airdrie/public_html/weblog2/wp-rss2.php on line 10
    [10-Nov-2005 15:46:15] PHP Warning: Wrong parameter count for strncmp() in /home/airdrie/public_html/weblog2/wp-content/plugins/bad-behavior/bad-behavior-http-headers.php on line 15
    [10-Nov-2005 15:46:15] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/airdrie/public_html/weblog2/wp-content/plugins/bad-behavior/bad-behavior-http-headers.php:15) in /home/airdrie/public_html/weblog2/wp-atom.php on line 10
    Does it make any sense to anyone?

  8. James Huff
    Support Representative
    Posted 10 years ago #

    I recommend that you download a fresh copy of the current Bad Behavior (v1.2.3 at this time) and re-install it.

  9. error
    Member
    Posted 10 years ago #

    Bad Behavior requires PHP 4 or PHP 5. It does not run on PHP 3.

    Your site looks fine now. I presume installing a fresh copy fixed it, or that you otherwise found and fixed the problem.

  10. James Huff
    Support Representative
    Posted 10 years ago #

    Good catch Michael, but how did you see that he was running PHP 3? Is it just from the types of errors that were displayed? I'd like to know for future reference.

  11. breger
    Member
    Posted 10 years ago #

    Hi Error. Thanks for the feedback. I still have a problem with the Internal Server Error even though I replaced Bad Behaviour. Another problem related to this is that I cannot get into Admin on my site to activate the latest bad Behaviour plugin although when not logged in the site appears fine. It's weird! Another thing I noticed is that when I click the link to my site (ie from my Favourites menu) it always shows me as already logged in. I then logout and try to log back in again but always get this Internal Server Error message. Any other thoughts? Oh, and I seem to be running PHP v4.4.1 (suExec enabled) and MySQL v4.0.25-standard according to cpanel which is provided by my website host details.

  12. James Huff
    Support Representative
    Posted 10 years ago #

    What happens if you remove all of the Bad Behavior files?

  13. breger
    Member
    Posted 10 years ago #

    Macmanx - basically nothing! I deleted the Bad Behaviour folder from the Plugins area and it did not have any effect. I then loaded the new version but as I said, did not activate because I can't get into the Admin area due to the Internal Server Error so at present I have several messages from visitors which I can't moderate due to this also.

  14. James Huff
    Support Representative
    Posted 10 years ago #

    Hm, try this:

    1. Delete all of the Bad Behavior files.

    2. Attempt to access your admin area (thus triggering the internal server error).

    3. Immediately proceed to your server error log.

    4. Copy the contents of the log for the past hour and paste them here.

  15. breger
    Member
    Posted 10 years ago #

    Hi Macmanx. I've carried out what you asked and error log is below:

    [Sun Nov 13 10:33:48 2005] [error] [client 82.40.27.59] File does not exist: /home/airdrie/public_html/500.shtml
    [Sun Nov 13 10:33:48 2005] [error] [client 82.40.27.59] Premature end of script headers: /home/airdrie/public_html/weblog2/wp-admin/index.php
    [Sun Nov 13 09:27:10 2005] [error] [client 207.46.98.41] File does not exist: /home/airdrie/public_html/shopping/finance.htm
    [Sun Nov 13 07:23:03 2005] [error] [client 69.25.102.254] File does not exist: /home/airdrie/public_html/shopping/vnu_datestamp.js
    [Sun Nov 13 07:23:03 2005] [error] [client 69.25.102.254] File does not exist: /home/airdrie/public_html/shopping/style1.css
    [Sun Nov 13 07:23:02 2005] [error] [client 69.25.102.254] File does not exist: /home/airdrie/public_html/shopping/debenhams.htm
    [Sun Nov 13 07:14:24 2005] [error] [client 68.142.249.150] script not found or unable to stat: /home/airdrie/public_html/weblog2/wp-content/plugins/trencaspammers.php
    [Sun Nov 13 02:40:35 2005] [error] [client 207.46.98.41] File does not exist: /home/airdrie/public_html/shopping/finance.htm
    Hope this makes sense.

  16. Mark (podz)
    Support Maven
    Posted 10 years ago #

    I'm having a similar problem with svn code. I've posted to the Testers list. If there could be anything shared I will post back.

  17. breger
    Member
    Posted 10 years ago #

    Thanks Podz.

  18. Munnday
    Member
    Posted 10 years ago #

    Open wp-setting and uncomment:
    define('DISABLE_CACHE', true);

    It is a problem relating to the new Cache system.

  19. breger
    Member
    Posted 10 years ago #

    I can only find wp-settings (with an "s") and the file does not appear to have this line present. I am using WP 1.5.2. The nearest line which relates to this is
    'if ( defined('WP_CACHE') )
    require (ABSPATH . 'wp-content/advanced-cache.php');'

  20. Mark (podz)
    Support Maven
    Posted 10 years ago #

    The cache setting Munnday refers to is part of the latest svn code and not 1.5.2 This was what sent my test site strange this morning so unfortunately my problem was not related to yours.

    From forum hunting earlier though, the 'premature end' error could be related to the folder permissions so you may want to check they are all at 755 at least ?

    Have you asked your host if they have changed anything at all, no matter how small ?

  21. breger
    Member
    Posted 10 years ago #

    My host doesn't appear to have done anything out of the ordinary over the last few days so I am well and truly stumped! Do you think I should reinstall WP over the existing files? And if so, what's the best way to do this without causing too much grief?

  22. breger
    Member
    Posted 10 years ago #

    OK - I went ahead and copied WP files from my original Wp download folder. This still left some files which had been added to the installation but it obviously meant that the WP core files were overwritten. Unfortunately this made absolutely no difference and I still get the error. I also uploaded a backup copy of my database for WP on the server just in case the tables were wonky - and again - no difference. I'm slowly running out of ideas. Can anyone help?

  23. vkaryl
    Member
    Posted 10 years ago #

    Can you set up a new subfolder on your web space and do a brand new install of wp to see if IT has the same problem? If so, then it is no doubt something with your host, regardless they are saying they've done nothing....

  24. breger
    Member
    Posted 10 years ago #

    Vkaryl - I'll give it a try and let you know.

  25. vkaryl
    Member
    Posted 10 years ago #

    Please do! Anything we can figure out will not only help you, but the next poor guy with the problem!

  26. breger
    Member
    Posted 10 years ago #

    Hi Vkaryl. I've just set up another WP site on my webspace and it works fine (http://www.airdrie.net/wordpress).
    Have you any ideas as to what's stopping me from entering admin on my main site (http://www.airdrie.net/weblog2)?

  27. ragnarcarlson
    Member
    Posted 10 years ago #

    hey can anyone here help me with my internal server error? you can see my other post, and if someone could help me (i could give you my dreamhost name and password) that would be really really appreciated as i'm a computer dummy, and can't figure out what to do.

    anisse

  28. vkaryl
    Member
    Posted 10 years ago #

    ragnarcarlson, PLEASE institute a new thread rather than hijacking this one!

    breger, I don't. Here's what I would do were I you and in your position: since you have a working installation (the new one), I'd make incremental changes to it to bring it into line with the non-working one. Anything you did in the one now having a problem, do in the working install. ONE AT A TIME.

    That way, when the now working install QUITS working, you'll know what caused it. It's a potentially long troubleshooting process, but there's absolutely no point in changing everything at once only to find out that the now-working install is just like the non-working one - in other words, not working....

  29. vkaryl
    Member
    Posted 10 years ago #

    Y'know, breger.... before you go through all that....

    Access your weblog2 install through your file manager or ftp client, and delete the entire contents of the wp-content/plugins folder (download it to your hard drive first if you want to keep a backup). I noticed in some of your error stuff above just now some "headers already sent" lines, and while I don't know that your whole plugin setup is at fault, it's possible....

    Once you've done that, reupload the entire wp-admin folder, then try logging into admin again. This could be simple smoke and mirrors, but I've had stranger things happen....

  30. breger
    Member
    Posted 10 years ago #

    Thanks for your help Vkaryl. I will try what you suggested and delete the plugins first. As you say - easier to crack an egg than crack a nut!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.