Author Topic: Warnings / Errors after changing an engine on PHP 5.3.6  (Read 3597 times)

Offline malik

  • Newbie
  • *
  • Posts: 2
Warnings / Errors after changing an engine on PHP 5.3.6
« on: August 10, 2011, 07:17:58 PM »
After changing engine from PHP 5.2.17 to 5.3.6 appear in the error_log:

PHP Warning: 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 'UTC' for 'GMT / 0.0 / no DST' instead in / var/www/htdocs/webmail/program/include/rcube_mdb2.php on line 556

PHP Warning: 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 'UTC' for 'GMT/0,0/no DST' instead in /var/www/htdocs/webmail/program/include/rcmail.php on line 771, referer:

Any suggestions ?
« Last Edit: August 11, 2011, 02:49:17 PM by skaero »

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Warnings / Errors after changing an engine on PHP 5.3.6
« Reply #1 on: August 11, 2011, 04:34:27 AM »
What do you not understand? The messages are clear.

Offline malik

  • Newbie
  • *
  • Posts: 2
Warnings / Errors after changing an engine on PHP 5.3.6
« Reply #2 on: August 15, 2011, 04:25:22 AM »
For you are clean, and I'm not a programmer. How to eliminate these messages ?
« Last Edit: August 15, 2011, 04:41:17 AM by malik »

Offline oldschool

  • Sr. Member
  • ****
  • Posts: 406
Warnings / Errors after changing an engine on PHP 5.3.6
« Reply #3 on: August 16, 2011, 05:27:35 AM »
The search function is your friend!
"date.timezone" should bring you to the right threads...




Rgds.