HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Internal Server Error

Login / Search

 [ Join | More ]
 
Posted
Rating:
#47868 (In Topic #10430)
Avatar

ocStaff (admin)

The web server is unable to load a specific URL.

How did this happen?

This is a particularly difficult error to diagnose. An error has occurred but the web server will not show anything more specific.

It could be caused by any of the following:
  1. Incorrect settings in a .htaccess file (e.g. references to settings the web server does not understand)
  2. You have a .htaccess file but your web host has prohibited them.
  3. Excess permissions on the directory a PHP script is in (e.g. putting 'world write' permissions on your 'htdocs'/'public_html'/'www' directory)
  4. Excess write permissions on the script being called up by URL
  5. You have 'mod_security' enabled and are trying to save your configuration, use the WYSIWYG editor, or edit a template.
  6. A fault on the server itself, such as PHP crashing.
  7. You're using 1&1 hosting and have exceeded the memory limit (they have a special version of PHP which cannot have memory limits set by code even though PHP-info claims otherwise, with these error messages if you exceed it instead of the normal memory error messages).

How do I fix it?

First identify the problem:
  • If you're on 1&1 hosting, you need to place php.ini files (1&1 use CGI PHP) that raise the memory limit, as described in the FAQ. You will not be able to raise beyond 30MB but that should be enough.
  • Try to see if you particularly identify with any of the other above causes, by thinking about recent changes you might have made, or any changes the web host has announced.
  • Analyse your web hosting error log for details.
  • (if you're stuck try trial-and-error)

  1. Try removing all lines from your .htaccess file and putting them back one-by-one (by editing in a text editor on your computer or from your web hosting control panel). This should help you narrow in on the line causing the problem.
  2. Discuss this with your web host. It is likely they have unintentionally removed your access to use this file (by changing/removing an 'AllowOverride' setting).
  3. Check for excess permissions and remove them.
  4. Check for excess permissions and remove them.
  5. Our default recommended.htaccess file has a clause in that can disable 'mod_security'. Place the obvious portion of the file into your own .htaccess file.
  6. Contact your web host.

If you are still not able to solve the problem contact your web host.


Last edit: by Chris Graham



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
1 guests and 0 members have just viewed this: None