• Resolved phpika

    (@phpika)


    Hello,

    Recently against my wishes my host upgraded to a version of PHP 5.x
    This broke some things on my website and recently I managed to get them to downgrade back to PHP 4.x

    However doing this seems to have broke part of my blog. I can still read it fine, but when I try to go to the admin panel to login I get a 500 Internal Server Error page come up. I have absolutely no idea why it does this but I can only assume it’s due to the PHP upgrade/downgrade because it all worked fine before. My host says they have no idea why this is happening and are not helping. This is beyond my knowledge of running a website.

    Could anyone please help? It’s quite annoying as through no fault of my own I now can’t update my blog and I’m losing traffic. Has this happened before to anyone? How do I fix this?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter phpika

    (@phpika)

    Sorry to double post but I can’t find a way to edit this into my original post. To add some more details I have researched this problem but to no avail. The most common solution was that the problem was something to do with the .htaccess file.

    I made a backup of this file and deleted it to test it out but nothing changed so I don’t think that’s the problem.

    look in your error logs. what do they say?

    Thread Starter phpika

    (@phpika)

    The error log says:

    [27-Apr-2009 23:33:07] PHP Warning:  main(ABSPATHwp-includes/compat.php): failed to open stream: No such file or directory in /home/pikachu/public_html/wp/wp-settings.php on line 246
    [27-Apr-2009 23:33:07] PHP Fatal error:  main(): Failed opening required 'ABSPATHwp-includes/compat.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/pikachu/public_html/wp/wp-settings.php on line 246
    [29-Apr-2009 11:14:08] PHP Warning:  main(ABSPATHwp-includes/compat.php): failed to open stream: No such file or directory in /home/pikachu/public_html/wp/wp-settings.php on line 246
    [29-Apr-2009 11:14:08] PHP Fatal error:  main(): Failed opening required 'ABSPATHwp-includes/compat.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/pikachu/public_html/wp/wp-settings.php on line 246
    Thread Starter phpika

    (@phpika)

    Hello,

    Sorry to bump the topic but does anyone have any clue why this is happening? I don’t think the error log is of any help.

    Thanks

    I am having the same problem with a brand new install… This is really pissing me off and I am wasting too much time on this.

    Come on WordPress! Many people are having this issue! What is the fix??

    I have 2 other blogs on my server both running the same version of wordpress and both are working fine. This fresh install will not work for me.. I am having the same “line 246” error related to the compat.php file. It says the file is missing but it is there and I really don’t feel like messing with it anymore. Is there a fix or what??

    My problem is related to htaccess… I am working on it now.. Not sure if every one else’s problem is the same..

    I removed my htaccess file and everything worked fine…I need my htaccess though for the main site so I am working that out now..

    webdevoman.com

    Thread Starter phpika

    (@phpika)

    For anyone who ever has this problem and comes across this topic, I finally managed to fix it. My problem was not with the .htaccess file as that was one of the first things I tried.

    I fixed it by simply backing up my files and database tables before deleting them all and dropping them respectively. I had to install WordPress again and then delete the newly created database tables and import my old database backup.

    All except the HTML block widgets was recovered.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘500 Internal Server Error after changing PHP version’ is closed to new replies.