@anonymous-piwik-user opened this issue on June 30th 2008

Hi,

I just installed the version 0.2.3 and i have an error message when trying to access my piwik homepage :

--8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<---

Uncaught exception: 'The date '' is not correct. The date format is YYYY-MM-DD or you can also use magic keywords such as 'today' or 'yesterday' or any keyword supported by the strtotime function (see http://php.net/strtotime for more information)' More information

In /var/www/html/projets/piwik/modules/Date.php on line 52 Backtrace: #0 /var/www/html/projets/piwik/modules/Site.php(48): Piwik_Date->__construct(NULL) #1 /var/www/html/projets/piwik/plugins/Home/Controller.php(34): Piwik_Site->getCreationDate() #2 function: Piwik_Home_Controller->redirectToIndex() #3 /var/www/html/projets/piwik/modules/FrontController.php(150): call_user_func_array(Array, Array) #4 /var/www/html/projets/piwik/index.php(52): Piwik_FrontController->dispatch() #5 {main}

You can get help from http://piwik.org (give us the full error message + your PHP and Mysql version)

--8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<---

I checked in the config/global.ini.php and the default_day is set to 'yesterday' but it seems the variable hasn't been read.

Chag

@mattab commented on July 21st 2008

what version of mysql are you using?

@mattab commented on July 27th 2008

This has been fixed in 0.2.9, please reinstall a clean Piwik and this should work.

This issue was closed on July 27th 2008
Powered by GitHub Issue Mirror