I just made a successful upgrade from 1.0.0 on my life site. Then I did a new installation on my newly installed local XAMPP server (on a windows XP machine). Everything went smooth, but when I want to log on to the modx manager I get the following warning and I cannot continue:
<b>Warning</b>: date() [<a href=’function.date’>function.date</a>]: It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected ’Europe/Paris’ for ’1.0/no DST’ instead in <b>C:\xampplite\htdocs\WBV\manager\includes\document.parser.class.inc.php(746) : eval()’d code</b> on line <b>33</b>
Location: http://localhost/wbv/manager/
Has anybody an idea, what this means and what I can do to correct this? Any help is appreciated.
-
☆ A M B ☆
- 3,112 Posts
Are you using some kind of calendar snippet?
Try to add your server or your location time inside it, eg:
http://php.net/manual/en/function.date-default-timezone-set.php
<?php
date_default_timezone_set('America/Los_Angeles');
?>
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.
Thanks for your answer.
I just redid the setup in the xampp control panel and the problem was gone. I could loggon to the modx manager and everything works just fine.