Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Ijust installed magento
 
bl4kdev1l
Jr. Member
 
Total Posts:  6
Joined:  2007-09-30
 

ive just installed magento and i cant see my store i gget this error.

Fatal error: Call to a member function getReadConnection() on a non-object in /home/lulu/public_html/magento/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php on line 139

how can i fix it?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

Thanks for the report, please replace app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php with attached file and see if this resolves the issue. If you get an exception text, please paste it here.

Thank you.

File Attachments
Abstract.php  (File Size: 39KB - Downloads: 98)
 
Magento Community Magento Community
Magento Community
Magento Community
 
bl4kdev1l
Jr. Member
 
Total Posts:  6
Joined:  2007-09-30
 

exception 'Exception' with message 'Invalid entity supplied: ' in /home/lulu/public_html/magento/app/Mage.php:299
Stack trace
:
#0 /home/lulu/public_html/magento/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(140): Mage::throwException('Invalid entity ...')
#1 /home/lulu/public_html/magento/app/code/core/Mage/Sales/Model/Entity/Quote/Item/Collection.php(33): Mage_Eav_Model_Entity_Collection_Abstract->setEntity(false)
#2 /home/lulu/public_html/magento/app/code/core/Mage/Core/Model/Config.php(584): Mage_Sales_Model_Entity_Quote_Item_Collection->__construct(Array)
#3 /home/lulu/public_html/magento/app/code/core/Mage/Core/Model/Config.php(611): Mage_Core_Model_Config->getModelInstance('sales_entity/qu...', Array)
#4 /home/lulu/public_html/magento/app/Mage.php(263): Mage_Core_Model_Config->getResourceModelInstance('sales/quote_ite...', Array)
#5 /home/lulu/public_html/magento/app/code/core/Mage/Sales/Model/Quote.php(298): Mage::getResourceModel('sales/quote_ite...')
#6 /home/lulu/public_html/magento/app/code/core/Mage/Sales/Model/Entity/Quote/Attribute/Backend/Parent.php(30): Mage_Sales_Model_Quote->getItemsCollection()
#7 [internal function]: Mage_Sales_Model_Entity_Quote_Attribute_Backend_Parent->afterSave(Object(Mage_Sales_Model_Quote))
#8 /home/lulu/public_html/magento/app/code/core/Mage/Eav/Model/Entity/Abstract.php(578): call_user_func_array(Array, Array)
#9 /home/lulu/public_html/magento/app/code/core/Mage/Eav/Model/Entity/Abstract.php(1141): Mage_Eav_Model_Entity_Abstract->walkAttributes('backend/afterSa...', Array)
#10 /home/lulu/public_html/magento/app/code/core/Mage/Eav/Model/Entity/Abstract.php(808): Mage_Eav_Model_Entity_Abstract->_afterSave(Object(Mage_Sales_Model_Quote))
#11 /home/lulu/public_html/magento/app/code/core/Mage/Core/Model/Abstract.php(171): Mage_Eav_Model_Entity_Abstract->save(Object(Mage_Sales_Model_Quote))
#12 /home/lulu/public_html/magento/app/code/core/Mage/Checkout/Model/Session.php(59): Mage_Core_Model_Abstract->save()
#13 /home/lulu/public_html/magento/app/code/core/Mage/Checkout/Block/Links.php(32): Mage_Checkout_Model_Session->getQuote()
#14 [internal function]: Mage_Checkout_Block_Links->addCartLink()
#15 /home/lulu/public_html/magento/app/code/core/Mage/Core/Model/Layout.php(404): call_user_func_array(Array, Array)
#16 /home/lulu/public_html/magento/app/code/core/Mage/Core/Model/Layout.php(314): Mage_Core_Model_Layout->_generateAction(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#17 /home/lulu/public_html/magento/app/code/core/Mage/Core/Model/Layout.php(306): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#18 /home/lulu/public_html/magento/app/code/core/Mage/Core/Model/Layout.php(310): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#19 /home/lulu/public_html/magento/app/code/core/Mage/Core/Controller/Varien/Action.php(226): Mage_Core_Model_Layout->generateBlocks()
#20 /home/lulu/public_html/magento/app/code/core/Mage/Cms/controllers/PageController.php(39): Mage_Core_Controller_Varien_Action->loadLayout()
#21 /home/lulu/public_html/magento/app/code/core/Mage/Core/Controller/Varien/Action.php(278): Mage_Cms_PageController->viewAction()
#22 /home/lulu/public_html/magento/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(138): Mage_Core_Controller_Varien_Action->dispatch('view')
#23 /home/lulu/public_html/magento/app/code/core/Mage/Core/Controller/Varien/Front.php(139): Mage_Core_Controller_Varien_Router_Standard->match(Object(Zend_Controller_Request_Http))
#24 /home/lulu/public_html/magento/app/Mage.php(356): Mage_Core_Controller_Varien_Front->dispatch()
#25 /home/lulu/public_html/magento/index.php(27): Mage::run('base')
#26 {main}
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top