-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with Zimbra-Api #3
Comments
The problem in the tutorial is that the path is incorrect :
instead of
With this config, I have another error :
|
The first problem in the tutorial is that you cannot call "new" with a static method.
Hast to be:
|
Hello.
I install zimbra/soap-api and when I run the phpunit *, everything seems to be ok.
When I use this code :
$api = new \Zimbra\AdminFactory::instance('https://localhost:7071/service/admin/soap');
,I have a problem :
Parse error: syntax error, unexpected 'instance' (T_STRING), expecting variable (T_VARIABLE) or '$' in.
So I change it by :
$js = new \Zimbra\Enum\RequestFormat('js');$api = new \Zimbra\Admin\Http('https://<hostname>:7071/service/admin/soap/', $js);
but another problem :
Fatal error: Call to undefined method Zimbra\Soap\Client\Http::format() in.
Could you help me ?
Thanks
The text was updated successfully, but these errors were encountered: