- Posts: 22
R0.25 No Longer Supported
[Solved] SHelp! Locked out of Moodle
- Jonathan
- Topic Author
- Offline
- Junior Member
-
Less
More
15 years 8 months ago - 15 years 8 months ago #1
by Jonathan
[Solved] SHelp! Locked out of Moodle was created by Jonathan
I set up Alternate Login URL in Moodle before making sure the SSO was working. Now when I try to get to Moodle admin, I am sent back to Joomla login.
Is there any way to fix this? I've been trying to open the moodle config.php to see if there is an alternate logging setting in there, but can't chmod the file for some reason. Even su chmod 777 config.php is not working.
Any ideas? Thanks.
Is there any way to fix this? I've been trying to open the moodle config.php to see if there is an alternate logging setting in there, but can't chmod the file for some reason. Even su chmod 777 config.php is not working.
Any ideas? Thanks.
Last edit: 15 years 8 months ago by Antonio Durán.
The topic has been locked.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7926
15 years 8 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic Re: Help! Locked out of Moodle
You can do it in the file if you can write to it.
You can also do it directly in the database, changing the value in the mdl_config table, for the row with name=alternateloginurl
You can also do it directly in the database, changing the value in the mdl_config table, for the row with name=alternateloginurl
The topic has been locked.
- Jonathan
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 22
15 years 8 months ago #3
by Jonathan
Replied by Jonathan on topic Re: Help! Locked out of Moodle
Thanks. though i can't seem to change permissions - or open - the config.php file, I can copy it and rename it. Which is what I did. I added the following line:
$CFG->alternateloginurl = '';
Thanks.
$CFG->alternateloginurl = '';
Thanks.
The topic has been locked.