- Posts: 253
How To / General
Use logout with redirect problems
- saman سامان
-
Topic Author
- Offline
- Elite Member
-
- samansamani2[at]yahoo.com
Less
More
8 years 9 months ago - 8 years 9 months ago #1
by saman سامان
Use logout with redirect problems was created by saman سامان
Last edit: 8 years 9 months ago by saman سامان.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7941
8 years 9 months ago - 8 years 9 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic Use logout with redirect problems
Hi.
1. I don't know why this happens. Try deleting Moodle cache and reload.
2. I tried locally and I see the problem with a different url:
*******.com//components/com_joomdle/views/wrapper/getout_logout.php
To fix it, edit file: components/com_joomdle/controller.php
Almost at the end of the file, change:
By:
1. I don't know why this happens. Try deleting Moodle cache and reload.
2. I tried locally and I see the problem with a different url:
*******.com//components/com_joomdle/views/wrapper/getout_logout.php
To fix it, edit file: components/com_joomdle/controller.php
Almost at the end of the file, change:
Code:
$app->redirect (JURI::root () . '/components/com_joomdle/views/wrapper/getout_logout.php');
Code:
$app->redirect (JURI::root () . 'components/com_joomdle/views/wrapper/getout_logout.php');
Last edit: 8 years 9 months ago by Antonio Durán.
Please Log in or Create an account to join the conversation.
- Web Buster UK Ltd
-
- Offline
- Elite Member
-
8 years 9 months ago - 8 years 9 months ago #3
by Web Buster UK Ltd
Replied by Web Buster UK Ltd on topic Use logout with redirect problems
Seems to encounter this issue as well.
When we click logout from moodle, it redirects to *****.com//index.php?option=com_joomdle&task=do_logout
Found where the issue comes from, it only occurs when we have "Logout with redirect" turned on in the moodle Joomdle plugin.
When we click logout from moodle, it redirects to *****.com//index.php?option=com_joomdle&task=do_logout
Found where the issue comes from, it only occurs when we have "Logout with redirect" turned on in the moodle Joomdle plugin.
Last edit: 8 years 9 months ago by Web Buster UK Ltd.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7941
8 years 9 months ago #4
by Antonio Durán
Replied by Antonio Durán on topic Use logout with redirect problems
Did you make the proposed code change to see if that solves the issue?
Please Log in or Create an account to join the conversation.