- Posts: 13
Joomdle 1.0 Installation
Session warning after logging out of Joomla
- klever
- Topic Author
- Offline
- New Member
-
Less
More
10 years 8 months ago #1
by klever
Session warning after logging out of Joomla was created by klever
Hi,
I'm getting the following warnings when logging out of Joomla:
Warning: session_write_close(): The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in .../moodle/lib/classes/session/manager.php on line 516
Warning: session_write_close(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (.../moodledata/sessions) in .../moodle/lib/classes/session/manager.php on line 516
Skip to main content
This page should automatically redirect. If nothing is happening please use the continue link below.
(Continue)
Please help
Thanks
I'm getting the following warnings when logging out of Joomla:
Warning: session_write_close(): The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in .../moodle/lib/classes/session/manager.php on line 516
Warning: session_write_close(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (.../moodledata/sessions) in .../moodle/lib/classes/session/manager.php on line 516
Skip to main content
This page should automatically redirect. If nothing is happening please use the continue link below.
(Continue)
Please help
Thanks
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
10 years 8 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic Session warning after logging out of Joomla
Hi.
I have never seen that error before, and I don't know how it can happen, as we don't call Moodle code on logout from Joomla.
I assume you have redirect-less logout disabled in Joomla, right?
I have never seen that error before, and I don't know how it can happen, as we don't call Moodle code on logout from Joomla.
I assume you have redirect-less logout disabled in Joomla, right?
Please Log in or Create an account to join the conversation.
- klever
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 13
10 years 8 months ago #3
by klever
Replied by klever on topic Session warning after logging out of Joomla
Yes it is disabled. This is the setup:
I am using the Joomla login form to login to the website. Then I use the JS Hello Me module to logout. I have also tried using the Joomla login form to logout and the warning still comes.
Thanks
I am using the Joomla login form to login to the website. Then I use the JS Hello Me module to logout. I have also tried using the Joomla login form to logout and the warning still comes.
Thanks
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
10 years 8 months ago #4
by Antonio Durán
Replied by Antonio Durán on topic Session warning after logging out of Joomla
I cannot replicate the problem and don't know where it is coming from.
You can send URL and a test user to development@joomdle.com and I will take a look. Maybe seeing it live gives me some ideas.
You can send URL and a test user to development@joomdle.com and I will take a look. Maybe seeing it live gives me some ideas.
Please Log in or Create an account to join the conversation.
- klever
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 13
10 years 8 months ago #5
by klever
Replied by klever on topic Session warning after logging out of Joomla
Can I send you a private message with the link?
Thanks
Thanks
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
10 years 8 months ago #6
by Antonio Durán
Replied by Antonio Durán on topic Session warning after logging out of Joomla
Yes, in my last post I told you to send me an email to development@joomdle.com with the data.
Please Log in or Create an account to join the conversation.
- MB
- Offline
- New Member
-
Less
More
- Posts: 15
10 years 6 months ago #7
by MB
Replied by MB on topic Session warning after logging out of Joomla
Hi, Did you come up with a solution for this? I am getting the same error.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
10 years 6 months ago #8
by Antonio Durán
Replied by Antonio Durán on topic Session warning after logging out of Joomla
I don't know if klever solved his problem.
However, error said:
Failed to write session data (files). Please verify that the current setting of session.save_path is correct (.../moodledata/sessions)
So if you get the same, you should check your session path is correct and writable.
However, error said:
Failed to write session data (files). Please verify that the current setting of session.save_path is correct (.../moodledata/sessions)
So if you get the same, you should check your session path is correct and writable.
Please Log in or Create an account to join the conversation.
- ncy
- Offline
- New Member
-
Less
More
- Posts: 18
10 years 6 months ago - 10 years 6 months ago #9
by ncy
Replied by ncy on topic Session warning after logging out of Joomla
Hi, I got the same warning on my local XAMPP setup, also on logout only from Joomla. The warning message appears briefly (< 1 second) before returning to the website as logged out. What seemed to fix it for me was setting "Use redirectless logout" to Yes. Maybe that can help narrow down the problem area ...
My moodledata directory and all directories/files inside are set to 777 permissions.
VERSION: Joomla 3.4.4, Moodle 2.9, Joomdle 1.0.2, XAMPP 5.6.12-0
UPDATE: Okay, not sure exactly what caused the change in my test setup, but now when I set "Use redirectless logout" back to No the problem does not show anymore
. btw, I am using this together with MageBridge.
My moodledata directory and all directories/files inside are set to 777 permissions.
VERSION: Joomla 3.4.4, Moodle 2.9, Joomdle 1.0.2, XAMPP 5.6.12-0
UPDATE: Okay, not sure exactly what caused the change in my test setup, but now when I set "Use redirectless logout" back to No the problem does not show anymore
Last edit: 10 years 6 months ago by ncy. Reason: cause of problem indeterminate
Please Log in or Create an account to join the conversation.