简体   繁体   中英

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. But as i've seen it generated all tables in database moodle. Now, i can't enter, ERR_TOO_MANY_REDIRECTS on loading pages. URL: 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

转到您的服务器目录,例如“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

  • cache
  • localcache

在我的情况下,出现此错误是因为磁盘已满,是删除缓存和本地缓存解决了问题

Different approach to solving this problem after checking and making sure that apache and php configuration are ok. I the added this line of code to my noodle config file. $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. It will work.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM