phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpgroupware-developers] Sync for phpGW: Milestone 3


From: Guillaume Courtois
Subject: Re: [Phpgroupware-developers] Sync for phpGW: Milestone 3
Date: Wed, 05 May 2004 15:13:32 +0000

> >>and "contact" is the source. Now the IPC
> >> interface of "contact" (->addressbook) is called. You have to copy the
> >> new IPC files from savannah_head/ipc_test_suite/sources to the API and
> >> to the module directorys, overwriting the old ones.

Ok, forget my other mail, it was my fault : my cvs checkout deleted the inc
directory of sync module :-(

So now, I do this :

$ipcManager =& CreateObject('phpgwapi.ipc_manager');
$sync =& $ipcManager->getIPC('sync');

$authresult = $sync->authenticate ($userid,$password,devsourcelocuri);

This one gives me a good result.

$DeviceID = $sync->AddDevice ( $phpgw_accountid, $devsourcelocuri, $userid,
$password );

This one tells me "Call to a member function on a non-object".

Where am I wrong ?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]