I am running FC6, MySQL 5.0.27, and Moodle1.8.2+
I upgraded and everything was working fine after the upgrade. Then, I started adding and testing new modules.
I added the "audioconference" module. The install had several problems which I tried to resolve (permissions, access to sudo, etc.)
Then I set debugging to ALL - (How can I set this to none?)
Everything seemed to be working fine. Then I went to lunch . . .
Now I cannot login even as admin or guest. I simply get a "Invalid login. Please try again" error message n the browser
HTTPD Log file indicates "Failed login" nothing more
MYSQLD indicates no error
I tried to fix this by:
Dropping the audioconference tables and moving the audio conference folders and removing audioconference references from all config files and DB tables (e.g. mdl_config)
However, I still cannot access.
Any help would be greatly appreciated.
Try first to set dbsessions to 1 in mdl_config with phpmyadmin or command
UPDATE mdl_config SET value=1 WHERE name='dbsessions'
Try these sql commands for different choices of debugging
NONE:
UPDATE mdl_config SET value = '' WHERE name = 'debug';
MINIMAL:
UPDATE mdl_config SET value = '5' WHERE name = 'debug';
NORMAL:
UPDATE mdl_config SET value = '15' WHERE name = 'debug';
ALL:
UPDATE mdl_config SET value = '2047' WHERE name = 'debug';
or edit mdl_config and value of debug with phpmyadmin
I've seen this recently ... in my case the culprit was Moodle Networking, the value for mnet_localhost_id in the config table got updated.
I recently checked in a fix to stop this getting updated wrongly.
Can you check on your site, in the mnet_hosts table ... do you have duplicate entries there? If so that's the problem.
You can fix it quickly with:
$CFG->mnet_localhost_id = 1; // in your config.php
I recently checked in a fix to stop this getting updated wrongly.
Can you check on your site, in the mnet_hosts table ... do you have duplicate entries there? If so that's the problem.
You can fix it quickly with:
$CFG->mnet_localhost_id = 1; // in your config.php
Thanks Martin,
Since I am working to get ready for the Fall term, I took a backup of the DB and replaced the existing one.
My culprit is the audioconference module. I haev been working on it for days trying to get it to work. During the installation process several key files are modified, inlcuding modules.php and module.php. Somehow these files were corrupted from applying and removing patches with the result that the system would not allow anyone in.
I have since duplicated the problem (but had a backup ready).
I will try to restore the original files and try again.
Thanks again.
bHg
Since I am working to get ready for the Fall term, I took a backup of the DB and replaced the existing one.
My culprit is the audioconference module. I haev been working on it for days trying to get it to work. During the installation process several key files are modified, inlcuding modules.php and module.php. Somehow these files were corrupted from applying and removing patches with the result that the system would not allow anyone in.
I have since duplicated the problem (but had a backup ready).
I will try to restore the original files and try again.
Thanks again.
bHg
Hi,
could this bug eliminated by this fix for 1.9:
http://tracker.moodle.org/browse/MDL-10828
I get lots of entries in the mnet_host table in Version 1.8
With
$CFG->mnet_localhost_id = 1; // in your config.php
there is no problem.
But maybe MDL-10828 could even be a win for 1.8? Or am i wrong
*schorsch*
could this bug eliminated by this fix for 1.9:
http://tracker.moodle.org/browse/MDL-10828
I get lots of entries in the mnet_host table in Version 1.8
With
$CFG->mnet_localhost_id = 1; // in your config.php
there is no problem.
But maybe MDL-10828 could even be a win for 1.8? Or am i wrong
*schorsch*