Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7895061
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T07:33:03+00:00 2026-06-03T07:33:03+00:00

I was created a custom module for my Magento project. This module works in

  • 0

I was created a custom module for my Magento project. This module works in Magento 1.6.X . But while i install this extension in Magento version 1.3.2.4 . Magento throws below error.

dbModel read resource does not implement Zend_Db_Adapter_Abstract

Many Forums discussed this issue. But unfortunately. I don’t get any results.

I cleared cache, Reindexed. What else should i do to solve this one.

Var folder permission is setuped 777. Even I tried in fresh Magento installation but same error.

Thanks In Advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T07:33:05+00:00Added an answer on June 3, 2026 at 7:33 am

    For that version of Magento (1.3.2.4), you need to specify read and write connections in your config.xml file.

    Under <global>, add a <resources> node like so:

    <resources>
        <yourModelNode_write>
            <connection>
                <use>core_write</use>
            </connection>
        </yourModelNode_write>
        <yourModelNode_read>
            <connection>
                <use>core_write</use>
            </connection>
        </yourModelNode_read>
    </resources>
    

    Make sure to refresh your cache!

    This type of configuration is optional in later releases of Magento; the system will load the default read/write connections if you don’t specify them in your config. I’m not sure when exactly this feature was implemented, but it is present in 1.6.x.

    The difference between 1.3.2.4 and 1.6.x is located in Mage_Core_Model_Resource::getConnection().

    1.6.x will return the default read/write connection if you don’t have one specified in your config.xml:

    Mage_Core_Model_Resource::getConnection()

    $connConfig = Mage::getConfig()->getResourceConnectionConfig($name);
    
    if (!$connConfig) {
        $this->_connections[$name] = $this->_getDefaultConnection($name);
        return $this->_connections[$name];
    }
    

    1.3.2.4 will return false:

    $connConfig = Mage::getConfig()->getResourceConnectionConfig($name);
    
    if (!$connConfig || !$connConfig->is('active', 1)) {
        return false;
    }
    

    The reason why you get the “does not implement Zend_Db_Adapter_Abstract” error is located in Varien_Data_Collection_Db::setConnection():

    public function setConnection($conn)
    {
        if (!$conn instanceof Zend_Db_Adapter_Abstract) {
            throw new Zend_Exception('dbModel read resource does not implement Zend_Db_Adapter_Abstract');
        }
    
        $this->_conn = $conn;
        $this->_select = $this->_conn->select();
    }
    

    When false is passed in as the connection ($conn), it’ll throw this error because — of course — false is not an instance of Zend_Db_Adapter_Abstract.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I created a custom module for Orchard following this wonderful guide . I have
I am creating a custom module in magento.I have created block class and phtml
I created a custom block for my Drupal 7 install like this: /* *
I am trying to create a new custom module in magento but the layout
I have created a custom Magento module which extends the core sales order functionality
I've run into an issue with a custom Magento module I've created. In short,
I have created a custom module in magento and wants to show products with
I have created custom attributes for a category in my module's install script like
So I have created a custom module for Drupal 6.x and it works as
I have created a custom Payment module but I could only display the following

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.