[turba] Failed to parse time-string --

Simon Brereton simon.brereton at buongiorno.com
Fri Dec 2 14:27:30 UTC 2011


On 2 December 2011 06:04, Jan Schneider <jan at horde.org> wrote:
>
> Zitat von Simon Brereton <simon.brereton at buongiorno.com>:
>
>> Hi
>>
>> Today one of my users started getting an error when editing a contact...
>>
>> Anniversary A fatal error has occurred
>> Failed to parse time string (--)
>> Details have been logged for the administrator.
>>
>> However, in the logs I only see..
>>
>>
>> 2011-11-29T16:34:32+00:00 INFO: HORDE4 [horde] Finished sync of
>> database task. Failures: 0; changes from client (Add, Replace, Delete,
>> AddReplaces): 0, 0, 0, 0; changes from server (Add, Replace, Delete):
>> 0, 0, 0 [pid 2746 on line 512 of
>> "/usr/share/php/Horde/SyncMl/ContentHandler.php"]
>> 2011-11-29T16:39:05+00:00 EMERG: HORDE4 [turba] Failed to parse time
>> string (--) [pid 2525 on line 252 of "/usr/share/php/Horde/Date.php"]
>> 2011-11-29T16:39:55+00:00 EMERG: HORDE4 [turba] Failed to parse time
>> string (--) [pid 2746 on line 252 of "/usr/share/php/Horde/Date.php"]
>> 2011-11-29T16:40:31+00:00 NOTICE: HORDE4 [horde] PHP ERROR: Undefined
>> index: params [pid 2180 on line 36 of
>> "/usr/share/horde4/lib/Block/Account.php"]
>> 2011-11-29T16:40:31+00:00 WARN: HORDE4 [horde] PHP ERROR: Missing
>> argument 2 for
>> Horde_Service_Weather_WeatherUnderground::_getCommonElements(),
>> called in /usr/share/php/Horde/Service/Weather/WeatherUnderground.php
>> on line 102 and defined [pid 2180 on line 207 of
>> "/usr/share/php/Horde/Service/Weather/WeatherUnderground.php"]
>> 2011-11-29T16:40:31+00:00 NOTICE: HORDE4 [horde] PHP ERROR: Undefined
>> variable: dewpoint [pid 2180 on line 182 of
>> "/usr/share/horde4/lib/Block/Weather.php"]
>> 2011-11-29T16:40:49+00:00 EMERG: HORDE4 [turba] Failed to parse time
>> string (--) [pid 2524 on line 252 of "/usr/share/php/Horde/Date.php"]
>> 2011-11-29T16:41:21+00:00 EMERG: HORDE4 [turba] Failed to parse time
>> string (--) [pid 2971 on line 252 of "/usr/share/php/Horde/Date.php"]
>> 2011-11-29T16:43:56+00:00 EMERG: HORDE4 [turba] Failed to parse time
>> string (--) [pid 2525 on line 252 of "/usr/share/php/Horde/Date.php"]
>>
>>
>> This happens for any and all contacts and when I look at the record in
>> the turba_objects, the item doesn't even have an anniversary entry
>> (it's blank).
>
>
> http://bugs.horde.org/ticket/10557


Okay.  In the meantime I fixed this by running an SQL query to set the
anniversary to '' for all entries (fortunately no one uses this field
much)

Simon


More information about the turba mailing list