2012/12/28 Robert Moskowitz <rgm@xxxxxxxxxxxxxxx>: > > On 12/27/2012 05:01 PM, Reindl Harald wrote: >> >> Am 27.12.2012 22:08, schrieb Robert Moskowitz: >>> On 12/27/2012 03:26 PM, Reindl Harald wrote: >>>> Am 27.12.2012 21:17, schrieb Robert Moskowitz: >>>>> I am having problems with RoundCube: >>>>> >>>>> 'Your session is invalid or expired' >>>>> >>>>> So I went looking for logs and in /var/log/roundcube/errors I find LOTS >>>>> of warnings about problems with my timezone. Kind of a challenge to >>>>> copy the log entries over here (will do if needed). >>>>> >>>>> Anyway, for right now I am looking as to where my 'Detroit >>>>> American/New_York' (what I am seeing in Gnomes calendar preferences) >>>>> string is stored. >>>>> >>>>> Roundcube seems to want 'America/New_York'? >>>>> >>>>> Shouldn't I be seeing 'America/Detroit' when I look at the calendar >>>>> selection in Gnome? >>>> https://www.google.com/search?q=php+timezone >>>> >>>> php.ini: >>>> date.timezone = "your-timezone" >>> Not the place where Centos is storing timezone. Or perhaps this is where RoundCube is expecting it? >> but the place where the timezone for php is configured >> you may guess in which language roundcube is written > > I guessed this from looking at the roundcube errors. So now to dig up > how to configure php, and not expect the packages that use it to > configure such base requirements. Got to love it. > >> on a proper configured php-setup with full error-reporting >> you get even warnings if the timezone is not configured, but >> hey why should people enable warnings on their servers :-) > > Becuase we expect it to work right the first time! DIRTFT! > > Actually, there were some decent error messages from Roundcube: > > [27-Dec-2012 14:56:47] 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/New_York' for 'EST/-5.0/no DST' instead in > /usr/share/roundcubemail/program/include/rcube_config.php on line 96 > > [27-Dec-2012 14:56:47] 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/New_York' for 'EST/-5.0/no DST' instead in > /usr/share/roundcubemail/program/include/rcube_config.php on line 97 > > [27-Dec-2012 14:56:47] PHP Warning: strtotime(): 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/New_York' for 'EST/-5.0/no DST' instead in > /usr/share/roundcubemail/program/include/rcube_session.php on line 134 > > [27-Dec-2012 14:56:47] 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/New_York' for 'EST/-5.0/no DST' instead in > /usr/share/roundcubemail/program/include/rcube_mdb2.php on line 603 > > So I have taken this problem over to the Roundcube list. But will dig > into php configuration. Seems Roundcube is expecting more than say > phpmysqladmin... err.. http://codingpad.maryspad.com/2012/03/19/setting-the-time-zone-for-php-5-3-x/ -- Eero _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos