After success installing moodle 2.9 on my Debian 8.1 server, I login using admin in my moodle web.
But when I opened some page with URL links parameters, it will end with blank page such as :
- /admin/settings.php?section=debugging
- /admin/settings.php?section=themesettings
- http://192.168.11.231/admin/settings.php?section=managemodulescommon
I enable debug on moodle in config.php and just return with :
"Fatal error: Cannot redeclare class lesson in /var/www/moodle/mod/lesson/locallib.php on line 983"
Even I use anothers web server(Apache, nginx, lighttpd) it still returns with same error.
Any leads or informations would be a great help to me .
Thanks
Hi Alief Arlingga ,
are you installed any local plugin or your new theme.
please check the class lesson is installed any theme settings or local plugin.
because this type of error while we create already exist class name.
so please check the "class lesson" how many times appeared.
Please use Adobe dream weaver or eclipse any one advanced editor.
I just did an upgrade to the latest stable 2.9.1 from 2.6.* and I am seeing the same errors with blank pages in many of the pages under /admin
Fatal error: Cannot redeclare class lesson in /pathto/moodle/mod/lesson/locallib.php on line 983
Guys, sorry for the very very late reply from me. I didn't watch my email properly.
I solve the problem myself by reinstalling everything including the OS.
Actually after my problem I tried to setup moodle on Linux Mint 17, and it worked like a magic.
So then I reinstall my Debian with the same version, and Nginx with the same version.
Here's my configuration for moodle in Nginx :
and for php.ini in PHP5-FPM i set cgi.fix_pathinfo=0.
And it worked too.
Anyway thanks everyone,