• Resolved breger

    (@breger)


    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, [email protected] 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 https://www.airdrie.net Port 80

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

Viewing 15 replies - 1 through 15 (of 41 total)
  • 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.

    Thread Starter breger

    (@breger)

    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.

    https://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.

    Thread Starter breger

    (@breger)

    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?

    Moderator James Huff

    (@macmanx)

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

    Thread Starter breger

    (@breger)

    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?

    Moderator James Huff

    (@macmanx)

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

    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.

    Moderator James Huff

    (@macmanx)

    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.

    Thread Starter breger

    (@breger)

    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.

    Moderator James Huff

    (@macmanx)

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

    Thread Starter breger

    (@breger)

    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.

    Moderator James Huff

    (@macmanx)

    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.

    Thread Starter breger

    (@breger)

    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.

    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.

Viewing 15 replies - 1 through 15 (of 41 total)
  • The topic ‘Internal Server Error’ is closed to new replies.