there is a problem with xdebug. Maybe xdebug create a class Zend_Exception and because of that it is not possible to recreate the class "Zend_Exception".
if i deinstall xdebug - it works correctly.
Does anybody have an idea to fix that - because i need xdebug.
Thanks
Marcel
Am 19.01.2010 um 01:12 schrieb Alvar Vilu:
Hi,
Try to use require_once();
Alvar
-----Original Message-----
From: Matthew Weier O'Phinney [mailto:matthew@zend.com]
Sent: Sunday, January 17, 2010 11:56 PM
To: fw-mvc@lists.zend.com
Subject: Re: [fw-mvc] Little trouble with Zend Framework 1.10.0
Marcel --
Please respond to the query I sent in fw-general; I need more
information from you in order to debug this.
-- Marcel Alburg <m.alburg@weeaar.com> wrote
(on Sunday, 17 January 2010, 10:43 PM +0100):Hello,i try the new and the old version from 1.10 and have the same error in theclass Zend_Exception.If i include/require the the class Zend/Exception.php i get the error:php test.phpFatal error: Cannot redeclare class Zend_Exception in /tmp/Exception.phpon line 28Call Stack:0.0020 90968 1. {main}() /tmp/test.php:00.0033 125432 2. require_once('/tmp/Exception.php')/tmp/test.php:2The File:<?phprequire_once 'Exception.php';My PHP Version is: 5.2.6-1+lenny4If i remove the else section in the Exception.php it works correctly andthe first section is load because my php version is lower than 5.3.0.thanksMarcel--WeeaarWeb- und Softwareentwicklunghttp://www.weeaar.com/Tel: +49 (0)30 2089 6809Mail: m.alburg@weeaar.comSteuerID: 049 / 200 / 00385Inhaber: Marcel Alburg-------www.beatboat.de - Dein MusikpreisvergleichNominiert für den Onlinestar 2009
--
Matthew Weier O'Phinney
Project Lead | matthew@zend.com
Zend Framework | http://framework.zend.com/
PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc
-- Weeaar Web- und Softwareentwicklung http://www.weeaar.com/ Tel: +49 (0)30 2089 6809 Mail: m.alburg@weeaar.com SteuerID: 049 / 200 / 00385 Inhaber: Marcel Alburg
-------
www.beatboat.de - Dein MusikpreisvergleichNominiert für den Onlinestar 2009 ------- Diese Information ist ausschliesslich fuer den Adressaten bestimmt und kann vertraulich oder gesetzlich geschuetzte Informationen enthalten. Wenn Sie nicht der bestimmungsgemaesse Adressat sind, unterrichten Sie bitte den Absender und vernichten Sie diese Mail. Anderen als dem bestimmungsgemaessen Adressaten ist es untersagt, diese E-Mail zu lesen, zu speichern, weiterzuleiten oder ihren Inhalt auf welche Weise auch immer zu verwenden. The information contained in this email is intended only for its addressee and may contain confidential and/or privileged information. If the reader of this email is not the intended recipient, you are hereby notified that reading, saving, distribution or use of the content of this email in any way is prohibited. If you have received this email in error, please notify the sender and delete the email.
没有评论:
发表评论