Roundcube Community Forum

 

timezone error

Started by cbrace, September 30, 2010, 10:00:20 AM

Previous topic - Next topic

cbrace

Hi all,

I have been using various versions of roundcube under FreeBSD for some time and never encountered the following problem, only under Fedora.

I recently installed v.0.4 under Fedora 13 running Apache. It runs fine but I keep getting this error message:

PHP Warning:  getdate(): 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 'Europe/Berlin' for 'CEST/2.0/DST' instead in /usr/local/www/html/roundcubemail-0.4/program/include/main.inc on line 984

The thing is, it is generated EVERYTIME PHP is called, hence dozens of times per screen refresh. Several times now, my /var partition has run out of space because of HUGE error logs, hundreds of megabyes in size, from just a few days, with almost only this message.

FWIW: When I run the installer, is see this warning:

date.timezone:  NOT OK(Could be set)

Can someone tell me how to fix this?

Thanks,

-Colin

SKaero

Make sure date.timezone is set in the php.ini

cbrace

Thanks, that seems to fix it.

The weird thing is that the timezone isn't defined in php.ini on my FreeBSD server, and I've never seen this error message on that system. The Fedora php must be compiled with different options.

SKaero

Its most likely a differences in the error_reporting option in the php.ini