Internal Server Error

Permalink
We have been using C5 for a while and have had this error which we just can't fix.

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

We have duplicated the site and put it on a new hosting space, but still get this error when ever we try to add a new page. If we delete the page the site goes back to normal.

What could the problem be and where should i be looking to try and fix this?

simonknibbs
View Replies:
mesuva replied on at Permalink Reply
mesuva
I would look for two thing:

- Is there something wrong with your .htaccess file or a php.ini file? If you have either, perhaps try renaming/deleting theme to see if it makes a difference.

- See if you can find an error log for your site, if you have cPanel look for the log in there, sometimes an error log can be found in higher up folders when you FTP in. If you can't find it, perhaps ask your host for where you can find this and if they can tell you what the error is. It should be logged _somewhere_
simonknibbs replied on at Permalink Reply
simonknibbs
Thanks for your response.

I have deleted .htaccess file and it makes no difference. I can't find the php.ini file

We are on a testing space and can't see any logs!
mesuva replied on at Permalink Reply
mesuva
There might not be a php.ini file.

There are several things this could be: mucked up permissions, misconfiguration of the server itself, missing or incomplete files (although I think I'd expect to see more of a php error on the page).

Regardless of it being a testing space, there must be a log file somewhere for errors, not much more can be suggested otherwise. Check permissions first.
simonknibbs replied on at Permalink Reply
simonknibbs
I may have got nearer to the problem. I have uninstalled mega menu and the site works fine - I can add pages as before, but once I reinstall megamenu the problem arrises again.
ProjbyP replied on at Permalink Reply
ProjbyP
I have been experiencing the same types of problems with one of my sites and it is pretty frustrating. The error usually occurs when I try to make a change and the site "hangs up" without completing the change. Any search on 500 Server Error indicates something is wrong, but exactly what cannot be identified.

The latest occurred yesterday when I was trying to add a stack to a page. My Internet connection was glitchy and I was unable to complete the change. When I navigated away and came back ... the error occurred.

I was able to fix it and recommend the following steps:

1 - If you can go into the page Versions and restore to a previous version, you may be able to clear the error. Be sure to delete the version that was causing the problem.

2 - if that doesn't work, remove all the cached files in the root directory under Files. There is a cache folder (mine had 1000+ cached files). I deleted them all (except the index.php file) and the site errors were resolved.

3 - if you couldn't update your version, in Step 1 - try it again.

Do NOT delete the problematic page. I tried this but once it was deleted, the versioning was gone so had to totally replace the page.

For me, when not in edit mode the site still worked. Did you test that?

Hope this helps!