[sync] P800 & calendar

Iain McFarlane imcfarla at ntlworld.com
Tue Jul 6 14:37:32 PDT 2004


Hi,

I have now disabled the jotter option and enabled the calendar/tasks option on 
my phone and i am getting the following.  I presume the error is actually the 
last line in the php.log file about desc being an undefined index a diff to 
fix this is included below.

I do get tasks and appointments copied from the phone to horde however not the 
other way round.

Cheers,

Iain


in horde.log
Jul 06 22:14:21 HORDE [warning] [horde] SyncML: unable to create change for 
nag:79441ec72f84e48fadbf673e3a506760: locid not found in map [on line 67 of 
"/usr/share/pear/Horde/SyncML/Sync/TwoWaySync.php"]
Jul 06 22:14:21 HORDE [warning] [horde] SyncML: unable to create delete for 
nag:0d731bf15f204479dfc4f00ecddce3f5: locid not found in map [on line 102 of 
"/usr/share/pear/Horde/SyncML/Sync/TwoWaySync.php"]
Jul 06 22:14:21 HORDE [warning] [horde] SyncML: unable to create delete for 
nag:55f255776bdfcb2afa129c1c14d9bf0f: locid not found in map [on line 102 of 
"/usr/share/pear/Horde/SyncML/Sync/TwoWaySync.php"]
Jul 06 22:14:21 HORDE [warning] [horde] SyncML: unable to create delete for 
nag:64265a2059865f3b1dcf79eda7588716: locid not found in map [on line 102 of 
"/usr/share/pear/Horde/SyncML/Sync/TwoWaySync.php"]
Jul 06 22:14:21 HORDE [warning] [horde] SyncML: unable to create delete for 
nag:79441ec72f84e48fadbf673e3a506760: locid not found in map [on line 102 of 
"/usr/share/pear/Horde/SyncML/Sync/TwoWaySync.php"]

in php.log:
[06-Jul-2004 22:14:18] PHP Notice:  Array to string conversion 
in /usr/share/pear/Horde/iCalendar.php on line 628
[06-Jul-2004 22:14:18] PHP Notice:  Array to string conversion 
in /usr/share/pear/Horde/iCalendar.php on line 746
[06-Jul-2004 22:14:18] PHP Notice:  Array to string conversion 
in /usr/share/pear/Horde/iCalendar.php on line 628
[06-Jul-2004 22:14:18] PHP Notice:  Array to string conversion 
in /usr/share/pear/Horde/iCalendar.php on line 746
[06-Jul-2004 22:14:18] PHP Notice:  Array to string conversion 
in /usr/share/pear/Horde/iCalendar.php on line 628
[06-Jul-2004 22:14:18] PHP Notice:  Array to string conversion 
in /usr/share/pear/Horde/iCalendar.php on line 746
[06-Jul-2004 22:14:18] PHP Notice:  Array to string conversion 
in /usr/share/pear/Horde/iCalendar.php on line 628
[06-Jul-2004 22:14:18] PHP Notice:  Array to string conversion 
in /usr/share/pear/Horde/iCalendar.php on line 746
[06-Jul-2004 22:14:19] PHP Notice:  Undefined index:  desc 
in /var/www/html/horde/nag/lib/api.php on line 450


Diff to fix this:
--- api.php     2004-07-02 23:07:49.000000000 +0100
+++ /opt/backup/horde.1/nag/lib/api.php 2004-07-06 22:36:27.673762270 +0100
@@ -447,7 +447,6 @@
          * @TODO Need to check for alarms and set due date, etc.
          */
         $hash = $content->toArray();
-        $result = $storage->modify($task['task_id'], $hash['name'], 
$hash['desc'], 0, $hash['priority']);
         $result = $storage->modify($task['task_id'],
                                    isset($hash['name']) ? $hash['name'] : '',
                                    isset($hash['desc']) ? $hash['desc'] : '',



More information about the sync mailing list