?
avatar mbabker
mbabker
3 Jun 2017

This could be a false positive, this could be a legit issue, but on my local clone of the downloads site where I am running the 3.8 dev build, I am getting this message somewhat consistently when I first open the app.

Warning: session_start(): The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in /libraries/joomla/session/handler/native.php on line 260
avatar mbabker mbabker - open - 3 Jun 2017
avatar joomla-cms-bot joomla-cms-bot - change - 3 Jun 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 3 Jun 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Jun 2017
Category Libraries
avatar andrepereiradasilva
andrepereiradasilva - comment - 3 Jun 2017

i had this issue too in latest staging using php sessions, not sure how it appeared.

avatar andrepereiradasilva
andrepereiradasilva - comment - 3 Jun 2017

@mbabker i can reproduce an issue in latest staging

  1. Set the session handler to PHP (files handler)
  2. Set session timeout to 1 minute (for faster test)
  3. Login in backend
  4. Wait around a minute
  5. Refresh the page

Warning: session_start(): The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in /path/to/joomla/staging/libraries/joomla/session/handler/native.php on line 260

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /path/to/joomla/staging/libraries/joomla/session/handler/native.php:260) in /path/to/joomla/staging/libraries/joomla/session/handler/native.php on line 260

Warning: session_regenerate_id(): Cannot regenerate session id - headers already sent in /path/to/joomla/staging/libraries/joomla/session/handler/native.php on line 151

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 /path/to/joomla/staging/libraries/joomla/session/handler/native.php on line 154

Warning: session_write_close(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/path/to/joomla/staging/tmp) in /path/to/joomla/staging/libraries/joomla/session/handler/native.php on line 154

Error displaying the error page: Application Instantiation Error: Failed to start the session because headers have already been sent by "/path/to/joomla/staging/libraries/joomla/session/handler/native.php" at line 260.

Could this be related to the cookies PR #12306 ?

avatar andrepereiradasilva
andrepereiradasilva - comment - 3 Jun 2017

@mbabker please test #16481

avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Jun 2017
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-06-03 15:41:08
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 3 Jun 2017
Closed_Date 2017-06-03 15:41:08 2017-06-03 15:41:09
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 3 Jun 2017
avatar joomla-cms-bot
joomla-cms-bot - comment - 3 Jun 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Jun 2017

closed as having PR #16481


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/16477.

Add a Comment

Login with GitHub to post a comment