----- Original Message -----
From: "Matthew Weier O'Phinney" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, August 07, 2007 2:27 PM
Subject: Re: [fw-general] FlashMessenger - Indirect modification of
overloaded property
>-- Laurent Melmoux <[EMAIL PROTECTED]> wrote
>(on Tuesday, 07 August 2007, 10:14 PM +0200):
>>Kevin McArthur a écrit :
>>>The biggest issue is that the debian etch (now stable) distribution
>>>spec's on php 5.2.0 which currently causes an incompatibility between
>>>parts of Zend Framework and Debian.
>>It's what I'm using !
>
>Basically, it's an issue with PHP 5.2.0, and there isn't a way to
>provide the functionality with that one, single version. Go up a
>version, there are ways to do it that will work both with 5.2.1 and up
>as well as the 5.1.x series; same thing if you program towards 5.1.x.
>5.2.0 is the one version causing the issue.
>
>I had the issue with Zend_View at the time 5.2.0 was released, and in
>discussion with some of the PHP core devs discovered that a BC break had
>been made with that version. While the break wasn't completely changed
>for 5.2.1, it was modified enough that there were ways to implement the
>functionality.
>
>
>>>----- Original Message ----- From: "Matthew Weier O'Phinney"
>>><[EMAIL PROTECTED]>
>>>To: <[email protected]>
>>>Sent: Tuesday, August 07, 2007 1:18 PM
>>>Subject: Re: [fw-general] FlashMessenger - Indirect modification of
>>>overloaded property
>>>
>>>
>>>>-- Kevin McArthur <[EMAIL PROTECTED]> wrote
>>>>(on Tuesday, 07 August 2007, 01:08 PM -0600):
>>>>>Copying ralph on this directly. (he's resolving/testing these bugs
>>>>>in
>>>>>Zend_Session)
>>>>>
>>>>>This is a PHP bug, but one we need to seriously look at. It keeps
>>>>>rearing
>>>>>its ugly head in all sorts of components from flashmessenger to
>>>>>sessions,
>>>>>anything that uses overloads really is prone to this.
>>>>>
>>>>>Your immediate solution is to either upgrade or downgrade PHP -- not
>>>>>ideal
>>>>>I know.
>>>>
>>>>Basically, only version 5.2.0 should have this issue, assuming that
>>>>the
>>>>classes use either public properties or extend ArrayObject to
>>>>accomplish
>>>>such overloading. Upgrade to >= 5.2.1, or downgrade to 5.1.4 - 5.1.6.
>>>>
>>>>>If you could log this bug in the tracker it would be helpful as we
>>>>>track
>>>>>these down.
>>>>>
>>>>>Kevin
>>>>>----- Original Message ----- From: "Laurent Melmoux"
>>>>><[EMAIL PROTECTED]>
>>>>>To: <[email protected]>
>>>>>Sent: Tuesday, August 07, 2007 1:04 PM
>>>>>Subject: [fw-general] FlashMessenger - Indirect modification of
>>>>>overloaded
>>>>>property
>>>>>
>>>>>
>>>>>>Hi,
>>>>>>
>>>>>>I'm geting this error when using FlashMessenger Helper :
>>>>>>
>>>>>>Notice: Indirect modification of overloaded property
>>>>>>Zend_Session_Namespace::$default has no effect in
>>>>>>/www/2mx.int/library/Zend/Controller/Action/Helper/FlashMessenger.php
>>>>>on
>>>>>>line 133
>>>>>>
>>>>>>is it a bug ?
>>>>>>
>>>>>>I'm using php 5.2.0, with the lastest svn export.
>>>>>>
>>>>>>It's seems relatated to overloading array ?
>>>>>>http://weierophinney.net/matthew/archives/131-Overloading-arrays-in-PHP-5.2.0.html
>>>>>
>>>>>>
>>>>>>-- >Laurent Melmoux, [EMAIL PROTECTED]
>>>>>>Annecy - France
>>>>>>
>>>>>
>>>>
>>>>--
>>>>Matthew Weier O'Phinney
>>>>PHP Developer | [EMAIL PROTECTED]
>>>>Zend - The PHP Company | http://www.zend.com/
>>>
>>>
>>
>>
>>--
>>Laurent Melmoux, [EMAIL PROTECTED]
>>Annecy - France
>>
>
>--
>Matthew Weier O'Phinney
>PHP Developer | [EMAIL PROTECTED]
>Zend - The PHP Company | http://www.zend.com/