2010年1月19日星期二

Re: [fw-mvc] Little trouble with Zend Framework 1.10.0

To be honest, I had the same problem too. Only thing is, I didn't knew
it was coming from XDebug (because I'm using it too). We tracked down
the problem for hours, and never found what could be including this
Zend_Exception... eventually, the problem solved itself and we never new
what happened.

- Nicolas

Jan Pieper a écrit :
> I have the same problem with XCache and ZF, but only on my windows maschine and
> only the second request fails. It seems to be a bug in XCache. Could be fixed in
> newer XCache releases, but i never checked whether it works with newer releases.
>
> http://forum.lighttpd.net/topic/100351
> http://xcache.lighttpd.net/ticket/14
>
> Regards,
> Jan
>
>> I'm sorry, but i mean xcache not xdebug.
>>
>> 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 <mailto: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 <mailto: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 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.
>>>> thanks
>>>>
>>>> Marcel
>>>> --
>>>> Weeaar
>>>> Web- und Softwareentwicklung
>>>>
>>>> http://www.weeaar.com/
>>>>
>>>> Tel: +49 (0)30 2089 6809
>>>> Mail: m.alburg@weeaar.com <mailto:m.alburg@weeaar.com>
>>>>
>>>> SteuerID: 049 / 200 / 00385
>>>> Inhaber: Marcel Alburg
>>>> -------
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> www.beatboat.de <http://www.beatboat.de> - Dein Musikpreisvergleich
>>>> Nominiert für den Onlinestar 2009
>>>>
>>>>
>>> --
>>> Matthew Weier O'Phinney
>>> Project Lead | matthew@zend.com <mailto: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 <http://www.beatboat.de> - Dein Musikpreisvergleich
>>
>> Nominiert 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.
>>
>>
>>
>
>
>
>

没有评论: