[sync] Sync fails with T610
Emre Bastuz
info at emre.de
Mon May 16 00:20:24 PDT 2005
Hi,
thanks to Chuck and Deryk for pointing me in the right direction -
after having
the xml2wbxml (and vice versa) tools installed I have made some progress.
The folder /tmp/sync now contains binary data and the converted ASCII XML
representation of the binary data.
Something still goes wrong though: when synching with the cell phone the synch
process fails after about 13-14 entries from my contacts or 3-4 entries
from my
calendar/tasks.
When I check /tmp/sync I see that those entries have been transmitted and
converted into XML.
Beside the fact that I have more then 13-14 entries in my contacts, the
transmitted entries are never being inserted into the mysql database.
My PHP Log says this during the transmission:
PHP Notice: A session had already been started - ignoring session_start() in
/usr/local/share/pear/Horde/SyncML.php on line 154
PHP Notice: A session had already been started - ignoring session_start() in
/usr/local/share/pear/Horde/SyncML.php on line 154
PHP Fatal error: Call to a member function on a non-object in
/usr/local/share/pear/Horde/SyncML/Command/Sync.php on line 52
The horde log has this to say:
SyncML: New session created: syncml1234567855 [on line 165 of
"/usr/local/share/pear/Horde/SyncML.php"]
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 132 of
"/usr/local/share/pear/Horde/Prefs/sql.php"]
SyncML: authorized=1 version=0 msgid=1 source=12345678
target=http://path.to/horde/rpc.php user=myuser charset=ISO-8859-1 [on
line 219
of "/usr/local/share/pear/Horde/SyncML.php"]
SyncML: looking for sync for calendar [on line 260 of
"/usr/local/share/pear/Horde/SyncML/Command/Alert.php"]
SyncML: Create new sync for calendar [on line 266 of
"/usr/local/share/pear/Horde/SyncML/Command/Alert.php"]
SQL Query by DataTree_sql::_buildParentIds(): SELECT datatree_id,
datatree_parents FROM horde_datatree WHERE datatree_name = 'calendar' AND
group_uid = 'syncml' ORDER BY datatree_id [on line 257 of
"/usr/local/share/pear/Horde/DataTree/sql.php"]
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 118 of "/usr/local/share/pear/Horde/DataTree/sql.php"]
SyncML: SyncML: No info about previous syncs found for id myuser:12345678and
database calendar [on line 99 of
"/usr/local/share/pear/Horde/SyncML/Command/Alert.php"]
SyncML: SyncML: Anchor mismatch, enforcing SlowSync [on line 121 of
"/usr/local/share/pear/Horde/SyncML/Command/Alert.php"]
SyncML: looking for sync for tasks [on line 260 of
"/usr/local/share/pear/Horde/SyncML/Command/Alert.php"]
SyncML: Create new sync for tasks [on line 266 of
"/usr/local/share/pear/Horde/SyncML/Command/Alert.php"]
SQL Query by DataTree_sql::_buildParentIds(): SELECT datatree_id,
datatree_parents FROM horde_datatree WHERE datatree_name = 'tasks' AND
group_uid = 'syncml' ORDER BY datatree_id [on line 257 of
"/usr/local/share/pear/Horde/DataTree/sql.php"]
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 118 of "/usr/local/share/pear/Horde/DataTree/sql.php"]
SyncML: SyncML: No info about previous syncs found for id myuser:12345678and
database tasks [on line 99 of
"/usr/local/share/pear/Horde/SyncML/Command/Alert.php"]
SyncML: SyncML: Anchor mismatch, enforcing SlowSync [on line 121 of
"/usr/local/share/pear/Horde/SyncML/Command/Alert.php"]
SyncML: SyncML: return message completed [on line 489 of
"/usr/local/share/pear/Horde/SyncML.php"]
I have also logged the SQL queries via Mysql and re-issued them just to
see what
entries are found. It seems the queries
SELECT datatree_id, datatree_parents FROM horde_datatree WHERE datatree_name =
'calendar' AND group_uid = 'syncml' ORDER BY datatree_id;
SELECT c.datatree_id, c.datatree_name, c.datatree_parents,
c.datatree_order FROM
horde_datatree c WHERE c.group_uid = 'syncml'
SELECT datatree_id, datatree_parents FROM horde_datatree WHERE datatree_name =
'tasks' AND group_uid = 'syncml' ORDER BY datatree_id
and
SELECT c.datatree_id, c.datatree_name, c.datatree_parents,
c.datatree_order FROM
horde_datatree c WHERE c.group_uid = 'syncml'
return no row/s.
Is this normal?
Any idea how I should proceed?
Emre
--
info at emre.de http://www.emre.de
UIN: 561260 PGP Key ID: 0xAFAC77FD
I don't see why some people even HAVE cars. -- Calvin
More information about the sync
mailing list