RoadSync V4

Discussion about the PHP backend based on Zend-Framework

RoadSync V4

Postby halfbeep » Thu Dec 10, 2009 3:08 am

Calendar blues birthdays get shoved across two days (not an issue), i can deal with this by making the birthday an hour long rather than an all day event ;-)

But a much bigger problem is when i add a calendar event to the phone and try and sync it fails suggesting that i reset the phone calendar to blank, so with the current config it's not possible to add synced events to the phone - point me to the code i'll look at this, any ideas welcome

this is the extract from the symbian log:-

Initiating Submission of the HTTP Transaction (Symbian)
URL (Built) : http://82.3.164.239/Microsoft-Server-Ac ... o&Cmd=Sync
DSymbianHTTPTransaction::SubmitSymbianTransaction() - SubmitL() successfull.
DSymbianHTTPTransaction::OverallDataSize() - Data Size: 0x268
DSymbianHTTPTransaction::OverallDataSize() - Data Size: 0x268
Send LAST chunk: 0x268
MHFRunL() - STATUS: 0x4
10/12/2009 00:48:41
DSymbianHTTPSession::MHFRunL() - EGotResponseHeaders: 200 OK
Content-Length: 0x66
MHFRunL() - DONE: 0x0
MHFRunL() - STATUS: 0x5
10/12/2009 00:48:41
DSymbianHTTPSession::MHFRunL() - EGotResponseBodyData Size:0x66
MHFRunL() - DONE: 0x0
MHFRunL() - STATUS: 0x6
10/12/2009 00:48:41
DSymbianHTTPSession::MHFRunL() - EResponseComplete
DSymbianHTTPSession::MHFRunL() - ESucceeded
Recieved HTTP Transaction Response (Symbian)
DActiveSyncEngine::ProcessCurrentCommandResponse() : EActiveSyncStep_CalendarSyncCmd
Processing set of updates
ProcessSyncCommandAnswer() - Got STATUS : 0x1
Next CALENDAR Sync Key : 3
Recieved Changes from Server. COUNT : 0x1
MHFRunL() - DONE: 0x0
*Item Node received with Status : 0x5
ProcessChangeFromExchange() - Got STATUS : 0x5
DActiveSyncDataManager::RunTask() - END Status Error : 0x7371107
DActiveSyncDataManager::RunTask() - END Current State : 0x20
*** Sync failed due to a corrupted link to the Exchange Server account.Please try to sync again! If this error persists, please open the RoadSync 'Calendar' settings, select 'Reset Calendar Data' and try syncing again.

0x7371107 (ASDataManagerErrBadStatus)
***Sync failed!

and tine20 logs:-
2009-12-10T00:51:38+00:00 DEBUG (7): Tinebase_Group::getInstance::60 groups backend: Sql
2009-12-10T00:51:38+00:00 DEBUG (7): ActiveSync_Frontend_Http::handlePost::87 Agent: RoadSync-S60/4.0 PolicyKey: 0 ASVersion: 2.5 Command: Sync
2009-12-10T00:51:38+00:00 DEBUG (7): ActiveSync_Frontend_Http::handlePost::99 class name: ActiveSync_Command_Sync
2009-12-10T00:51:38+00:00 DEBUG (7): ActiveSync_Command_Wbxml::__construct::95 decoded wbxml content: <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE AirSync PUBLIC "-//AIRSYNC//DTD AirSync//EN" "http://www.microsoft.com/">
<Sync xmlns="uri:AirSync" xmlns:Calendar="uri:Calendar"><Collections><Collection><Class>Calendar</Class><SyncKey>2</SyncKey><CollectionId>calendar-root</CollectionId><DeletesAsMoves/><GetChanges/><WindowSize>50</WindowSize><Options><FilterType>4</FilterType><Truncation>4</Truncation><RtfTruncation>4</RtfTruncation><Conflict>1</Conflict></Options><Commands><Change><ServerId>91dc09d9d3079f8566cad04f325ff874861026b6</ServerId><ApplicationData><Calendar:Timezone>xP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAAAFAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAFAAIAAAAAAAAAxP///w==</Calendar:Timezone><Calendar:AllDayEvent>1</Calendar:AllDayEvent><Calendar:Attendees><Calendar:Attendee><Calendar:Email>fc@xabado.com</Calendar:Email><Calendar:Name/></Calendar:Attendee></Calendar:Attendees><Calendar:BusyStatus>2</Calendar:BusyStatus><Calendar:DtStamp>20091210T004839Z</Calendar:DtStamp><Calendar:EndTime>20091217T225900Z</Calendar:EndTime><Calendar:Location>London</Calendar:Location><Calendar:MeetingStatus>1</Calendar:MeetingStatus><Calendar:Reminder>1440</Calendar:Reminder><Calendar:Sensitivity>0</Calendar:Sensitivity><Calendar:Subject>Gavs Birthday</Calendar:Subject><Calendar:StartTime>20091216T230000Z</Calendar:StartTime><Calendar:UID>91dc09d9d3079f8566cad04f325ff874861026b6</Calendar:UID><Calendar:Recurrence><Calendar:Type>5</Calendar:Type><Calendar:Until>21001231T000000Z</Calendar:Until><Calendar:Interval>1</Calendar:Interval><Calendar:DayOfMonth>17</Calendar:DayOfMonth><Calendar:MonthOfYear>12</Calendar:MonthOfYear></Calendar:Recurrence><Calendar:Exceptions><Calendar:Exception><Calendar:Deleted>1</Calendar:Deleted><Calendar:ExceptionStartTime>20091216T230000Z</Calendar:ExceptionStartTime></Calendar:Exception></Calendar:Exceptions></ApplicationData></Change></Commands></Collection></Collections></Sync>

2009-12-10T00:51:38+00:00 DEBUG (7): ActiveSync_Command_Wbxml::__construct::101 sync timestamp: 2009-12-10 00:51:38
2009-12-10T00:51:38+00:00 INFO (6): ActiveSync_Command_Sync::handle::130 SyncKey is 2 Class: Calendar CollectionId: calendar-root
2009-12-10T00:51:38+00:00 INFO (6): ActiveSync_Command_Sync::handle::192 found 1 entries to be updated on server
2009-12-10T00:51:38+00:00 DEBUG (7): ActiveSync_Controller_Abstract::change::274 CollectionId: calendar-root Id: 91dc09d9d3079f8566cad04f325ff874861026b6
2009-12-10T00:51:38+00:00 DEBUG (7): ActiveSync_TimezoneConverter::_loadFromCache::638 found in cache: ActiveSync_TimezoneConvertergetListOfTimezonescb28bcf191dba0548c48e9d102f07319
2009-12-10T00:51:39+00:00 DEBUG (7): ActiveSync_TimezoneConverter::getListOfTimezones::197 Matching timezones: Array
(
[Europe/Berlin] => CET
)

#3 C:\AppServ\www\ActiveSync\Controller\Abstract.php(278): ActiveSync_Controller_Calendar->_toTineModel(Object(SimpleXMLElement), Object(Calendar_Model_Event))
#4 C:\AppServ\www\ActiveSync\Command\Sync.php(196): ActiveSync_Controller_Abstract->change('calendar-root', '91dc09d9d3079f8...', Object(SimpleXMLElement))
#5 C:\AppServ\www\ActiveSync\Frontend\Http.php(102): ActiveSync_Command_Sync->handle()
#6 C:\AppServ\www\ActiveSync\Server\Http.php(88): ActiveSync_Frontend_Http->handlePost('fc', '356810031283155', 'SEMCSatio', 'Sync')
#7 C:\AppServ\www\Tinebase\Core.php(162): ActiveSync_Server_Http->handle()
#8 C:\AppServ\www\index.php(51): Tinebase_Core::dispatchRequest()
#9 {main}
2009-12-10T00:51:39+00:00 INFO (6): ActiveSync_Command_Sync::getResponse::362 found (added/changed/deleted) 0/0/0 entries for sync from server to client
2009-12-10T00:51:39+00:00 INFO (6): ActiveSync_Command_Sync::getResponse::426 new synckey is 3
2009-12-10T00:51:39+00:00 DEBUG (7): ActiveSync_Controller::updateSyncKey::304 update synckey to 3
2009-12-10T00:51:39+00:00 DEBUG (7): ActiveSync_Command_Wbxml::getResponse::129 <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE AirSync PUBLIC "-//AIRSYNC//DTD AirSync//EN" "http://www.microsoft.com/">
<Sync xmlns="uri:AirSync" xmlns:Contacts="uri:Contacts" xmlns:Tasks="uri:Tasks" xmlns:Email="uri:Email" xmlns:Calendar="uri:Calendar" xmlns:AirSyncBase="uri:AirSyncBase"><Collections><Collection><Class>Calendar</Class><SyncKey>3</SyncKey><CollectionId>calendar-root</CollectionId><Status>1</Status><Responses><Change><ServerId>91dc09d9d3079f8566cad04f325ff874861026b6</ServerId><Status>5</Status></Change></Responses></Collection></Collections></Sync>

2009-12-10T00:51:39+00:00 DEBUG (7): index.php (63) TIME: 2.01699185371 seconds 10.5 MBytes
halfbeep
 
Posts: 26
Joined: Wed Nov 04, 2009 3:20 am

Re: RoadSync V4

Postby lkneschke » Thu Dec 10, 2009 4:14 pm

#3 C:\AppServ\www\ActiveSync\Controller\Abstract.php(278): ActiveSync_Controller_Calendar->_toTineModel(Object(SimpleXMLElement), Object(Calendar_Model_Event))
#4 C:\AppServ\www\ActiveSync\Command\Sync.php(196): ActiveSync_Controller_Abstract->change('calendar-root', '91dc09d9d3079f8...', Object(SimpleXMLElement))
#5 C:\AppServ\www\ActiveSync\Frontend\Http.php(102): ActiveSync_Command_Sync->handle()
#6 C:\AppServ\www\ActiveSync\Server\Http.php(88): ActiveSync_Frontend_Http->handlePost('fc', '356810031283155', 'SEMCSatio', 'Sync')
#7 C:\AppServ\www\Tinebase\Core.php(162): ActiveSync_Server_Http->handle()
#8 C:\AppServ\www\index.php(51): Tinebase_Core::dispatchRequest()
#9 {main}


The stack trace is not complete. Can you check your error_log file? Seems like updateing the calendar event fails.
Lars Kneschke
Head of Tine 2.0

Visit http://www.tine20.com for commercial support / consulting / development.
Visit http://www.officespot20.com for Tine 2.0 hosting.
User avatar
lkneschke
Tine 2.0 Core Developer
 
Posts: 804
Joined: Tue Nov 06, 2007 7:31 pm
Location: Hamburg, Germany

Re: RoadSync V4

Postby halfbeep » Thu Dec 10, 2009 5:40 pm

below are all the logs i have, is there something else i can log? this may be connected to having to reduce the length of the collectionid from 255 to 108 bytes
"90 invalid synckey 3 provided"

this all of the Symbian log:-

DSymbianHTTPSession::MHFRunL() - EGotResponseHeaders: 200 OK
Content-Length: 0x86
MHFRunL() - DONE: 0x0
MHFRunL() - STATUS: 0x5
10/12/2009 15:31:01
DSymbianHTTPSession::MHFRunL() - EGotResponseBodyData Size:0x86
MHFRunL() - DONE: 0x0
MHFRunL() - STATUS: 0x6
10/12/2009 15:31:01
DSymbianHTTPSession::MHFRunL() - EResponseComplete
DSymbianHTTPSession::MHFRunL() - ESucceeded
Recieved HTTP Transaction Response (Symbian)
DActiveSyncEngine::ProcessCurrentCommandResponse() : EActiveSyncStep_GetItemEstimateCmd
Sync FAILED! Exchange reported error status: 4

*** Sync failed due to a corrupted link to the Exchange Server account.Please try to sync again! If this error persists, please open the Advanced Settings dialog and perform a "Reset All Data" and try syncing again.

0x7371107 (ASDataManagerErrBadStatus)
***Sync failed!
10/12/2009 15:31:01
Heap Usage: 1048456
Heap Available: 705884


this all of the Tine20 log:-

2009-12-10T15:31:35+00:00 DEBUG (7): trying to authenticate fc
2009-12-10T15:31:35+00:00 DEBUG (7): authentication of fc succeeded
2009-12-10T15:31:35+00:00 DEBUG (7): Tinebase_User::getInstance::54 accounts backend: Sql
2009-12-10T15:31:35+00:00 DEBUG (7): Tinebase_Group::getInstance::60 groups backend: Sql
2009-12-10T15:31:35+00:00 DEBUG (7): ActiveSync_Frontend_Http::handlePost::87 Agent: RoadSync-S60/4.0 PolicyKey: 0 ASVersion: 2.5 Command: GetItemEstimate
2009-12-10T15:31:35+00:00 DEBUG (7): ActiveSync_Frontend_Http::handlePost::99 class name: ActiveSync_Command_GetItemEstimate
2009-12-10T15:31:35+00:00 DEBUG (7): ActiveSync_Command_Wbxml::__construct::95 decoded wbxml content: <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE AirSync PUBLIC "-//AIRSYNC//DTD AirSync//EN" "http://www.microsoft.com/">
<GetItemEstimate xmlns="uri:ItemEstimate" xmlns:AirSync="uri:AirSync"><Collections><Collection><Class>Calendar</Class><CollectionId>calendar-root</CollectionId><AirSync:FilterType>7</AirSync:FilterType><AirSync:SyncKey>3</AirSync:SyncKey></Collection><Collection><Class>Contacts</Class><CollectionId>addressbook-root</CollectionId><AirSync:FilterType>0</AirSync:FilterType><AirSync:SyncKey>3</AirSync:SyncKey></Collection><Collection><Class>Tasks</Class><CollectionId>tasks-root</CollectionId><AirSync:FilterType>0</AirSync:FilterType><AirSync:SyncKey>2</AirSync:SyncKey></Collection></Collections></GetItemEstimate>

2009-12-10T15:31:35+00:00 DEBUG (7): ActiveSync_Command_Wbxml::__construct::101 sync timestamp: 2009-12-10 15:31:35
2009-12-10T15:31:35+00:00 INFO (6): ActiveSync_Command_GetItemEstimate::handle::87 synckey is 3 class: Calendar collectionid: calendar-root filtertype: 7
2009-12-10T15:31:35+00:00 WARN (4): ActiveSync_Command_GetItemEstimate::handle::90 invalid synckey 3 provided
2009-12-10T15:31:35+00:00 INFO (6): ActiveSync_Command_GetItemEstimate::handle::87 synckey is 3 class: Contacts collectionid: addressbook-root filtertype: 0
2009-12-10T15:31:35+00:00 WARN (4): ActiveSync_Command_GetItemEstimate::handle::90 invalid synckey 3 provided
2009-12-10T15:31:35+00:00 INFO (6): ActiveSync_Command_GetItemEstimate::handle::87 synckey is 2 class: Tasks collectionid: tasks-root filtertype: 0
2009-12-10T15:31:35+00:00 WARN (4): ActiveSync_Command_GetItemEstimate::getResponse::107 invalid synckey 3 provided
2009-12-10T15:31:35+00:00 WARN (4): ActiveSync_Command_GetItemEstimate::getResponse::107 invalid synckey 3 provided
2009-12-10T15:31:35+00:00 DEBUG (7): ActiveSync_Command_Wbxml::getResponse::129 <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE AirSync PUBLIC "-//AIRSYNC//DTD AirSync//EN" "http://www.microsoft.com/">
<GetItemEstimate xmlns="uri:ItemEstimate"><Response><Status>4</Status><Collection><Class>Calendar</Class><CollectionId>calendar-root</CollectionId><Estimate>0</Estimate></Collection></Response><Response><Status>4</Status><Collection><Class>Contacts</Class><CollectionId>addressbook-root</CollectionId><Estimate>0</Estimate></Collection></Response><Response><Status>1</Status><Collection><Class>Tasks</Class><CollectionId>tasks-root</CollectionId><Estimate>0</Estimate></Collection></Response></GetItemEstimate>

2009-12-10T15:31:35+00:00 DEBUG (7): index.php (63) TIME: 0.886011838913 seconds 8.75 MBytes
2009-12-10T15:32:10+00:00 DEBUG (7): Tinebase_Core::setupLogger::309 logger initialized
halfbeep
 
Posts: 26
Joined: Wed Nov 04, 2009 3:20 am

Re: RoadSync V4

Postby Rosemarry » Fri Jun 25, 2010 7:49 am

DataViz is out with the latest version of their Microsoft Exchange ActiveSync client, RoadSync 4.0. RoadSync v4.0 has several new and improved features taking Exchange ActiveSync connectivity on Symbian S60 based devices to the next level. Of these new enhancements, they focused on a couple game changing productivity features like HTML e-mail and tasks and combined them with a few fun enhancements like Contact Photos.
Rose.....
Rosemarry
 
Posts: 1
Joined: Fri Jun 25, 2010 7:44 am


Return to PHP backend discussion

Who is online

Users browsing this forum: No registered users and 2 guests

'