[sync] Unable to sync

Kelly Shutt tetrahedron at whycomehere.com
Fri May 11 02:05:54 UTC 2007


I'm currently running the newest Synthesis on my Cingular 8125 phone, 
with the latest horde-cvs release.  It seems to be authenticating fine, 
and defaulting to Slow since it hasn't been synced before; but then it 
fails when it starts to try and actually sync the data.  I think I've 
tracked the issue down to "[10-May-2007 20:46:26] PHP Fatal error:  Call 
to a member function createSyncOutput() on a non-object in 
/usr/share/php/SyncML/Command/Sync.php on line 75" which coincides with 
the time that it fails the sync.  Below I've also included the debug 
output from horde.log; and I have /tmp/sync/ logs if anyone would like 
to look at those also.  I did notice that the "No sync object found for 
URI = calendar" line changes to events, calendar, contacts, etc. 
depending on which item I'm trying to sync; which leads me to believe 
that the PHP error is the only thing blocking the process from 
completing correctly.  Anyone have any suggestions?

I do know that horde itself, minus the SyncML stuff, is setup and 
working fine; as I've had it installed and working for all my PIM stuff 
for a while now.  I'm just trying to get it synced up with my new phone; 
so I can have the data there also, especially all my contacts.

Thanks,
Kelly Shutt


ALL SYNC ATTEMPTS APPEAR TO MATCH THIS EXAMPLE FROM HORDE.LOG:

May 10 21:00:27 HORDE [debug] [horde] SQL Query by 
SessionHandler_mysql::read(): query = "SELECT session_data FROM 
horde_sessionhandler WHERE session_id = 
'syncml1BC5E400F57F861181634A2482BDC9A353954A4D235' AND 
session_lastmodified > 1178847387 FOR UPDATE" [on line 105 of 
"/usr/share/php/Horde/SessionHandler/mysql.php"]
May 10 21:00:27 HORDE [debug] [horde] SyncML: New session created: 
syncml1BC5E400F57F861181634A2482BDC9A353954A4D235 [on line 172 of 
"/usr/share/php/SyncML.php"]
May 10 21:00:27 HORDE [debug] [horde] SyncML: checking auth for 
user=tetrahedron [on line 261 of "/usr/share/php/SyncML/State.php"]
May 10 21:00:27 HORDE [debug] [horde] SQL Query by 
Prefs_sql::retrieve(): SELECT pref_scope, pref_name, pref_value FROM 
horde_prefs WHERE pref_uid = ? AND (pref_scope = ? OR pref_scope = 
'horde') ORDER BY pref_scope [on line 137 of 
"/usr/share/php/Horde/Prefs/sql.php"]
May 10 21:00:27 HORDE [debug] [horde] SyncML: authorized=1 version=1 
msgid=1 source=1BC5E400F57F861181634A2482BDC9A353954A4D 
target=http://webmail.whycomehere.com/rpc.php user=tetrahedron 
charset=UTF-8 wbxml=1 [on line 226 of "/usr/share/php/SyncML.php"]
May 10 21:00:28 HORDE [debug] [horde] SyncML: looking for sync for 
calendar [on line 263 of "/usr/share/php/SyncML/Command/Alert.php"]
May 10 21:00:28 HORDE [debug] [horde] SyncML: Create new sync for 
calendar [on line 269 of "/usr/share/php/SyncML/Command/Alert.php"]
May 10 21:00:28 HORDE [debug] [horde] SyncML: create for 
syncType=calendar [on line 51 of "/usr/share/php/SyncML/Sync.php"]
May 10 21:00:28 HORDE [debug] [horde] SQL Query by 
DataTree_sql::_buildParentIds(): SELECT datatree_id, datatree_parents 
FROM horde_datatree WHERE datatree_name = ? AND group_uid = ? ORDER BY 
datatree_id [on line 261 of "/usr/share/php/Horde/DataTree/sql.php"]
May 10 21:00:28 HORDE [debug] [horde] SQL Query by 
DataTree_sql::_load(): SELECT c.datatree_id, c.datatree_name, 
c.datatree_parents, c.datatree_order FROM horde_datatree c WHERE 
c.group_uid = 'syncml'  [on line 130 of 
"/usr/share/php/Horde/DataTree/sql.php"]
May 10 21:00:28 HORDE [debug] [horde] SQL Query by 
DataTree_sql::_buildParentIds(): SELECT datatree_id, datatree_parents 
FROM horde_datatree WHERE datatree_name = ? AND group_uid = ? ORDER BY 
datatree_id [on line 261 of "/usr/share/php/Horde/DataTree/sql.php"]
May 10 21:00:28 HORDE [debug] [horde] SQL Query by 
DataTree_sql::_load(): SELECT c.datatree_id, c.datatree_name, 
c.datatree_parents, c.datatree_order FROM horde_datatree c WHERE 
c.group_uid = 'syncml'  [on line 130 of 
"/usr/share/php/Horde/DataTree/sql.php"]
May 10 21:00:28 HORDE [debug] [horde] SyncML: SyncML: No info about 
previous syncs found for id 
tetrahedron:1BC5E400F57F861181634A2482BDC9A353954A4D and database 
calendar [on line 96 of "/usr/share/php/SyncML/Command/Alert.php"]
May 10 21:00:28 HORDE [debug] [horde] SyncML: SyncML: Anchor mismatch, 
enforcing SlowSync [on line 119 of 
"/usr/share/php/SyncML/Command/Alert.php"]
May 10 21:00:28 HORDE [debug] [horde] SyncML: looking for sync for tasks 
[on line 263 of "/usr/share/php/SyncML/Command/Alert.php"]
May 10 21:00:28 HORDE [debug] [horde] SyncML: Create new sync for tasks 
[on line 269 of "/usr/share/php/SyncML/Command/Alert.php"]
May 10 21:00:28 HORDE [debug] [horde] SyncML: create for syncType=tasks 
[on line 51 of "/usr/share/php/SyncML/Sync.php"]
May 10 21:00:28 HORDE [debug] [horde] SQL Query by 
DataTree_sql::_buildParentIds(): SELECT datatree_id, datatree_parents 
FROM horde_datatree WHERE datatree_name = ? AND group_uid = ? ORDER BY 
datatree_id [on line 261 of "/usr/share/php/Horde/DataTree/sql.php"]
May 10 21:00:28 HORDE [debug] [horde] SQL Query by 
DataTree_sql::_load(): SELECT c.datatree_id, c.datatree_name, 
c.datatree_parents, c.datatree_order FROM horde_datatree c WHERE 
c.group_uid = 'syncml'  [on line 130 of 
"/usr/share/php/Horde/DataTree/sql.php"]
May 10 21:00:28 HORDE [debug] [horde] SQL Query by 
DataTree_sql::_buildParentIds(): SELECT datatree_id, datatree_parents 
FROM horde_datatree WHERE datatree_name = ? AND group_uid = ? ORDER BY 
datatree_id [on line 261 of "/usr/share/php/Horde/DataTree/sql.php"]
May 10 21:00:28 HORDE [debug] [horde] SQL Query by 
DataTree_sql::_load(): SELECT c.datatree_id, c.datatree_name, 
c.datatree_parents, c.datatree_order FROM horde_datatree c WHERE 
c.group_uid = 'syncml'  [on line 130 of 
"/usr/share/php/Horde/DataTree/sql.php"]
May 10 21:00:28 HORDE [debug] [horde] SyncML: SyncML: No info about 
previous syncs found for id 
tetrahedron:1BC5E400F57F861181634A2482BDC9A353954A4D and database tasks 
[on line 96 of "/usr/share/php/SyncML/Command/Alert.php"]
May 10 21:00:28 HORDE [debug] [horde] SyncML: SyncML: Anchor mismatch, 
enforcing SlowSync [on line 119 of 
"/usr/share/php/SyncML/Command/Alert.php"]
May 10 21:00:28 HORDE [debug] [horde] SyncML: looking for sync for 
contacts [on line 263 of "/usr/share/php/SyncML/Command/Alert.php"]
May 10 21:00:28 HORDE [debug] [horde] SyncML: Create new sync for 
contacts [on line 269 of "/usr/share/php/SyncML/Command/Alert.php"]
May 10 21:00:28 HORDE [debug] [horde] SyncML: create for 
syncType=contacts [on line 51 of "/usr/share/php/SyncML/Sync.php"]
May 10 21:00:28 HORDE [debug] [horde] SQL Query by 
DataTree_sql::_buildParentIds(): SELECT datatree_id, datatree_parents 
FROM horde_datatree WHERE datatree_name = ? AND group_uid = ? ORDER BY 
datatree_id [on line 261 of "/usr/share/php/Horde/DataTree/sql.php"]
May 10 21:00:28 HORDE [debug] [horde] SQL Query by 
DataTree_sql::_load(): SELECT c.datatree_id, c.datatree_name, 
c.datatree_parents, c.datatree_order FROM horde_datatree c WHERE 
c.group_uid = 'syncml'  [on line 130 of 
"/usr/share/php/Horde/DataTree/sql.php"]
May 10 21:00:28 HORDE [debug] [horde] SQL Query by 
DataTree_sql::_buildParentIds(): SELECT datatree_id, datatree_parents 
FROM horde_datatree WHERE datatree_name = ? AND group_uid = ? ORDER BY 
datatree_id [on line 261 of "/usr/share/php/Horde/DataTree/sql.php"]
May 10 21:00:28 HORDE [debug] [horde] SQL Query by 
DataTree_sql::_load(): SELECT c.datatree_id, c.datatree_name, 
c.datatree_parents, c.datatree_order FROM horde_datatree c WHERE 
c.group_uid = 'syncml'  [on line 130 of 
"/usr/share/php/Horde/DataTree/sql.php"]
May 10 21:00:28 HORDE [debug] [horde] SyncML: SyncML: No info about 
previous syncs found for id 
tetrahedron:1BC5E400F57F861181634A2482BDC9A353954A4D and database 
contacts [on line 96 of "/usr/share/php/SyncML/Command/Alert.php"]
May 10 21:00:28 HORDE [debug] [horde] SyncML: SyncML: Anchor mismatch, 
enforcing SlowSync [on line 119 of 
"/usr/share/php/SyncML/Command/Alert.php"]
May 10 21:00:28 HORDE [debug] [horde] SyncML: SyncML: return message 
completed [on line 513 of "/usr/share/php/SyncML.php"]
May 10 21:00:32 HORDE [debug] [horde] SQL Query by 
SessionHandler_mysql::read(): query = "SELECT session_data FROM 
horde_sessionhandler WHERE session_id = 
'syncml1BC5E400F57F861181634A2482BDC9A353954A4D235' AND 
session_lastmodified > 1178847392 FOR UPDATE" [on line 105 of 
"/usr/share/php/Horde/SessionHandler/mysql.php"]
May 10 21:00:32 HORDE [debug] [horde] SyncML: New session created: 
syncml1BC5E400F57F861181634A2482BDC9A353954A4D235 [on line 172 of 
"/usr/share/php/SyncML.php"]
May 10 21:00:32 HORDE [debug] [horde] SyncML: authorized= version=1 
msgid=2 source=1BC5E400F57F861181634A2482BDC9A353954A4D 
target=http://webmail.whycomehere.com/rpc.php user=tetrahedron 
charset=UTF-8 wbxml=1 [on line 226 of "/usr/share/php/SyncML.php"]
May 10 21:00:32 HORDE [error] [horde] SyncML: No sync object found for 
URI = calendar [on line 61 of "/usr/share/php/SyncML/Command/Sync.php"]


More information about the sync mailing list