PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Database » DB_DataObject » Bug #2205

PHP 5.0.1 Breaks Dataobject

Details

Submitted2004-08-24 18:24 UTC
Frombrandon at osuosl dot org
Assignedalan_k
StatusClosed
PackageDB_DataObject
PHP Version5.0.0
OSDebian Linux
Roadmaps(Not assigned)

Comments

[2004-08-24 18:24 UTC] brandon at osuosl dot org

Description:
------------
With the latest version of DataObject and PHP 5.0.1 I get this:

Fatal error: Method DB_DataObject_Overload::__call() must take exactly
2 arguments in
/usr/share/php/DB/DataObject.php on line 191

When I grabbed the latest version of DataObject.php from CVS (1.291) the error went away but the set*() functions stopped working.

Thanks!

[2004-08-24 18:47 UTC] brandon at osuosl dot org

It seems that the set*() functions are broken under PHP 5.0.0 too. I just tested it.

[2004-08-24 19:11 UTC] brandon at osuosl dot org

Alright I got it working again. The set methods cannot be camel case for some odd reason. Maybe I didn't read the docs... so using setName() does not work but setname() does.

Strange. Anyways, the current CVS version fixes everything with PHP 5.0.1.

[2004-08-25 06:47 UTC] brandon at osuosl dot org

I have the time, do you have any debugging steps?

If you need access to a server with PHP 5.0.1 I can arrange that if you want to look at it yourself.

[2004-08-25 07:00 UTC] brandon at osuosl dot org

Here is a little example app that proves that things aren't working.

http://dev2.osuosl.org/~philips/dao/
http://dev2.osuosl.org/~philips/dao/index.phps
http://dev2.osuosl.org/~philips/dao/Ipblock.phps
http://dev2.osuosl.org/~philips/dao/includes.phps