Moodle中moodledata的路径是
/nas/wp/www/cluster-40926/securityorg/test_moodle.
这是代码
$dir = dirname(__FILE__);
echo "Full path to this dir: " . $dir;
Output:
Full path to this dir: /nas/wp/www/cluster-40926/securityorg/test_moodle
但这会产生错误"Fatal error: $CFG->dataroot is not configured properly, directory does not exist or is not accessible! Exiting"
cluster-40926 文件夹不存在,所以
我想如果我可以从路径中删除 cluster-40926 ,问题就会得到解决。
请帮忙,提前致谢
我找不到真正的答案,我再次安装新版本的moodle,问题解决了。如果有人遇到此问题,请重新安装moodle。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)