Very Strange DB_DataObject error
| From: | Matt Mitchell | Date: | Thu, 15 Apr 2004 01:49:19 +0000 |
| Subject: | Very Strange DB_DataObject error | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-11851@lists.php.net to get a copy of this message | ||
I had things working nicely on my testing server, and when I uploaded to the live server, things went bad. Before setting the debug level to 5, as soon as I would call $dbObject->find() OR $dbObject->get(), the page loading would completely stall and the browser/server wouldn't even render the page errors.
I turned debug level on to 5, and then saw a strange error when ever trying to call those 2 methods. Here it is:
Code:
Warning: unable to call dataobject_product::Œ”{e() method in
/resources/php_lib/pear/DB/DataObject.php on line 371
dataobject_product: CONNECT: USING CACHED CONNECTION
The funny thing is that everytime I re-load the page, the method here called Œ”{e changes to another completely random method name using very odd characters. The next one was: t<„e and the next: \Û§e
Does anyone know what this is coming from? If I use a raw query using the Pear DB object things work find. If I use DB_DataObject::count() everything works fine. I looked at the code on the line specified, but no way I can figure things out with the time I have (err, don't have), and I figure it's got to be something more or less related to general php (the environment?). Maybe not?
Matt