not access to a new courses
Hi:
I have this problem. I'm using a shared hosting Powweb, everythings works fine except that if I create a course I can not access it when I click the course name. In Internet Explorer I receive Error 500:
The server encountered an unexpected condition which prevented it from fulfilling the request.
The script had an error or it did not produce any output. If there was an error, you should be able to see it in the error log.
I changed the permissions to the course folder, even with 777 it does not work. I also changed the index.php of the course to 644 and the error continues. Any solutions to this issue?
A detail is that if I open the course in the "Course List" at the Administration tab it opens correctly but if I try to open it at the Course tab I receive the Error 500.
thank's a lot
Raquel
- login of registreer om te reageren

i solved this problem
Hello
First, I apologize
Because English is not my main language (i am persian) and I may be wrong sentences.
I got this problem solved
for example if your course name is les1 , after create cource you have folder with name les1 in courses directory
now set permission of this directory (les1 directory) to 755 and set permission of index.php (les1\index.php) to 644.
If it's work for you.tell me to
I'll give you a code that automatically solve this problem.
thx.
that works!
hello, that works fine for me, please can you give me the code to solve this automatically?
thx!
The same problem here - send code please
Hi
I've got the same problem here with the courses. Please send me the "autofix" for that?
Thanks :)
Solution
Hello,
I thought of sharing the solution with you, because Dokeos support are only aware of their product nd not servers. So instead of solving it manually, everytime you create a course, try this:
Dokeos works fine on a local installation and not Shared or VPS hosting, so I checked the Apache modules active on the localhost, and found that the PHP handler module is CGI, while on most of the Shared and VPS hosting, it's either FastCGI(FCGI) or DSO.
It works as charm with CGI and SuPHP, so change your PHP handler to either CGI or SuPHP.
But please, if you have existing installations of other platforms, such as WP, Joomla, .etc, try SuPHP, as it's faster, but you might have problems with permissions, as broken image links and so on, if this is the case, go for the CGI, that's doesn't have any issue with any platform whatsoever.
Hope this helps, and feel free to seek further information.
Goodluck
500 Internal Server Error
The solution is within the