Warning -

Hi Alex, I am getting this warning - 

Warning: date() [function.date]: 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 'UTC' for 'GMT/0.0/no DST' instead in /home/metro16j/public_html/inc/classes/BxDolTemplate.php on line 782

Quote · 6 Dec 2012

Also getting -

Warning: mktime() [function.mktime]: 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 'UTC' for 'GMT/0.0/no DST' instead in /home/metro16j/public_html/templates/base/scripts/BxBaseFunctions.php on line 156

Quote · 6 Dec 2012

you can see that !

http://php.net/manual/en/function.date-default-timezone-set.php

or if you have access on php.ini

search

[Date]
; Defines the default timezone used by the date functions
date.timezone =

and ad the localisation of your serveur zone

http://php.net/manual/en/timezones.php

exemple :
date.timezone =  Pacific/Auckland
if your serveur is in Auckland

or in .htaccess at root directory of your site

Then add the directive below to your .htaccess file:

php_value date.timezone "Pacific/Auckland"

 

regards

Quote · 6 Dec 2012

Thank you, it worked...... :)

Quote · 6 Dec 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.