Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Not a bug
-
Affects Version/s: 3.8.2
-
Fix Version/s: None
-
Component/s: Administration
-
Labels:None
-
Affected Branches:MOODLE_38_STABLE
Description
Hi,
I've just installed Moodle (web) and when I want to access to the website administration /admin/, , I've an error 500 :
Fatal error: Cannot redeclare class lesson in /data/myuser/moodle/mod/lesson/locallib.php on line 989 |
The problem is the folder : _ /home/users/myuser_ is a symlink to /data/myuser .
So, I change the path in the config.php but the error is stil here.
$CFG->dataroot = '/data/myuser/moodledata'; |
//$CFG->dataroot = '/home/users/myuser/moodledata'; |
It's seems the installation has set /data/myuser instead of /home/users/myuser
The moodle version is the last, on debian 8, and the php version is :
PHP 5.6.30-0+deb8u1 (cli) (built: Feb 8 2017 08:50:21) |
Copyright (c) 1997-2016 The PHP Group |
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies |
with XCache v3.2.0, Copyright (c) 2005-2014, by mOo |
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies |
with XCache Optimizer v3.2.0, Copyright (c) 2005-2014, by mOo |
with XCache Cacher v3.2.0, Copyright (c) 2005-2014, by mOo |
with XCache Coverager v3.2.0, Copyright (c) 2005-2014, by mOo |
The opcache is NOT enabled :
[opcache]
|
; Determines if Zend OPCache is enabled |
;opcache.enable=0 |
|
opcache.dups_fix=1 |
; Determines if Zend OPCache is enabled for the CLI version of PHP |
;opcache.enable_cli=0 |
Running :
php admin/cli/purge_caches.php
|
has NO effect !
Any idea please ?
Thanks.