Jose M
Jose M

Reputation: 43

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

Upvotes: 4

Views: 15628

Answers (5)

gnuwings
gnuwings

Reputation: 950

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.

Upvotes: -2

osagiesammy
osagiesammy

Reputation: 61

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.

Upvotes: 6

Muhammad Suleman
Muhammad Suleman

Reputation: 21

go on your server directory such as "www=>moodle directory=>admin open index.php find following "redirect("index.php?sessionstarted=1&lang=$CFG->lang");" and comment it i find this on line 712 in moodle 3.7. it might be changed with version save file and refresh page

Upvotes: 2

user3224142
user3224142

Reputation: 61

in my case, this error come out because of the disk was full and yes deleting cache and localcache solve the problem

Upvotes: 0

Vladimir Salguero
Vladimir Salguero

Reputation: 5947

Search the moodledata directory, enter it and delete the following directories

  • cache
  • localcache

Upvotes: 2

Related Questions