- Posts: 7
Logout from Moodle error
- Olivier Turpin
- Topic Author
- Offline
- New Member
-
Less
More
12 years 4 weeks ago #1
by Olivier Turpin
Logout from Moodle error was created by Olivier Turpin
Hi,
I am using Joomdle 0.94 on Joomla 2.5.19 with Moodle 2.2.11
Whenever a user that is logged in with Joomdle logs out from Moodle, the user gets a 500 error message.
Url looks like this mysite.com/components/com_joomdle/views/wrapper/getout.php
Thanks,
I am using Joomdle 0.94 on Joomla 2.5.19 with Moodle 2.2.11
Whenever a user that is logged in with Joomdle logs out from Moodle, the user gets a 500 error message.
Url looks like this mysite.com/components/com_joomdle/views/wrapper/getout.php
Thanks,
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7902
12 years 4 weeks ago #2
by Antonio Durán
Replied by Antonio Durán on topic Logout from Moodle error
Check your server logs to get more info about that 500 error.
Please Log in or Create an account to join the conversation.
- Olivier Turpin
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 7
12 years 3 weeks ago #3
by Olivier Turpin
Replied by Olivier Turpin on topic Logout from Moodle error
Not sure what to do with this, so here you go
108.162.219.249 - - [17/Mar/2014:14:59:55 -0400] "GET /elearning/login/logout.php?sesskey=MI82UJqqZ6 HTTP/1.1" 303 428 " 360leadership.ca/elearning/index.php " "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0"
108.162.219.249 - - [17/Mar/2014:14:59:57 -0400] "GET /components/com_joomdle/views/wrapper/getout.php HTTP/1.1" 404 - " 360leadership.ca/elearning/index.php " "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0"
108.162.219.249 - - [17/Mar/2014:14:59:55 -0400] "GET /elearning/login/logout.php?sesskey=MI82UJqqZ6 HTTP/1.1" 303 428 " 360leadership.ca/elearning/index.php " "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0"
108.162.219.249 - - [17/Mar/2014:14:59:57 -0400] "GET /components/com_joomdle/views/wrapper/getout.php HTTP/1.1" 404 - " 360leadership.ca/elearning/index.php " "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0"
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7902
12 years 3 weeks ago #4
by Antonio Durán
Replied by Antonio Durán on topic Logout from Moodle error
That is the access log, which is useless.
You will need to check your error.log, as there should be something related to the error 500 there.
You can see that if you go directly to 360leadership.ca/components/com_joomdle/...s/wrapper/getout.php it gives the error.
You will need to check your error.log, as there should be something related to the error 500 there.
You can see that if you go directly to 360leadership.ca/components/com_joomdle/...s/wrapper/getout.php it gives the error.
Please Log in or Create an account to join the conversation.
- Olivier Turpin
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 7
12 years 3 weeks ago #5
by Olivier Turpin
Replied by Olivier Turpin on topic Logout from Moodle error
Ok, I found the error.log, and I saw that the /components folder of joomla is writeable, so I changed the folder permissions and now it works.
[Tue Mar 25 08:04:56 2014] [error] [client 108.162.219.249] File does not exist: /home/leader/public_html/500.shtml, referer: 360leadership.ca/elearning/
[Tue Mar 25 08:04:56 2014] [error] [client 108.162.219.249] SoftException in Application.cpp:601: Directory "/home/leader/public_html/components" is writeable by group, referer: 360leadership.ca/elearning/
When I log out from 360leadership.ca/elearning, it redirects to 360leadership.ca. Is there a way to redirect back to 360leadership.ca/elearning and not the main site?
Thank you for your help!
[Tue Mar 25 08:04:56 2014] [error] [client 108.162.219.249] File does not exist: /home/leader/public_html/500.shtml, referer: 360leadership.ca/elearning/
[Tue Mar 25 08:04:56 2014] [error] [client 108.162.219.249] SoftException in Application.cpp:601: Directory "/home/leader/public_html/components" is writeable by group, referer: 360leadership.ca/elearning/
When I log out from 360leadership.ca/elearning, it redirects to 360leadership.ca. Is there a way to redirect back to 360leadership.ca/elearning and not the main site?
Thank you for your help!
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7902
12 years 3 weeks ago #6
by Antonio Durán
Replied by Antonio Durán on topic Logout from Moodle error
Great to know that it works now.
As for your question: there is no way to do that now.
I think you could change this by editing: components/com_joomdle/views/wrapper/getout.php
As for your question: there is no way to do that now.
I think you could change this by editing: components/com_joomdle/views/wrapper/getout.php
Please Log in or Create an account to join the conversation.