05-18-2014, 11:22 PM
It does seem to be a php configuration issue:
<!-- m --><a class="postlink" href="http://stackoverflow.com/questions/2213608/php-configuration-it-is-not-safe-to-rely-on-the-systems-timezone-settings">http://stackoverflow.com/questions/2213 ... e-settings</a><!-- m -->
<!-- m --><a class="postlink" href="http://stackoverflow.com/questions/20743060/symfony2-and-date-default-timezone-get-it-is-not-safe-to-rely-on-the-system">http://stackoverflow.com/questions/2074 ... the-system</a><!-- m -->
<!-- m --><a class="postlink" href="http://stackoverflow.com/questions/20061861/php-datetime-throws-timezone-warning-even-though-date-timezone-set">http://stackoverflow.com/questions/2006 ... mezone-set</a><!-- m -->
in the first link there is a piece of code specifically for Yii:
try that
PortalConfig.php looks correct
<!-- m --><a class="postlink" href="http://stackoverflow.com/questions/2213608/php-configuration-it-is-not-safe-to-rely-on-the-systems-timezone-settings">http://stackoverflow.com/questions/2213 ... e-settings</a><!-- m -->
<!-- m --><a class="postlink" href="http://stackoverflow.com/questions/20743060/symfony2-and-date-default-timezone-get-it-is-not-safe-to-rely-on-the-system">http://stackoverflow.com/questions/2074 ... the-system</a><!-- m -->
<!-- m --><a class="postlink" href="http://stackoverflow.com/questions/20061861/php-datetime-throws-timezone-warning-even-though-date-timezone-set">http://stackoverflow.com/questions/2006 ... mezone-set</a><!-- m -->
in the first link there is a piece of code specifically for Yii:
Code:
Yii::app()->setTimeZone('UTC');
try that
PortalConfig.php looks correct
Joe
TSolucio
TSolucio