| Dan Rossi 2005-05-30, 3:57 am |
| Hi there, some issues have arisen upgrading my MDB2 package. It has
been working fine, I reverted my hacked up DataObject back to cvs so I
can start making diffs from some of the changes, so its not that :) It
only happens when I try and set the debug setting to on
MDB2 Error: not supported __sleep : method not supported.
The issue throwing the error is line 2137 of DataObject
The issue has arisen in line 1573 of MDB2 in the __call method..
if (is_null($module)) {
..
...
...
}
This however doesnt happen using DB. It looks like __call is trying to
call a __sleep module or something ? My other issue is reverting back
to DO, another problem has arisen where I was sending the db_options
from a nested array of the DO settings. I have attempted to set it as a
staticproperty of $db_options within the constructor of my class where
I have setup the DO config, however its still not being sent or loaded
to $db_options within the DO.
I set it like this
$db_options = PEAR::getStaticProperty('MDB2','options'
);
$db_options = $this->settings['DB_DataObject']['MDB2'];
Any ideas ?
|