n4is3n Posted July 25, 2010 Posted July 25, 2010 Dear All, i have this error when i try to install osCommerce on Nginx and PHP 5.3. 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 'Asia/Jakarta' for 'WIT/7.0/no DST' instead in /var/www/nginx-default/kaozgamer.com/toko/includes/languages/english.php on line 317 Please help... thanks before...
Jan Zonjee Posted July 25, 2010 Posted July 25, 2010 Dear All, i have this error when i try to install osCommerce on Nginx and PHP 5.3. 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 'Asia/Jakarta' for 'WIT/7.0/no DST' instead in /var/www/nginx-default/kaozgamer.com/toko/includes/languages/english.php on line 317 As far as I can remember it is best to set the default time zone in your php.ini: date_default_timezone_set('Asia/Jakarta'); But I assume you can put this somewhere in your includes/application_top.php also.
n4is3n Posted July 25, 2010 Author Posted July 25, 2010 As far as I can remember it is best to set the default time zone in your php.ini: date_default_timezone_set('Asia/Jakarta'); But I assume you can put this somewhere in your includes/application_top.php also. i put that code in includes/application_top.php, and it work! Thanks so much... :D
Recommended Posts
Archived
This topic is now archived and is closed to further replies.