Error: Unable to start session. Please help!


I installed piwik already three times, no problem. But now I get this error at first configuration screen:

Unable to start session.

Changing all directories permissions to 777 in filezilla did not solve the problem.

There is only some information here: Piwik Error, Unable to Start Session - Troy Fawkes

But it’s not possible to run the “calcs” command in filezilla. How to solve this problem?

going to piwik.php I get this error:

And this exception raised another exception “No entry is registered for key ‘logger_exception’”

Please help !!

Please don’t post multiple times.

make sure the directory piwik/tmp/sessions/ is created.
make sure it has chmod 777 with your ftp software.
if that doesnt work, use database sessions instead. Installation - Analytics Platform - Matomo

Thank you for the answer. Double post was by mistake, sorry.

I created config.ini.php and added “session_save_handler = dbtable”
(because the installation didn’t work, this files was not created automatically and there’s no [General] section).

This doesn’t change anything, still getting:

Unable to start session.

I tried it with IE and Firefox, no difference. I also checked the requirements, all fits. Also PHP extension pdo and pdo_mysql is enabled. That’s the very first time having trouble with piwik.

Opening piwik/piwik.php I receive:
SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘piwik_ziw.piwik_option’ doesn’t exist

#0 C:\Inetpub\vhosts\\httpdocs\piwik\libs\Zend\Db\Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array)
#1 C:\Inetpub\vhosts\\httpdocs\piwik\libs\Zend\Db\Adapter\Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 C:\Inetpub\vhosts\\httpdocs\piwik\libs\Zend\Db\Adapter\Pdo\Abstract.php(238): Zend_Db_Adapter_Abstract->query(‘SELECT option_v…’, Array)
#3 C:\Inetpub\vhosts\\httpdocs\piwik\core\Db\Adapter\Pdo\Mysql.php(211): Zend_Db_Adapter_Pdo_Abstract->query(‘SELECT option_v…’, Array)
#4 C:\Inetpub\vhosts\\httpdocs\piwik\libs\Zend\Db\Adapter\Abstract.php(736): Piwik_Db_Adapter_Pdo_Mysql->query(‘SELECT option_v…’, Array)
#5 C:\Inetpub\vhosts\\httpdocs\piwik\core\PluginsFunctions\Sql.php(50): Zend_Db_Adapter_Abstract->fetchAll(‘SELECT option_v…’, Array)
#6 C:\Inetpub\vhosts\\httpdocs\piwik\core\PluginsFunctions\Sql.php(102): Piwik_Sql::fetchAll(‘SELECT option_v…’, Array)
#7 C:\Inetpub\vhosts\\httpdocs\piwik\core\Option.php(144): Piwik_FetchAll(‘SELECT option_v…’)
#8 C:\Inetpub\vhosts\\httpdocs\piwik\core\Option.php(52): Piwik_Option->autoload()
#9 C:\Inetpub\vhosts\\httpdocs\piwik\core\Option.php(174): Piwik_Option->get(‘enableBrowserTr…’)
#10 C:\Inetpub\vhosts\\httpdocs\piwik\core\ArchiveProcessing.php(294): Piwik_GetOption(‘enableBrowserTr…’)
#11 C:\Inetpub\vhosts\\httpdocs\piwik\core\Common.php(200): Piwik_ArchiveProcessing::isBrowserTriggerArchivingEnabled()
#12 C:\Inetpub\vhosts\\httpdocs\piwik\core\Common.php(274): Piwik_Common::getCacheGeneral()
#13 C:\Inetpub\vhosts\\httpdocs\piwik\core\Tracker.php(120): Piwik_Common::runScheduledTasks(1324386406)
#14 C:\Inetpub\vhosts\\httpdocs\piwik\piwik.php(84): Piwik_Tracker->main()
#15 {main}

Of course there is no table because I can’t access the configuration screen.

Any other suggestions ?? Do you need more debugging information?

make sure the directory piwik/tmp/sessions/ is created.
make sure it has chmod 777 with your ftp software

–> this should fix the issue?

first thank you for the comments.

I noticed that this fault was on server side. I called the ISP to fix the problem.