[英]Moodle 3.3.2 ERR_TOO_MANY_REDIRECTS
I've installed successfully Moodle version 3.3.2 and at the end, i got an error to connection database.我已经成功安装了 Moodle 3.3.2 版,最后,连接数据库出现错误。 But as i've seen it generated all tables in database moodle.但正如我所见,它在数据库moodle中生成了所有表。 Now, i can't enter, ERR_TOO_MANY_REDIRECTS on loading pages.现在,我无法在加载页面上输入 ERR_TOO_MANY_REDIRECTS。 URL: http://example.com/admin/index.php?cache=1 .网址: http://example.com/admin/index.php?cache=1 。
Additional Server information:附加服务器信息:
OS: Ubuntu 16.04 PHP: 5.6 Mysql: 5.7.20-0ubuntu0.16.04.1操作系统:Ubuntu 16.04 PHP:5.6 Mysql:5.7.20-0ubuntu0.16.04.1
转到您的服务器目录,例如“www=>moodle directory=>admin open index.php 找到以下”redirect("index.php?sessionstarted=1&lang=$CFG->lang");”并评论它我在Moodle 3.7 中的第 712 行。它可能会随着版本保存文件和刷新页面而改变
Search the moodledata directory, enter it and delete the following directories搜索moodledata目录,输入后删除以下目录
在我的情况下,出现此错误是因为磁盘已满,是删除缓存和本地缓存解决了问题
Different approach to solving this problem after checking and making sure that apache and php configuration are ok.检查并确保apache和php配置正常后解决此问题的不同方法。 I the added this line of code to my noodle config file.我将这行代码添加到我的面条配置文件中。 $CFG->sslproxy = true; $CFG->sslproxy = true;
And this resolved the issue.这解决了这个问题。
Delete all the data from moodledata folder (Try this only with the new instance otherwise will loose the data), then try to open yourdomain/moodle in your browser.从moodledata 文件夹中删除所有数据(仅在新实例中尝试此操作,否则会丢失数据),然后尝试在浏览器中打开yourdomain/moodle。 It will work.它会起作用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.