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

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.

分享到:
评论

相关推荐

    Redirecting Standard Output to a CEdit Control

    Environment: The demo was built with Microsoft Developer Studio 97 (Visual C++ 5.0) and has been tested with Windows 95, Windows 98 and Windows NT 4.0. Applications sometimes need to create a child ...

    VCS installation

    This document serves as an installation guide for VCS on Linux version 5.1, providing detailed steps and guidelines for deploying the software in accordance with the license agreement. #### Key ...

    Login Control

    11. Do not forget to provide an event handler for the Logon so the Postback can handle the user authentication properly. 12. All rights reserved to the control author - aspnet100@yahoo....

    Redirecting Standard Output to a CEdit Control (27KB)

    标题 "Redirecting Standard Output to a CEdit Control" 涉及的是在Microsoft Visual C++环境下,将程序的标准输出(如printf或cout)重定向到一个CEdit控件中的技术。这个话题是关于Windows GUI编程的一个高级主题...

    The Art of Assembly Language Programming

    Some Final Comments on the MOV Instructions &lt;br&gt;4.9 Laboratory Exercises 4.9.1 The UCR Standard Library for 80x86 Assembly Language Programmers 4.9.2 Editing Your Source Files 4.9.3 The ...

    Microsoft Codeview and Utilities User's Guide

    15.2.11 Setting the Library-Page Size Chapter 16 NMAKE 16.1 Invoking NMAKE 16.1.1 Using a Command Line to Invoke NMAKE 16.1.2 Using a Command File to Invoke NMAKE 16.2 NMAKE Options 16.3 Description ...

    synergy跨平台公用鼠标

    Redirecting the mouse and keyboard is as simple as moving the mouse off the edge of your screen Synergy also merges the clipboards of all the systems into one allowing cut and paste between systems ...

    APIHookingComplete

    In order to successfully compile the code examples provided, you need to run the Makefile that comes with the Detours library and have it build the library files and everything else. Instructions for...

    Python Cookbook, 2nd Edition

    Avoiding the "Singleton" Design Pattern with the Borg Idiom Recipe 6.17. Implementing the Null Object Design Pattern Recipe 6.18. Automatically Initializing Instance Variables from _ _init_ _ ...

    Manning.Spring.in.Action.4th.Edition.2014.11.epub

    7.5.1. Redirecting with URL templates 7.5.2. Working with flash attributes 7.6. Summary Chapter 8. Working with Spring Web Flow 8.1. Configuring Web Flow in Spring 8.1.1. Wiring a flow executor 8.1.2....

    sogou_toolchain.tar.gz

    /home/rootroot/sogou/toolchain/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include &lt;sys/poll.h&gt; to &lt;poll.h&gt; [-Wcpp] #warning redirecting incorrect #include &lt;sys/poll.h&gt; to ^ In...

    .htaccess

    .htaccess isn't difficult to use and is really just made up of a few simple instructions in a text file. 从本指南中,你将可以学习到有关.htaccess文件及其功能的知识,并用以优化你的网站。尽管....

    Struts2 2.3.16_doc

    It is strongly recommended that if you are redirecting to another action, you use this result rather than the standard redirect result. See examples below for an example of how request parameters ...

    Unix shell programming in 24 hours.pdf

    ** The shell is a command-line interface for interacting with the operating system. It interpreprets user commands and executes them. Shells provide a way to manage files, run programs, and automate ...

    Practical Mod Perl

    Installing mod_perl with the CPAN.pm Interactive Shell Section 3.8. Installing mod_perl on Multiple Machines Section 3.9. Installation into a Nonstandard Directory Section 3.10. How ...

    Shell Script

    - Similar to `&gt;`, but appends the output to the end of the file rather than overwriting it. - Example: `$ echo "Hello" &gt;&gt; file.txt` appends "Hello" to `file.txt`. 3. **Redirecting Standard Input (`...

    [Mastering.Node.js(2013.11) 精通Node.js

    Redirecting requests 114 Location 115 Implementing resource caching 116Table of Contents [ iv ] Handling file uploads 118 Putting it all together 120 Summary 121 Chapter 5: Managing Many Simultaneous ...

    nrComm.Lib.Pro.v9.27.FULL.SOURCE

    The nrComm Lib includes some components, classes and routines useful for work with serial port devices, data and voice modems, barcode scanners and speech conversion and other communication tasks....

Global site tag (gtag.js) - Google Analytics