Skip to content
xbgmsharp edited this page Mar 9, 2013 · 1 revision

Please read the README to configure correctly PHP-Push-2.

All backend IMAP/CALDAV/CARDAV must use the same user/password pair.

Installation

Z-Push is mean to be use with mod_php, if using FastCGI, additional configuration are need in Apache

SetEnvIfNoCase ^Authorization$ "(.+)" PHP_AUTH_DIGEST_RAW=$1

Dependency error

libawl-php

If you are unable to find the package.

libawl-php is part of Redhat and Debian, but it is not available for SME and CentOS.

You can find the package at http://debian.mcmillan.net.nz/packages/awl/

PHP Error

Check for any entry in the error log of your web server.

mapi_prop_tag

PHP Fatal error: Call to undefined function mapi_prop_tag()

You did not copy/used the config template name 'config.inc.php'. The default z-push configuration file is pre-configure to work with Zafara and require php-mapi which is not need in our case.

fsockopen()

include/caldav-client-v2.php:304 fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Name or service not known (2)

Check your config.php and fix the typo in the host name.

XMLDocument.php

PHP Fatal error: require_once(): Failed opening required 'XMLDocument.php'

There is multiple choice.

Ensure you install the need dependency, in this case libawl-php.

You did not copy/used the config template name 'config.inc.php' as seen in issue 16

BackendICS

PHP Fatal error: Class 'BackendICS' not found

You did not copy/used the config template name 'config.inc.php' as well as the combined config template 'backend/combined/config.inc.php', the BACKEND_PROVIDER need to be like below to active Caldav/Carddav and IMAP backend. $BACKEND_PROVIDER = "BackendCombined";

No action are require after you copy 'backend/combined/config.inc.php' to 'backend/combined/config.php'

Undefined index: DAV::href

include/caldav-client-v2.php:777 Undefined index: DAV::href (8)

The following error mean the URL is not correct. caldav-client is unable to parse XML because the URL is not correct. Try using http://www.restclient.net/ to test the URL with the PROPFIND method.