I recently installed 1.4.4 for a small college, showed them how to do and then let them loose on it. they mucked around with it and set it for manual enrolment. they rang back that night saying they were unable to login under any of the usernames they had . I tried it as admin and the login page just lead to servername/moodle/login/index.html
which appeared as a totally blank page.
So I did a fresh install of 1.4.5 and within 12 hours exactly same result. We are using an Apache server and MySQL as a db. My own moodle that I use for teaching has never done anything like this and I am fishing around in the db for what is causing this new installation to foul up.
Any clues?
thanks,
dedide
thanks for the feedback Howard.
the error log didn't say anything except that users couldn't login
I did a new install somewhere else and then I uploaded the old database to the new site which had been working just fine. As soon as I ran the sql script, the site went down again, so I am assuming that it is something in the database rather than the scripts. It is proving very frustrating to try to track this one down.
Any suggestions would be very very welcome. Any further info needed?
thanks
thanks for the persistance Howard
here is the log
[09-May-2005 22:27:35] [client xxx.xxx.x.252] http://onlinebha.com/moodle Failed Login: madmin Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; MSN 6.1; MSNbMSFT; MSNmen-au; MSNc00; v5m)
[09-May-2005 23:13:25] [client xxx.xxx.x.252] http://onlinebha.com/moodle Failed Login: cto Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; MSN 6.1; MSNbMSFT; MSNmen-au; MSNc00; MSNc00)
I did the xxx in the above for the client's privacy
thanks
Hi Martin and Howard,
the blank page is http://onlinebha.com/moodle/login/index.php
I put in a few echo statements into this file to see how far it parsed as shown below
if ($frm) {
$frm->username = trim(moodle_strtolower($frm->username));
echo ("jelloa");
if (($frm->username == 'guest') and empty($CFG->guestloginbutton)) {
$user = false; /// Can't log in as guest if guest button is disabled
$frm = false;
echo ("jellob");
} else {
$user = authenticate_user_login($frm->username, $frm->password);
echo ("jelloc");
}
and it never gets to jelloc
I put the DirectoryIndex line in a .htaccess file in the main moodle directory but that didn't change the situation
once again thanks for any light that can be shed on this.
PS I am promoting Moodle in an RTo forum next week (against commercial offerings)
and take a look at your apache error_log
thanks for weighing in on this Alan.
I looked at the thread you referred to but with my embryonic php knowledge, I couldn't really follow the argument.
Also I located my Apache error log and it is empty. The login page is not throwing an external error, it is aborting at a certain point and not passing through to the "next" page.
You need to add an extra '}' that is missing at the end of the file enrol/enrol.class.php on line 352 so that it looks like this:
} /// end of class
}
?>
I just tried this and it gave me a parse error of unexpected } in file
Pam
I understand it's not the correct place to add the missing }. Anyway you'll find attached my working enroll.class.php.
I go see the thread...
I just updated from cvs and all is working fine . Many thanks, Penny! Attached the right
enrol/enrol.class.php file.
Robert
thanks folks
Unfortunately it didn't fix the problem I am having. As noted above, my login.php is aborting. I don't think it even gets to enrol.
this is driving me insane