Roundcube Community Forum

 

date issue

Started by kaisho, July 11, 2014, 04:47:23 PM

Previous topic - Next topic

kaisho

Hi there,

Here is the latest entry from the log file, what I don't understand is that the timezone is set I still get the following error: php.ini is set to America/Los_Angeles, mail and web restarted. Using RC 9.05. Any ideas?

[11-Jul-2014 13:17:10 America/Los_Angeles] 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 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in /opt/webapps/webmail/program/lib/Roundcube/rcube_db.php on line 758

SKaero

Do a check of the phpinfo() in the Roundcube directory, most likely its using a different php.ini.

kaisho

Hi SKaero,

That is what I thought but even though I did a search for php.ini in invisible and visible items, (Mac OS X) only the one in the Roundcube directory was listed (as were my backups).

Doh!!!!! I then realized that the MAC OS X loads the php info from a different local after running php --ini in terminal.
/private/etc/php.ini

Corrected this one all is good.

Cheers,