-
Bug
-
Resolution: Won't Fix
-
Major
-
None
-
1.6.1
-
None
-
Debian GNU/Linux
-
MySQL
-
MOODLE_16_STABLE
The file config.php contains the parameters $CFG->dirroot and $CFG->dataroot. These parameters do not accept paths containing symbolic links, instead forcing me to enter the canonical path. My site is hosted at a webhost (Dreamhost) which stores users' home directories on NFS file servers, and /home/username is a symbolic link to /home/.filer/username. I'm forced to enter the name of the filer in config.php, invalidating the configuration whenever the provider moves my directory to another filer.
This error occurs whenever I try to access the administration page:
Please fix your settings in config.php:
You have:
$CFG->dirroot = "/home/username/aiims.elearning.net.in";
but it should be:
$CFG->dirroot = "/home/.filer/username/aiims.elearning.net.in";
There should be no reason for moodle to care that a component of its installation path is a symbolic link.
- is duplicated by
-
MDL-10623 Support for symlinked Moodle folder
- Closed