Why do I get an Internal Server Error?
From ClarolineDoc
A common problem with some shared hosting providers is the Internal Server Error when creating a new course. As a matter of fact, on Unix servers the chmod 777 results in such an error. In this case, the error message is somewhat:
The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, postmaster@mydomain.tld 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.
There are two solutions to this problem:
- You reset automatically all the rights in your webspace, according to the Control Panel or procedure stated by your hoster.
- You edit manually all the files created by Claroline when creating a new course in order to update the value of file permission. In this case:
- open the file CLARO_FILE_PERMISSION located in claroline/inc/clar_init_global.inc.php, and go to line 72
// Unix file permission access ... define(CLARO_FILE_PERMISSIONS, 0777);
- set the rights to 755 on the directories listed in the help during installation (and NOT to 777...)
- These scripts need writable access by the web server user:
yourfolder/claroline/inc/currentVersion.inc.php yourfolder/claroline/inc/conf/*.conf.php yourfolder/textzone_top.inc.html yourfolder/textzone_right.inc.html yourfolder/courses

