Home » Database » DB_DataObject » Bug #2205
PHP 5.0.1 Breaks Dataobject
Details
| Submitted | 2004-08-24 18:24 UTC |
|---|---|
| From | brandon at osuosl dot org |
| Assigned | alan_k |
| Status | Closed |
| Package | DB_DataObject |
| PHP Version | 5.0.0 |
| OS | Debian 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