Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error "unable to start session" instead of a proper error message #2717

Closed
mattab opened this issue Oct 18, 2011 · 6 comments
Closed

Error "unable to start session" instead of a proper error message #2717

mattab opened this issue Oct 18, 2011 · 6 comments
Labels
Bug Major
Milestone

Comments

@mattab
Copy link
Member

@mattab mattab commented Oct 18, 2011

After upgrade to Piwik 1.6 many users are reporting "Unable to start session" messages. It seems to happen when the piwik/tmp/sessions directory is not writable.
INstead we should detect this before trying to start the session and if the directory is not writable, return the standard piwik error message showing the "chmod" help command.

@mattab
Copy link
Member Author

@mattab mattab commented Nov 11, 2011

See also a report in: http://forum.piwik.org/read.php?2,82920

Maybe the whole tmp/ folder should be checked more often?

@mattab
Copy link
Member Author

@mattab mattab commented Nov 12, 2011

Definitely a problem across the board...

 problem writing temporary file '/var/www/vhosts/..../piwik/tmp/templates_c/wrt4ebc5ba68a6af'  ```

http://forum.piwik.org/read.php?5,82929

@mattab
Copy link
Member Author

@mattab mattab commented Dec 21, 2011

(In [5587]) Fixes #2717

  • Now displaying better error message including commands to type to fix the problem
  • Suggesting to enable db session when piwik is already installed (in case the of webhost /user changed directory permissions)

@mattab
Copy link
Member Author

@mattab mattab commented Dec 21, 2011

(In [5588]) Refs #2717 - typo

@mattab
Copy link
Member Author

@mattab mattab commented Jan 26, 2012

Solution to problem "session has already been started by session.auto-start or session_start()"

Set session.auto_start = Off in php.ini

Source: post

@mattab
Copy link
Member Author

@mattab mattab commented Jun 13, 2014

Replying to matt:

Solution to problem "session has already been started by session.auto-start or session_start()"

Set session.auto_start = Off in php.ini

Source: post

This issue has been fixed in #5344 New system check to alert user when session.auto_start = 1

@mattab mattab added this to the 1.7 Piwik 1.7 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Major
Projects
None yet
Development

No branches or pull requests

1 participant