⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Message: mktime(): It is not safe to rely on the system's timezone settings.



siarik
  • profile picture
  • Member

Posted 15 May 2013 - 07:29 AM

in windows 7 i try grocery crud running very well

 

when i move my script to linux centos 6.4 x86_64, i have found problem

 

A PHP Error was encountered

Severity: Warning

Message: 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 'Asia/Jakarta' for 'WIT/7.0/no DST' instead

Filename: libraries/grocery_crud.php

Line Number: 262

 

can explain why happen and how to fix that ?

 

thx u


davidoster
  • profile picture
  • Member

Posted 15 May 2013 - 08:48 AM

Check here!