Hi Laurent,
I added it - in brief form - to the 1.8 release notes:
www.egroupware.org/wiki/releasenotes1.8
Not sure they get read, but that’s a different story …
If no timezone is set in user or default preferences, we are defaulting
to server timezone.
The updated release candidate has now an installation check, making sure
date.timezone is set (and NOT System/Localtime).
Ralf
‘System/Localtime’ is NOT a valid timezone, you need to replace it in
your php.ini with a correct one like eg. ‘Europe/Brussels’.
I tried to override date.timezone with an Apache directive:
php_value date.timezone Europe/Paris
I also tried to change it in php.ini, but it didn’t change anything…
I know that’s the default in Debian/Ubuntu, but we can NOT retrieve the
timezone rules for iCal export, from ‘System/Localtime’.
On Debian GNU/Linux, there is no default time zone in php.ini.
“date.timezone =” is commented out.
I finally solved the problem.
First of all, timezone should be set in common preferences (default or per
user value). If events were created before that operation (with an invalid
tomezone like “System/Localtime” it will generate the error even if the
timezone is set. In that case events with an invalid timezone should be fixed
too.
Secondly, “date.timezone” should be set in the php.ini file. Setting
"date.timezone" by a php_value directive in the EGroupware Apache configuration
file doesn’t work because the cron task script reads the value from the php.ini
file and set the configuration entry “server_timezone” in database ("egw_config"
table). On Debian GNU/Linux (and Ubuntu probably) the cron task will generate
the following cron message if it is not set:
“egw::setup() stored server_timezone=System/Localtime”
Debian like systems are widely used, so it should be great if that piece of
information could be posted on a wiki or a documentation file.
–
Ralf Becker
Director Software Development
Stylite GmbH
[open style of IT]
Morschheimer Strasse 15
67292 Kirchheimbolanden
fon +49 (0) 6352 70629-0
fax +49 (0) 6352 70629-30
mailto: rb@stylite.de
www.stylite.de
www.egroupware.org
Geschäftsführer Andre Keller,
Gudrun Müller, Ralf Becker
Registergericht Kaiserslautern HRB 30575
Umsatzsteuer-Id / VAT-Id: DE214280951
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers