Magento News
Error creating store view SQLSTATE[21000]: Cardinality viola
by asteijn (Posted Fri, 24 Sep 2010 09:41:46 GMT)
Dear all,
I hope someone can help me. I keep getting the same error code when I create a new store view. I have tried several solutions I have found on this topic, unfortunately none of these worked for me.
Creating a website and a store is no problem. When I try to create a store view the following error pops up, the store view will not be created..
SQLSTATE[21000]: Cardinality violation: 1241 Operand should contain 1 column(s)
Trace:
#0 lib/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array)
#1 lib/Zend/Db/Adapter/Abstract.php(468): Zend_Db_Statement->execute(Array)
#2 lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(‘SELECT `core_st…’, Array)
#3 lib/Varien/Db/Adapter/Pdo/Mysql.php(333): Zend_Db_Adapter_Pdo_Abstract->query(‘SELECT `core_st…’, Array)
#4 lib/Zend/Db/Adapter/Abstract.php(725): Varien_Db_Adapter_Pdo_Mysql->query(Object(Varien_Db_Select), Array)
#5 app/code/core/Mage/Core/Model/Mysql4/Abstract.php(352): Zend_Db_Adapter_Abstract->fetchRow(Object(Varien_Db_Select))
#6 app/code/core/Mage/Core/Model/Store.php(152): Mage_Core_Model_Mysql4_Abstract->load(Object(Mage_Core_Model_Store), Array, ‘code’)
#7 app/code/local/Icepay/Gateway/Model/Standard.php(270): Mage_Core_Model_Store->load(Array)
#8 app/code/local/Icepay/Gateway/Model/Observer.php(41): Icepay_Gateway_Model_Standard->getMerchantID()
#9 app/code/core/Mage/Core/Model/App.php(1228): Icepay_Gateway_Model_Observer->preDispatch(Object(Varien_Event_Observer))
#10 app/code/core/Mage/Core/Model/App.php(1209): Mage_Core_Model_App->_callObserverMethod(Object(Icepay_Gateway_Model_O bserver), ‘preDispatch’, Object(Varien_Event_Observer))
#11 app/Mage.php(416): Mage_Core_Model_App->dispatchEvent(‘controller_acti…’, Array)
#12 app/code/core/Mage/Core/Controller/Varien/Action.php(497): Mage::dispatchEvent(‘controller_acti…’, Array)
#13 app/code/core/Mage/Adminhtml/Controller/Action.php(152): Mage_Core_Controller_Varien_Action->preDispatch()
#14 app/code/core/Mage/Core/Controller/Varien/Action.php(407): Mage_Adminhtml_Controller_Action->preDispatch()
#15 app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch(‘save’)
#16 app/code/core/Mage/Core/Controller/Varien/Front.php(177): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http) )
#17 app/code/core/Mage/Core/Model/App.php(304): Mage_Core_Controller_Varien_Front->dispatch()
#18 app/Mage.php(596): Mage_Core_Model_App->run(Array)
#19 index.php(80): Mage::run(”, ‘store’)
#20 {main}
Kind Regards,
Anton
http://magento-forum.co.uk/viewtopic.php?f=3&t=431#p1574
Possibly Related Posts:
- Magento USPS Shipping Method, add option / force Insurance by pmuskoff http://t.co/JMbzme8o
- #freelance jobs: Magento USPS Shipping Method, add option / force Insurance by pmuskoff: We run a Mage… http://t.co/X5syN4Xc #projects
- Magento USPS Shipping Method, add option / force Insurance by pmuskoff: We run a Magento store … http://t.co/cjTFzhit #freelance #work
- Magento USPS Shipping Method, add option / force Insurance by pmuskoff: We run a Magento store in… http://t.co/K4NdKyWs #magento #jobs
- We run a Magento store in which everything is shipped via USPS. We ship valuable products which need to be insu… http://t.co/JmW0PeR0
RSS Feed