@ samsonasik

I just came across a thread where someone has a similar issue and I just
updated the file "Usermapper.php" with the following code:

    protected $_dbTable;

        public function __construct()
        {
                $parameters =array(
                                                'host'     => 'localhost',
                                                'username' => 'root',
                                                'password' => '',
                                                'dbname'   => 'memberinfo',
                                                'adapter'  => 'Pdo_Mysql'
                                   );
                 try {
                         *$db = Zend_Db::factory('Pdo_Mysql', new 
Zend_Config($parameters));*
                         $db->getConnection();
                 } catch (Zend_Db_Adapter_Exception $e) {
        
                 } catch (Zend_Exception $e) { 
                 }
*                Zend_Db_Table::setDefaultAdapter($db);
                 $this->_dbTable = new Register_Model_DbTable_User();*
        }

..where I save the connection to _dbTable variable and I'm still getting the
same result.



--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/No-adapter-found-for-Zend-Db-Table-Error-tp4658934p4658974.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to