检测到编码错误,必须由程序员修复:文件存储路径不存在,无法创建
Coding error detected, it must be fixed by a programmer: File store path does not exist and can not be created
我在 Moodle 中安装了 auth_emailadmin_moodle 插件。安装后,我清除了缓存。然后出现白页。调试后如下图
Coding error detected, it must be fixed by a programmer: File store path does not exist and can not be created.
Blockquote
请帮帮我
除了存储 web 内容的位置,Moodle 还需要一个 web 服务器可写的数据目录。
查看 'config.php' 文件,该文件应位于 Moodle 安装的根 Web 目录中。
您应该看到一行如下所示:
$CFG->dataroot = '/home/moodle/moodledata'
您的文件路径可能有所不同 - 这正是我存储我的文件的地方。确保列出的任何目录都存在,并且可以由运行您的网络服务器的帐户写入。
您可以在此处阅读有关此目录的更多信息:https://docs.moodle.org/32/en/Installing_Moodle#Create_the_.28moodledata.29_data_directory
我不是 100% 确定这是解决您的问题的方法,但这是一个很好的起点。
祝你好运,Moodle 玩得开心!
我在升级 moodle 时遇到了同样的错误,并且断电了。
做一件事来解决这个错误,从 moodledata 文件夹中删除 'cache' 文件夹并创建一个名为 'cache' 的新文件夹并点击刷新。
加载后,在浏览器上点击'localhost/admin/purgecaches.php',然后点击"Purge all caches"按钮。
干杯
我在 Moodle 中安装了 auth_emailadmin_moodle 插件。安装后,我清除了缓存。然后出现白页。调试后如下图
Coding error detected, it must be fixed by a programmer: File store path does not exist and can not be created. Blockquote
请帮帮我
除了存储 web 内容的位置,Moodle 还需要一个 web 服务器可写的数据目录。
查看 'config.php' 文件,该文件应位于 Moodle 安装的根 Web 目录中。
您应该看到一行如下所示:
$CFG->dataroot = '/home/moodle/moodledata'
您的文件路径可能有所不同 - 这正是我存储我的文件的地方。确保列出的任何目录都存在,并且可以由运行您的网络服务器的帐户写入。
您可以在此处阅读有关此目录的更多信息:https://docs.moodle.org/32/en/Installing_Moodle#Create_the_.28moodledata.29_data_directory
我不是 100% 确定这是解决您的问题的方法,但这是一个很好的起点。
祝你好运,Moodle 玩得开心!
我在升级 moodle 时遇到了同样的错误,并且断电了。 做一件事来解决这个错误,从 moodledata 文件夹中删除 'cache' 文件夹并创建一个名为 'cache' 的新文件夹并点击刷新。
加载后,在浏览器上点击'localhost/admin/purgecaches.php',然后点击"Purge all caches"按钮。
干杯