Error in ipcmemcachedprovider.php
-
Hello
Having an issue when runing Z-push (clients are not syncing).
Running z-push-admin -a fixstates I get:
Validating and fixing states (this can take some time): 15:35:18 Checking username casings: Processed: 54 - Converted: 0 - Removed: 0 15:35:18 Checking available devicedata & user linking: PHP Fatal error: Declaration of IpcMemcachedProvider::__construct($type, $allocate, $class) must be compatible with IIpcProvider::__construct($type, $allocate, $class, $serverKey) in /usr/share/z-push/backend/ipcmemcached/ipcmemcachedprovider.php on line 30
Ubuntu 16 server with zpush from repo (I guess the latest version ?)
Any pointer appreciated !
-
Hi @atakacs,
are you using IpcMemcachedProvider for IPC_PROVIDER? If yes, did you install/update z-push-ipc-memcached package?
Are there any errors in z-push.log?
Manfred
-
@Manfred said in Error in ipcmemcachedprovider.php:
are you using IpcMemcachedProvider for IPC_PROVIDER? If yes, did you install/update z-push-ipc-memcached package?
Are there any errors in z-push.log?
ManfredThanks - I confess not to be fully up to date in my admin skills…
I have updated z-push-ipc-memcached package.
I now get a dfferent error:
Validating and fixing states (this can take some time): 21:36:23 Checking username casings: PHP Fatal error: Class DiffState contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (IChanges::SetMoveStates, IChanges::GetMoveStates) in /opt/zimbra/z-push/z-push/lib/default/diffbackend/diffstate.php on line 51
-
Hi @atakacs,
I’m not familiar with the zimbra backend and I don’t know if the latest Z-Push version works with it, but I’d say the update is not complete. Class DiffState definitely implements those two methods.
Manfred
-
Seems like a broken z-push install.
I note you have installed it in /opt/zimbra …
Did you follow a tutorial that had you download and install z-push from somewhere other than the z-push repositories as this is clearly a non standard location?
Did you download the zimbra backend from somewhere other than the sourceforge site?