Ticket #273 (closed Bug: fixed)

Opened 2 months ago

Last modified 1 month ago

problem with date format

Reported by: chag Assigned to:
Priority: major Milestone: RobotRock
Component: Core Version: alpha1
Keywords: Cc:

Description

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 [internal 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

Change History

07/06/08 18:44:01 changed by matt

  • milestone set to RobotRock.

07/21/08 02:08:44 changed by matt

what version of mysql are you using?

07/27/08 00:00:04 changed by matt

  • status changed from new to closed.
  • resolution set to fixed.

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