I am trying to install moodle on my laptop (windows 7) local host. I have started installing and got past the part where it asks me to put in a username, password, email address, etc and then it has stuck on a blank screen that at the top in the web address bar says http://localhost/user/editadvanced.php What do I do to get it to unstick? And why is it sticking here? Please help me to move past this point. Thank you so much!
Thanks for your direct message Tanis, but as said, I prefer to respond in public on the forums, so I came here to give your post a "push". I have occasionally installed Moodle on Windows 7 local host and this has occasionally happened to me - the blank screen on this page. I don't know why but if I change the address in the URL to the front page of my Moodle or to another one such as /course/index.php it does sometimes work. So try that first. If you are getting everything blank, then post back and hopefully someone with more understanding of installing Moodle will be able to advise.
Tannis
Yours was a great post for me - I had the exact same problem on the exact same day. I had uninstalled and reinstalling Moodle 2.6 several times with same results - stuck in redirect loop that ultimately timed out.
Mary's url suggestion was very helpful. I my case in providing a diagnostic message.The message was something to the effect that php's mysqli (notice the i at the end) dll was either not configured properly to Moodle or was not being reached. The dll in question is definitely there and works for me in non-Moodle contexts, and I made sure the directory path to ext was explicit as recommended.
Didn't find anything so far online as to what to do about it other than to reinstall php. I don't want to do that as a first resort since I know php mysqli is present.
To the community - Any help or suggestions as to what to try would be much appreciated.
Guillermo
Its version 2.6
Tannis
Some of the moodle formum emails that passed by me today, if I understood them correctly, suggest that one needs php 5.5 to get 2.5+ and 2.6 to work properly.
I think what I am going to is backout the 2.6 version and try to install version 2.4 and see how that goes.
A sequel to my findings yesterday - in Firefox I was getting a database connection error to mysqli. However, with Internet Explorer I don't get such a message. and course/index.php launches. But it launches in a primitive way with virtually no graphics, and one couldn't go beyond the page.
Guillermo
I can't speak for what Tannis used, but as for what I used
First
$ git clone -b MOODLE_26_STABLE git://git.moodle.org/moodle.git
Since that didn't work I used the Windows package
Moodle 2.6.1+
|
Same result
Guillermo
Thank you for your suggestions. I am sure it would have done the trick. Unfortunately, I am on a windows platform.
So I decided to go with installing an earlier version, and I am glad to say that 2.4 installed for me without a hitch.
I got the moodle from $ git clone -b MOODLE_24_STABLE git://git.moodle.org/moodle.git
Since Nov 14 i have been facing this error in w7 local installation. It fail at very last leg (moodle configuration) with a blank page with this url:
localhost/moodle/user/editadvanced.php
This had happened with different types of software:
xampp 1.8 + moodle 2.7
xampp 1.8 + moodle 2.6
moodle 2.7. 3 full package
If this is a php compatibility problem it should not fail in full package !
http://localhost/moodle/user/editadvanced.php
i am more thinking along the lines that it is bad apache, and php settings with xamp and/or wamp, and possibly internet browser as well. most software packages from moodle, joomla, to shopping cart software, to forum software. required specific settings and/or certain things installed. that the default settings of xamp or wamp, did not have. or was misconfigured some how.
exactly what moodle needs. not a clue. to many software packages getting combined in xamp and wamp. and then file versions for various windows installs.
Re: Installation sticking at a certain spot & freezes? Help please.
This trick worked for me:
Assim:
Assim: Open up moodle/admin/index.php in a text editor, find and comment out the following,
redirect("index.php?sessionstarted=1&lang=$CFG->lang");
So that it looks like
//redirect("index.php?sessionstarted=1&lang=$CFG->lang");
Resolução: https://moodle.org/mod/forum/discuss.php?d=245677
from: moodle.org/mod/forum/discuss.php?d=245677
Resolução: https://moodle.org/mod/forum/discuss.php?d=245677
Resolução: https://moodle.org/mod/forum/discuss.php?d=245677
Resolução: https://moodle.org/mod/forum/discuss.php?d=245677
glad ya got it up and going.... i am wondering if file vs database for session might be an issue here? moodle trying to create a file, but not able to write to the folder due to permissions?
i had issue of moodle not accepting password, or less i unmasked the password field, a couple days later retried, when i went back through install. and all was fine, and blame was put on browser...
i am just wondering if there is more to it... in how moodle connects to php/apache for session creation. and if a certain setting or like is messed up, or a bad version of a file that is causing problems?
It might be completely irrelevant but this is from the installation instructions.
From
https://docs.moodle.org/28/en/Installing_Moodle#Requirements
If you are installing Moodle in a Windows server, note that from php5.5 onwards, you will also need to have the Visual C++ Redistributable for Visual Studio 2012 installed from: http://www.microsoft.com/en-us/download/details.aspx?id=30679 Visual C++] ( x86 or x64)
If xammp or wamp are difficult you could always use ubuntu in virtual box.
Go to …/server/moodledata/.
You'll find (among others) two folders: cache and sessions.
Delete the contents of these two folders. (I didn't have to restart the browser, a simple refresh worked for me).
I'm just adding this answer to this old thread because this problem still occurs [I'm using Moodle 3.1 (the latest version at the time of writing this) on Windows 7].