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.  

3 comments:

  1. Grt Work Dear.. It really worked for me. thanks

    ReplyDelete
  2. Pretty blog, so many ideas in a single site, thanks for the informative article, keep updating more article.
    logo design company chennai

    ReplyDelete
  3. Magento will grant you the flexibility to acquire an online shop with a grand array of custom options, which will make your online shop stand out in the very cramped marketplace.plakatų dizainas

    ReplyDelete

Cybermap

Internet Storm Center Infocon Status

Internet Storm Center Infocon Status
Internet Storm Center Infocon Status