Steve Bartlett Posted June 2, 2014 Report Posted June 2, 2014 I am getting these errors, no matter what skin I use. These are from the default crystal skin. Any suggestions? Also, I cannot get to the website via usvcg.org it wants usvcg.org/phpvms any way to fix that also? ( ! ) Warning: 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 'America/Denver' for 'MST/-7.0/no DST' instead in /home/hidden/public_html/phpvms/core/modules/news/news.php on line 45 Call Stack # Time Memory Function Location 1 0.0001 640728 {main}( ) ../index.php:0 2 0.0176 1217768 MainController::RunAllActions( ) ../index.php:60 3 0.0176 1218824 call_user_func_array ( ) ../MainController.class.php:218 4 0.0176 1219072 Frontpage->index( ) ../MainController.class.php:218 5 0.0181 1236472 CodonModule->render( ) ../Frontpage.php:27 6 0.0181 1236472 Template::show( ) ../CodonModule.class.php:98 7 0.0181 1236472 TemplateSet->showTemplate( ) ../Template.class.php:81 8 0.0181 1236616 TemplateSet->getTemplate( ) ../TemplateSet.class.php:167 9 0.0189 1281152 include( '/home/hidden/public_html/phpvms/core/templates/frontpage_main.tpl' ) ../TemplateSet.class.php:255 10 0.0189 1281360 MainController::Run( ) ../frontpage_main.tpl:7 11 0.0189 1283064 call_user_func_array ( ) ../MainController.class.php:263 12 0.0189 1283400 News->ShowNewsFront( ) ../MainController.class.php:263 13 0.0192 1279352 date ( ) ../news.php:45 ( ! ) Warning: 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 'America/Denver' for 'MST/-7.0/no DST' instead in /home/hidden/public_html/phpvms/lib/skins/crystal/layout.tpl on line 117 Call Stack # Time Memory Function Location 1 0.0001 640728 {main}( ) ../index.php:0 2 0.0218 1274392 TemplateSet->showTemplate( ) ../index.php:72 3 0.0218 1274536 TemplateSet->getTemplate( ) ../TemplateSet.class.php:167 4 0.0511 1326344 include( '/home/hidden/public_html/phpvms/lib/skins/crystal/layout.tpl' ) ../TemplateSet.class.php:255 5 0.0520 1327480 date ( ) ../layout.tpl:117 Quote
Steve Bartlett Posted June 2, 2014 Author Report Posted June 2, 2014 Solved I was missing two lines of code: # Page time zone date_default_timezone_set('America/Denver'); In the core/local.config.php Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.