Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[How to Resolve]PHP Error Severity: Warning mktime() [function.mktime]
02-06-2012, 07:07 PM, (This post was last modified: 02-06-2012, 07:07 PM by jetdino.)
[How to Resolve]PHP Error Severity: Warning mktime() [function.mktime]
Jika web Anda mengalami error sbb:

Quote:A PHP Error was encountered

Severity: Warning

Message: 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 'America/New_York' for 'EDT/-4.0/DST' instead

Filename: libraries/Session.php

Line Number: 78

Untuk mengatasinya adalah dengan menambahkan baris dibawah ini pada file yang bersangkutan atau file index.php


Forum Jump:

Users browsing this thread: 1 Guest(s)