`
zhangzuanqian
  • 浏览: 269913 次
  • 来自: ...
社区版块
存档分类
最新评论

The page isn't redirecting properly with Fresh installation

 
阅读更多

More precisely, I installed the Windows MOODLE_25_STABLE Distribution, Moodle 2.5.2+ (using XAMPP v1.7.4).

I got the Error 310 (ERR_TOO_MANY_REDIRECTS), right upon install, after registering the Administrator user, and before setting the webpage preferences.

@Joshua Ellis, I tried your solution but it didn't work for me, at least not verbatim, but I got inspired wink

The browser debugger was most useful however: <F12>, Network tab, I could see the page being redirected back and forth, and could see which page was being redirected: index.php?sessionstarted=1&lang=1

In the file C:\Program Files\Moodle\server\moodle\admin\index.php

I made a search and commented out:

//redirect("index.php?sessionstarted=1&lang=$CFG->lang");

It probably breaks something, but for the time being, it works.

PS: if you check out (using git), it should not overwrite your local changes. At worst you'll get a conflicted state which you'll need to address.

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics