Community
Participate
Working Groups
try the following code: <?php class Test { public function __construct() { // get global database objects global $db, $dbs; // set databases $this->_objDatabaseRead = $dbs->CONN; $this->_objDatabaseWrite = new DatingDB();//$db->CONN; // configure databases $this->_objDatabaseRead->GetAssoc();//|<<here... ( ADODB_FETCH_ASSOC ); $this->_objDatabaseWrite->SetFetchMode ( ADODB_FETCH_ASSOC ); } } ?>
targeting to PDT 2.0 M2
Created attachment 121917 [details] Avoid the exception
The patch is only avoid the exception.
Applied to 2.0.1 and HEAD (modified slightly the patch)
Verified Fixed. pdt-all-in-one 2.1.0M4 N20090203 Kalin Yanev kalin.a@zend.com