- Posts: 4
Logout not redirecting correctly
- AVENA
- Topic Author
- Offline
- New Member
-
I've gotten the entire thing set up, but for some reason when a user is logged into the Joomla! frontend and goes to log out this error appears:
Deprecated: Function session_unregister() is deprecated in /home/avena/public_html/WildBrilliancePress/WB_Moodle/auth/joomdle/land_logout.php on line 25
Deprecated: Function session_unregister() is deprecated in /home/avena/public_html/WildBrilliancePress/WB_Moodle/auth/joomdle/land_logout.php on line 26
Warning: Cannot modify header information - headers already sent by (output started at /home/avena/public_html/WildBrilliancePress/WB_Moodle/auth/joomdle/land_logout.php:25) in /home/avena/public_html/WildBrilliancePress/WB_Moodle/auth/joomdle/land_logout.php on line 28
Skip to main content<- This is hidden until "skip" is searched for in the browser's "find" function
This page should automatically redirect. If nothing is happening please use the continue link below.Error output, so disabling automatic redirect.
(Continue)
And, of course, no redirection occurs. Clicking the "Continue" link does go to the main page. I've checked and the auth_joomdle package is installed, and I have all green checks in the System Check.
Does anyone have any idea how to remedy this? Thank you!
EDIT: I thought I'd also mention what I'm running -
Joomdle 0.82
Joomla! 2.5.7
Moodle 2.3.1
PHP Version 5.3.15
Please Log in or Create an account to join the conversation.
- AVENA
- Topic Author
- Offline
- New Member
-
- Posts: 4
Replace this code in land_logout.php on lines 25 and 26:
with this code:
It works for me, as far as I can tell (although I have no knowledge of php.) If this is wrong or creates another problem I'm not yet aware of, please let me know.
I hope this will help someone else with the same problem!
EDIT:
OR... you can just delete this entire block of code!
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
- Posts: 7902
This is already fixed for next release, removing it altoguether like you say.
Please Log in or Create an account to join the conversation.
- Anthony Chung
- Offline
- New Member
-
- Posts: 11
Wonder when the new release will come out?
Please Log in or Create an account to join the conversation.
- Chris
-
- Offline
- Moderator
-
Please Log in or Create an account to join the conversation.