Monday, January 6, 2014

[Solved] Magento - dbModel read resource does not implement Zend_Db_Adapter_Abstract or Magento install error - Exception printing is disabled

Magento - dbModel read resource does not implement Zend_Db_Adapter_Abstract 

or 

Magento install error - Exception printing is disabled


If you enabled full page cache on Zend server this error shows up:


dbModel read resource does not implement Zend_Db_Adapter_Abstract
Trace
:#0 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\Mysql4\Collection\Abstract.php(68): Varien_Data_Collection_Db->setConnection(false)


What you should do next:

1. try to clear cache - erase all files from MAGENTO_ROOT/var/cache/ directory

2. change settings 



1. Navigate to the \"errors\" folder.
2. Change local.xml.sample to local.xml
3. You should now see a new list of crazy errors all over the Magento page - this is okay.
4. Open magento/lib/Zend/Cache/Backend/File.php and look for:

protected $_options = array(\'cache_dir\' => \'null\',

5. Change it to:


protected $_options = array(\'cache_dir\' => \'tmp/\',

6 .Save it.
7. Now the final step is to go create a tmp folder in the root Magento folder. (make permission 777 and ownership as web server user)
8. That’s it.  

1 comment:

Cybermap

Internet Storm Center Infocon Status

Internet Storm Center Infocon Status
Internet Storm Center Infocon Status