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

After Installation - Error in default install
 
ngenworks
Jr. Member
 
Total Posts:  6
Joined:  2007-10-22
 

After installing my homepage and search results both returned this error. The homepage shows this error in the sidebar under “My Cart - Last added items”

exception 'Exception' with message 'Exception while saving the object: Commands out of sync; you can't run this command now' in /var/www/vhosts/mydomain.com/subdomains/store/httpdocs/app/Mage.php:338
Stack trace:
#0 /var/www/vhosts/mydomain.com/subdomains/store/httpdocs/app/code/core/Mage/Core/Model/Mysql4/Abstract.php(336): Mage::throwException('
Exception while...')
#1 /var/www/vhosts/mydomain.com/subdomains/store/httpdocs/app/code/core/Mage/Core/Model/Abstract.php(172): Mage_Core_Model_Mysql4_Abstract->save(Object(Mage_Eav_Model_Entity_Store))
#2 /var/www/vhosts/mydomain.com/subdomains/store/httpdocs/app/code/core/Mage/Eav/Model/Entity/Type.php(118): Mage_Core_Model_Abstract->save()
#3 /var/www/vhosts/mydomain.com/subdomains/store/httpdocs/app/code/core/Mage/Eav/Model/Entity/Abstract.php(911): Mage_Eav_Model_Entity_Type->fetchNewIncrementId(1)
#4 /var/www/vhosts/mydomain.com/subdomains/store/httpdocs/app/code/core/Mage/Eav/Model/Entity/Attribute/Backend/Increment.php(32): Mage_Eav_Model_Entity_Abstract->setNewIncrementId(Object(Mage_Sales_Model_Quote))
#5 [internal function]: Mage_Eav_Model_Entity_Attribute_Backend_Increment->beforeSave(Object(Mage_Sales_Model_Quote))
#6 /var/www/vhosts/mydomain.com/subdomains/store/httpdocs/app/code/core/Mage/Eav/Model/Entity/Abstract.php(582): call_user_func_array(Array, Array)
#7 /var/www/vhosts/mydomain.com/subdomains/store/httpdocs/app/code/core/Mage/Eav/Model/Entity/Abstract.php(1140): Mage_Eav_Model_Entity_Abstract->walkAttributes('
backend/beforeS...', Array)
#8 /var/www/vhosts/mydomain.com/subdomains/store/httpdocs/app/code/core/Mage/Eav/Model/Entity/Abstract.php(802): Mage_Eav_Model_Entity_Abstract->_beforeSave(Object(Mage_Sales_Model_Quote))
#9 /var/www/vhosts/mydomain.com/subdomains/store/httpdocs/app/code/core/Mage/Core/Model/Abstract.php(172): Mage_Eav_Model_Entity_Abstract->save(Object(Mage_Sales_Model_Quote))
#10 /var/www/vhosts/mydomain.com/subdomains/store/httpdocs/app/code/core/Mage/Checkout/Model/Session.php(58): Mage_Core_Model_Abstract->save()
#11 /var/www/vhosts/mydomain.com/subdomains/store/httpdocs/app/code/core/Mage/Checkout/Block/Cart/Sidebar.php(72): Mage_Checkout_Model_Session->getQuote()
#12 /var/www/vhosts/mydomain.com/subdomains/store/httpdocs/app/code/core/Mage/Checkout/Block/Cart/Sidebar.php(43): Mage_Checkout_Block_Cart_Sidebar->getQuote()
#13 /var/www/vhosts/mydomain.com/subdomains/store/httpdocs/app/design/frontend/default/default/template/checkout/cart/sidebar.phtml(34): Mage_Checkout_Block_Cart_Sidebar->getItemCollection()
#14 /var/www/vhosts/mydomain.com/subdomains/store/httpdocs/app/code/core/Mage/Core/Block/Template.php(116): include('
/var/www/vhosts...')
#15 /var/www/vhosts/mydomain.com/subdomains/store/httpdocs/app/code/core/Mage/Core/Block/Template.php(143): Mage_Core_Block_Template->fetchView('
frontend/defaul...')
#16 /var/www/vhosts/mydomain.com/subdomains/store/httpdocs/app/code/core/Mage/Core/Block/Template.php(188): Mage_Core_Block_Template->renderView()
#17 /var/www/vhosts/mydomain.com/subdomains/store/httpdocs/app/code/core/Mage/Core/Block/Text/List.php(38): Mage_Core_Block_Template->toHtml()
#18 /var/www/vhosts/mydomain.com/subdomains/store/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(437): Mage_Core_Block_Text_List->toHtml()
#19 /var/www/vhosts/mydomain.com/subdomains/store/httpdocs/app/code/core/Mage/Core/Block/Abstract.php(415): Mage_Core_Block_Abstract->_getChildHtml('
right', true)
#20 /var/www/vhosts/mydomain.com/subdomains/store/httpdocs/app/design/frontend/default/default/template/page/2columns-right.phtml(81): Mage_Core_Block_Abstract->getChildHtml('
right')
#21 /var/www/vhosts/mydomain.com/subdomains/store/httpdocs/app/code/core/Mage/Core/Block/Template.php(116): include('
/var/www/vhosts...')
#22 /var/www/vhosts/mydomain.com/subdomains/store/httpdocs/app/code/core/Mage/Core/Block/Template.php(143): Mage_Core_Block_Template->fetchView('
frontend/defaul...')
#23 /var/www/vhosts/mydomain.com/subdomains/store/httpdocs/app/code/core/Mage/Core/Block/Template.php(188): Mage_Core_Block_Template->renderView()
#24 /var/www/vhosts/mydomain.com/subdomains/store/httpdocs/app/code/core/Mage/Core/Model/Layout.php(401): Mage_Core_Block_Template->toHtml()
#25 /var/www/vhosts/mydomain.com/subdomains/store/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(303): Mage_Core_Model_Layout->getOutput()
#26 /var/www/vhosts/mydomain.com/subdomains/store/httpdocs/app/code/core/Mage/Cms/Helper/Page.php(63): Mage_Core_Controller_Varien_Action->renderLayout()
#27 /var/www/vhosts/mydomain.com/subdomains/store/httpdocs/app/code/core/Mage/Cms/controllers/IndexController.php(26): Mage_Cms_Helper_Page->renderPage(Object(Mage_Cms_IndexController), '
home')
#28 /var/www/vhosts/mydomain.com/subdomains/store/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(326): Mage_Cms_IndexController->indexAction()
#29 /var/www/vhosts/mydomain.com/subdomains/store/httpdocs/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(147): Mage_Core_Controller_Varien_Action->dispatch('
index')
#30 /var/www/vhosts/mydomain.com/subdomains/store/httpdocs/app/code/core/Mage/Core/Controller/Varien/Front.php(164): Mage_Core_Controller_Varien_Router_Standard->match(Object(Zend_Controller_Request_Http))
#31 /var/www/vhosts/mydomain.com/subdomains/store/httpdocs/app/Mage.php(378): Mage_Core_Controller_Varien_Front->dispatch()
#32 /var/www/vhosts/mydomain.com/subdomains/store/httpdocs/index.php(28): Mage::run('
base')
#33 {main}
 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

Please try the solution in this thread:
http://www.magentocommerce.com/boards/viewthread/1126/

 
Magento Community Magento Community
Magento Community
Magento Community
 
ngenworks
Jr. Member
 
Total Posts:  6
Joined:  2007-10-22
 

I’m sorry I should have noted. I did install those files and I’m still getting the same errors.

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

When did you download them? Because i’ve re-uploaded them 20-30 mins ago

 
Magento Community Magento Community
Magento Community
Magento Community
 
ngenworks
Jr. Member
 
Total Posts:  6
Joined:  2007-10-22
 

Just grabbed them again to be safe and I’m still getting the errors.

 
Magento Community Magento Community
Magento Community
Magento Community
 
ngenworks
Jr. Member
 
Total Posts:  6
Joined:  2007-10-22
 

Bump. ANy idea what this could be? I’m going to have ot abandon Magento if I can’t get this working soon because of a deadline.

 
Magento Community Magento Community
Magento Community
Magento Community
 
i960
Guru
 
Avatar
Total Posts:  633
Joined:  2007-10-01
Bakersfield, CA
 
ngenworks - 23 October 2007 04:23 AM

Bump. ANy idea what this could be? I’m going to have ot abandon Magento if I can’t get this working soon because of a deadline.

Magento is not ready for production use anyway, so you shouldn’t be using it for anything other than testing and reporting bugs.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Solar Frenzy
Member
 
Avatar
Total Posts:  48
Joined:  2007-09-05
London
 

I did download and install the new version BUT (see screengrab above) it turns out that I am not running the latest version at all.

back to download/ upload once again!

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top