Roundcube Community Forum

 

When opening RC=> pink banner "Server Error !"=>vanishes=>OK ???

Started by smallhagrid, August 17, 2012, 02:30:20 PM

Previous topic - Next topic

smallhagrid

As the title says, when I open RC on my hosting, very briefly a pink banner appears that says "Server Error !"
Then it simply vanishes and all seems to work OK.
It is freshly installed (0.80 ?).

Does this matter - can it easily be fixed - or should I simply continue to ignore it ???

Thanks.

SKaero


smallhagrid

Many variations of this:

UTC] PHP Warning:  date() [<a href='function.date'>function.date</a>]: 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/Chicago' for 'CDT/-5.0/DST' instead in /program/include/rcube_mdb2.php on line 606

But with differing line numbers mentioned.

SKaero


smallhagrid

Thanks.
I just looked and there is no entry for date.timezone in my php.ini .

Would you please give me the exact line(s) I need to add to set it for EST ?

The entry it is adding on it's own for ''America/Chicago' for 'CDT/-5.0/DST'' is fine - but I've no idea what to do with php.ini to make it so minus the error banner...

Thanks.

SKaero

You should just need to add:
date.timezone = ''America/Chicago"

To your php.ini and restart your web server.

smallhagrid

Thanks, I added date.timezone = ''America/Chicago"; logged out and back in and still get the pink banner.

The error logs says:

[17-Aug-2012 20:44:54 UTC] PHP Warning:  strtotime() [<a href='function.strtotime'>function.strtotime</a>]: 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.

I looked up some info @ php.net and just changed it to read:
date.timezone = "America/New_York"

Same pink banner upon log-in.

Last log entry reads:
[17-Aug-2012 21:29:55 UTC] PHP Warning:  date() [<a href='function.date'>function.date</a>]: 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.

SKaero

Did you restart your web server after you made the change?