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:
Incorrect settings in a .htaccess file (e.g. references to settings the web server does not understand)
You have a .htaccess file but your web host has prohibited them.
Excess permissions on the directory a PHP script is in (e.g. putting 'world write' permissions on your 'htdocs'/'public_html'/'www' directory)
Excess write permissions on the script being called up by URL
You have 'mod_security' enabled and are trying to save your configuration, use the WYSIWYG editor, or edit a template.
A fault on the server itself, such as PHP crashing.
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)
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.
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).
Check for excess permissions and remove them.
Check for excess permissions and remove them.
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.
Contact your web host.
If you are still not able to solve the problem contact your web host.
If not, please let us know how we can do better (please make suggestions that are economically viable and scalable, not just requests to do more for free).
If so, please let others know about ocPortal whenever you see the opportunity.
This information has not loaded yet. It will be generated in the background, please come back later.
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.
1 guests and 0 members have just viewed this: None