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

problem with date format #5693

Closed
anonymous-matomo-user opened this issue Jun 30, 2008 · 2 comments
Closed

problem with date format #5693

anonymous-matomo-user opened this issue Jun 30, 2008 · 2 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Milestone

Comments

@anonymous-matomo-user
Copy link

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:

  1. /var/www/html/projets/piwik/modules/Site.php(48): Piwik_Date→__construct(NULL)
  2. /var/www/html/projets/piwik/plugins/Home/Controller.php(34): Piwik_Site→getCreationDate()
  3. [function](internal): Piwik_Home_Controller→redirectToIndex()
  4. /var/www/html/projets/piwik/modules/FrontController.php(150): call_user_func_array(Array, Array)
  5. /var/www/html/projets/piwik/index.php(52): Piwik_FrontController→dispatch()
  6. {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
Copy link
Member

mattab commented Jul 21, 2008

what version of mysql are you using?

@mattab
Copy link
Member

mattab commented Jul 27, 2008

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

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Projects
None yet
Development

No branches or pull requests

2 participants