Quantcast

update to r889 breaks at Zend_Config_Exception

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

update to r889 breaks at Zend_Config_Exception

OpenMacNews-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

updating to ZF r889, on OSX 10.4.7 + php5.2-dev, on attempted access to
a previously working site, i get error of:

Fatal error: Cannot access protected property
Zend_Config_Exception::$file in
/webapps/tools/zend_framework/library/Zend/Config.php on line 112

checking in the file, I find:

                } else {
112:            throw new Zend_Config_Exception('Zend_Config is read
only');
                }


bug, blip, or change i missed ?

richard

- --

/"\
\ /  ASCII Ribbon Campaign
 X   against HTML email, vCards
/ \  & micro$oft attachments

[GPG] OpenMacNews at gmail dot com
fingerprint: 50C9 1C46 2F8F DE42 2EDB  D460 95F7 DDBD 3671 08C6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (Darwin)

iEYEAREDAAYFAkSzyQ4ACgkQlffdvTZxCMbLygCfeQcKQo5CQcrRpVGLsUzvmUVw
lgkAoJLcVPKx5+pvTysn0CTMnPsUcD9K
=FNWm
-----END PGP SIGNATURE-----

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: update to r889 breaks at Zend_Config_Exception

Jayson Minard (ZF)
Seems odd, there is no constructor for Zend_Config_Exception or its ancestor
and that is where this is happening.  In fact they are empty descendants of
Exception.  Bug in that dev version of PHP 5.2?

--j


On 7/11/06 8:51 AM, "Richard" <[hidden email]> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: RIPEMD160
>
> updating to ZF r889, on OSX 10.4.7 + php5.2-dev, on attempted access to
> a previously working site, i get error of:
>
> Fatal error: Cannot access protected property
> Zend_Config_Exception::$file in
> /webapps/tools/zend_framework/library/Zend/Config.php on line 112
>
> checking in the file, I find:
>
>        } else {
> 112:             throw new Zend_Config_Exception('Zend_Config is read
> only');
>        }
>
>
> bug, blip, or change i missed ?
>
> richard
>
> - --
>
> /"\
> \ /  ASCII Ribbon Campaign
>  X   against HTML email, vCards
> / \  & micro$oft attachments
>
> [GPG] OpenMacNews at gmail dot com
> fingerprint: 50C9 1C46 2F8F DE42 2EDB  D460 95F7 DDBD 3671 08C6
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.4 (Darwin)
>
> iEYEAREDAAYFAkSzyQ4ACgkQlffdvTZxCMbLygCfeQcKQo5CQcrRpVGLsUzvmUVw
> lgkAoJLcVPKx5+pvTysn0CTMnPsUcD9K
> =FNWm
> -----END PGP SIGNATURE-----
>


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: update to r889 breaks at Zend_Config_Exception

OpenMacNews-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Jayson Minard wrote, On 7/11/06 9:01 AM:
> Seems odd, there is no constructor for Zend_Config_Exception or its ancestor
> and that is where this is happening.

yup.

> In fact they are empty descendants of
> Exception.  Bug in that dev version of PHP 5.2?

no clue, yet.

fwiw:

phpinfo()
PHP Version => 5.2.0-dev
...
System => Darwin server 8.7.0 Darwin Kernel Version 8.7.0: Fri May 26
15:20:53 PDT 2006; root:xnu-792.6.76.obj~1/RELEASE_PPC Power Macintosh
Build Date => Jul 10 2006 06:31:18  (latest head co)
...
PHP API => 20041225
PHP Extension => 20060613
Zend Extension => 220060519
Debug Build => no
Thread Safety => enabled
Zend Memory Manager => enabled
...
Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies
...

richard

- --

/"\
\ /  ASCII Ribbon Campaign
 X   against HTML email, vCards
/ \  & micro$oft attachments

[GPG] OpenMacNews at gmail dot com
fingerprint: 50C9 1C46 2F8F DE42 2EDB  D460 95F7 DDBD 3671 08C6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (Darwin)

iEYEAREDAAYFAkSzzOUACgkQlffdvTZxCMbqpACdFjNERduyKjU5ezzmeJ1QCeNe
WmIAn13M4LnbWcB5VEfB6qHblyrK6ilu
=f2Gt
-----END PGP SIGNATURE-----

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: update to r889 breaks at Zend_Config_Exception

Jayson Minard (ZF)
One quick test:

Create your own class that descends from Exception and then instantiate it
via a THROW in a test script and see if it fails.  And/Or create a test
script and do the same for Zend_Cache_Exception.

Would be a good test case to file back to the PHP dev team if it is indeed a
bug.

--j


On 7/11/06 9:08 AM, "Richard" <[hidden email]> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: RIPEMD160
>
> Jayson Minard wrote, On 7/11/06 9:01 AM:
>> Seems odd, there is no constructor for Zend_Config_Exception or its ancestor
>> and that is where this is happening.
>
> yup.
>
>> In fact they are empty descendants of
>> Exception.  Bug in that dev version of PHP 5.2?
>
> no clue, yet.
>
> fwiw:
>
> phpinfo()
> PHP Version => 5.2.0-dev
> ...
> System => Darwin server 8.7.0 Darwin Kernel Version 8.7.0: Fri May 26
> 15:20:53 PDT 2006; root:xnu-792.6.76.obj~1/RELEASE_PPC Power Macintosh
> Build Date => Jul 10 2006 06:31:18  (latest head co)
> ...
> PHP API => 20041225
> PHP Extension => 20060613
> Zend Extension => 220060519
> Debug Build => no
> Thread Safety => enabled
> Zend Memory Manager => enabled
> ...
> Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies
> ...
>
> richard
>
> - --
>
> /"\
> \ /  ASCII Ribbon Campaign
>  X   against HTML email, vCards
> / \  & micro$oft attachments
>
> [GPG] OpenMacNews at gmail dot com
> fingerprint: 50C9 1C46 2F8F DE42 2EDB  D460 95F7 DDBD 3671 08C6
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.4 (Darwin)
>
> iEYEAREDAAYFAkSzzOUACgkQlffdvTZxCMbqpACdFjNERduyKjU5ezzmeJ1QCeNe
> WmIAn13M4LnbWcB5VEfB6qHblyrK6ilu
> =f2Gt
> -----END PGP SIGNATURE-----
>


Loading...