Problem: warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings.
You have to make an .htaccess file and put it in the root directory of your site. If you have joomla you have to put it in the installation directory of joomla.
Now type in your .htaccess file
php_value date.timezone yourServersTimeZone
where "yourServerTimeZone" is one of timezones listed here: http://php.net/manual/timezones.php
You have an alternative option to change your php.ini file and put:
[Date]
; Defines the default timezone used by the date functions
date.timezone = "yourServersTimeZone"
You have to make an .htaccess file and put it in the root directory of your site. If you have joomla you have to put it in the installation directory of joomla.
Now type in your .htaccess file
php_value date.timezone yourServersTimeZone
where "yourServerTimeZone" is one of timezones listed here: http://php.net/manual/timezones.php
You have an alternative option to change your php.ini file and put:
[Date]
; Defines the default timezone used by the date functions
date.timezone = "yourServersTimeZone"
No comments:
Post a Comment