Ticket modified by Ralf Becker at 2011/02/11 15:39
Tracking System: Bugs
Category: ActiveSync
Version: Trunk
Status: Open
Resolution: Duplicate
Completed: 0%
Priority: 5 - medium
Created By: camel camel
Created on: 2011/02/11 14:43
Assigned to: Philip Herbert
Summary: #2852 - calendar -> php fatal error - $exception_time->format(‘server’)
this time error belongs to line: 690
$exception->starttime = $exception_time->format(‘server’);
via debuglog i printed
$exception->starttime = ‘20111102’
and this will be formatted via:
$exception->starttime = $exception_time->format(‘server’);
is this true ? - or is there a error, that it try to format a time to date format ?
[Fri Feb 11 14:35:24 2011] [error] [client 89.104.29.101] PHP Fatal error: Call to a member function format() on a non-object in /var/www/egroupware_TRUNK/htdocs/egroupware/calendar/inc/class.calendar_activesync.inc.php on line 690
Comment by Ralf Becker at 2011/02/11 15:39:
Ok, it’s a different line number, thought the line number is NOT from the up to date version: line 690 is part of a comment. Please use svn update code, if reporting bugs in Trunk.
Ralf
Comment by camel camel at 2011/02/11 15:31:
this is not the same !!!
see code !
Comment by camel camel at 2011/02/11 15:30:
could it be fixed, if i change the line
from:
exception->starttime = $exception_time->format(‘server’);
to:
exception->starttime = (int)$exception_time->format(‘server’);
???
Comment by Ralf Becker at 2011/02/11 15:27:
Please answer or add to the existing ticket, and not opening new ones every time!
linked entries:
http://www.egroupware.org/egroupware/index.php?menuaction=tracker.tracker_ui.edit&tr_id=2852&no_popup=1