The Zend Framework guys are in the process of releasing v1.8 of their framework.
phpLiveDocx has been tested and is fully working with the most current version of the Zend Framework.
There is, however, one fundamental change in the way auto-loading works in Zend Framework 1.8. Learn more about the class family responsible for auto-loading (Zend_Loader_Autoloader) in the official Zend Framework documentation.
As the phpLiveDocx sample applications take advantage of auto-loading, it is necessary to update two lines in the file /samples/common.php or download the latest distribution file, in which the changes have already been implemented.
Take a look at lines 31 and 32 of common.php:
require_once 'Zend/Loader.php'; Zend_Loader::registerAutoload(); |
This needs to be changed to:
require_once 'Zend/Loader/Autoloader.php'; $autoloader = Zend_Loader_Autoloader::getInstance(); $autoloader->registerNamespace('Tis_'); |
As of phplivedocx-1.0-20090428 this change has been implemented in phpLiveDocx. Should, however, you want to use previous versions of phpLiveDocx with Zend Framework 1.8, you will have to update your projects as described above.