Unable to start session


#1

Hello All,

I just started receiving this message when trying to access our piwik installation. It had been running smoothly for quite a while. I can’t say when the problem really started because we don’t access it that often. But here’s the error:

Error: Unable to start session. Please check that the web server has enough permission to write to these files/directories:
For example, on a GNU/Linux server if your Apache httpd user is www-data, you can try to execute:
chown -R www-data:www-data /home/c2it/public_html/analytics/tmp/sessions
chmod -R 0755 /home/c2it/public_html/analytics/tmp/sessions

If you still experience issues after trying these changes, we recommend that you enable database session storage.
Debug: the original error was
SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘c2it_stats.piwik_session’ doesn’t exist

I’ve checked (and so has our hosting provider) and the permissions are properly set for the tmp/sessions directory. Furthermore, we have always had the session_save_handler = datable line in our config file. So I can’t imagine what might have happened.

Does anyone have any suggestions on how to get past this?

Thanks,
Chris