- Posts: 7861
[Solved] Internal Server Error On Moodle Logout
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
14 years 4 months ago #21
by Antonio Durán
Replied by Antonio Durán on topic Re: Internal Server Error On Moodle Logout
it seems your joomla site should not include /edu/, right? (that would be your moodle, i guess)
Please Log in or Create an account to join the conversation.
- Jeff Paul
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 31
14 years 4 months ago #22
by Jeff Paul
Replied by Jeff Paul on topic Re: Internal Server Error On Moodle Logout
The Joomla is on /edu, the moodle is on /moodle, both folders on the same
www.mysite.com
root.
In Moodle the joomla_url is set to www.mysite/edu while in Joomdle, the Moodle url is set as www.mysite.com/moodle . Everything else in the Joomla/Joomdle/Moodle interaction seems to be working perfectly, it's just this one instance when logging out from the Moodle side. One workaround is to knock off the moodle login/out entirely, but I'd prefer not to do that yet.
In Moodle the joomla_url is set to www.mysite/edu while in Joomdle, the Moodle url is set as www.mysite.com/moodle . Everything else in the Joomla/Joomdle/Moodle interaction seems to be working perfectly, it's just this one instance when logging out from the Moodle side. One workaround is to knock off the moodle login/out entirely, but I'd prefer not to do that yet.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7861
14 years 4 months ago #23
by Antonio Durán
Replied by Antonio Durán on topic Re: Internal Server Error On Moodle Logout
re-check the url you end up when it says not found, copy and paste it again in other window to verify it is wrong, until you find the typo.
Please Log in or Create an account to join the conversation.
- Jeff Paul
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 31
14 years 4 months ago #24
by Jeff Paul
Replied by Jeff Paul on topic Re: Internal Server Error On Moodle Logout
I put a dummy.html file in the folder where the getout.php is found. I can retrieve it without problems from FF, Chrome and Safari so I think the path is correct but for some reason it doesn't seem to be interpreted properly from within the code. I'll keep playing.
Please Log in or Create an account to join the conversation.
- Jeff Paul
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 31
14 years 4 months ago #25
by Jeff Paul
Replied by Jeff Paul on topic Re: Internal Server Error On Moodle Logout
No luck with the path syntax typo.
I'm wondering if it might be easier just to somehow force a redirect & refresh to the front Joomla page somewhere in moodle/joomla/auth.php or the getout.php. The logouts are actually working in both sides but it's just not taking me out of the Joomdle wrapper and refreshing the Joomla to show the user as logged out (even though she is.)
It looks like the getout.php tries to perform this with javascript but it doesn't seem to be getting that far, or to getout.php at all after the change I did in auth.php to avoid the internal server error. Could I just put the redirect/refresh somehow in the auth.php instead? If you'd like to take a peek, I can pm you an account and address.
Cheers
JP
I'm wondering if it might be easier just to somehow force a redirect & refresh to the front Joomla page somewhere in moodle/joomla/auth.php or the getout.php. The logouts are actually working in both sides but it's just not taking me out of the Joomdle wrapper and refreshing the Joomla to show the user as logged out (even though she is.)
It looks like the getout.php tries to perform this with javascript but it doesn't seem to be getting that far, or to getout.php at all after the change I did in auth.php to avoid the internal server error. Could I just put the redirect/refresh somehow in the auth.php instead? If you'd like to take a peek, I can pm you an account and address.
Cheers
JP
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7861
14 years 4 months ago #26
by Antonio Durán
Replied by Antonio Durán on topic Re: Internal Server Error On Moodle Logout
Hi,
please send details to antonio@joomdle.com and I will take a look.
please send details to antonio@joomdle.com and I will take a look.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7861
14 years 3 months ago #27
by Antonio Durán
Replied by Antonio Durán on topic Re: Internal Server Error On Moodle Logout
For the record: finally this was caused by an error not related to joomdle: the components/com_joomdle folder had write access for everybody and the server throwed an exception.
Please Log in or Create an account to join the conversation.