-- Marcel Alburg <[email protected]> wrote (on Friday, 15 January 2010, 05:31 PM +0100): > i try the new and the old version from 1.10 and have the same error in the > class Zend_Exception. > > If i include/require the the class Zend/Exception.php i get the error: > > php test.php > > Fatal error: Cannot redeclare class Zend_Exception in /tmp/Exception.php on > line 28 > > Call Stack: > 0.0020 90968 1. {main}() /tmp/test.php:0 > 0.0033 125432 2. require_once('/tmp/Exception.php') /tmp/test.php:2 > > > The File: > > <?php > require_once 'Exception.php'; > > My PHP Version is: 5.2.6-1+lenny4 > > If i remove the else section in the Exception.php it works correctly > and the first section is load because my php version is lower than > 5.3.0.
I'm a bit befuddled -- why is the Zend_Exception class in /tmp/Exception.php? It should be somewhere in your ZF install, in a "Zend" subdirectory. Can you provide a bit more information about your install? I've been running off of trunk for quite some time, and honestly have never experienced what you report. My inclination is that it's installation or environment specific, but I'd like to track it down if possible. -- Matthew Weier O'Phinney Project Lead | [email protected] Zend Framework | http://framework.zend.com/ PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc
