Roundcube Community Forum

Release Support => Release Discussion => Topic started by: malik on August 10, 2011, 07:17:58 PM

Title: Warnings / Errors after changing an engine on PHP 5.3.6
Post by: malik 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 ?
Title: Warnings / Errors after changing an engine on PHP 5.3.6
Post by: alec on August 11, 2011, 04:34:27 AM
What do you not understand? The messages are clear.
Title: Warnings / Errors after changing an engine on PHP 5.3.6
Post by: malik on August 15, 2011, 04:25:22 AM
For you are clean, and I'm not a programmer. How to eliminate these messages ?
Title: Warnings / Errors after changing an engine on PHP 5.3.6
Post by: oldschool on August 16, 2011, 05:27:35 AM
The search function is your friend!
"date.timezone" should bring you to the right threads...




Rgds.