500 Internal Server Error after editing index.php file
Situation: my site went down, giving 500 Internal Server Error, but I still have access to my WP Admin/Dashboard page.
This occurred right after I added some code to the index.php file. Usually, when I mess up with code editing, my admin panel goes down, so I just access the files through FTP and remove the code and all is well.
This time the WP admin panel stayed up, but the website went down. (www.twific.net) So I removed the code I had entered and updated file. No go…website still down.
So then I restored my theme that I had just saved to the server shortly before the website went down. Still getting error on website. So the files are back to what they were before I changed any coding, yet website still down. I’m utterly perplexed.
So after searching this forum, I inactivated all my plugins. Still nothing. I’m using the 2010 Weaver theme but i’ve made lots of customizations on it. i changed back to the basic 2010 Weaver and also the twenty ten theme, and still getting error.
Then I looked for the .htaccess file as someone in a post suggested the coding in there might be messed up. Can’t find that file, and yes, I do have FTP set to see ALL files.
Then I read that it might be that “the permissions’ are not right. So i followed instructions to reset the permissions for all files to what they should be via FTP. I did that….still getting same error on website.
I tried to find the error log from my server as somebody suggested (to find out the exact file that is causing the problem) but I can’t find it anywhere in the cpanel. Will have to wait until monday to talk to my server’s help desk.
Please help! Any suggestions? I’ve tried everything I’ve found here in the forum and by googling it.
- The topic ‘500 Internal Server Error after editing index.php file’ is closed to new replies.