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 Upload to live enviroment: SQL ERROR ,, rather urgent
 
schmelzgeist
Sr. Member
 
Total Posts:  92
Joined:  2008-05-27
Marzipane World Capital (Lübeck, Germany)
 

this is the error:

SQLSTATE[HY000]: General error: 1267 Illegal mix of collations (latin1_general_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation ‘=’
here is the trace: 

Trace:
#0 /home/httpd/docs/show/magento/lib/Zend/Db/Statement.php(283): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/httpd/docs/show/magento/lib/Zend/Db/Adapter/Abstract.php(406): Zend_Db_Statement->execute(Array)
#2 /home/httpd/docs/show/magento/lib/Zend/Db/Adapter/Pdo/Abstract.php(206): Zend_Db_Adapter_Abstract->query(Object(Varien_Db_Select), Array)
#3 /home/httpd/docs/show/magento/lib/Zend/Db/Adapter/Abstract.php(636): Zend_Db_Adapter_Pdo_Abstract->query(Object(Varien_Db_Select), Array)
#4 /home/httpd/docs/show/magento/app/code/core/Mage/Newsletter/Model/Mysql4/Subscriber.php(148): Zend_Db_Adapter_Abstract->fetchRow(Object(Varien_Db_Select))
#5 /home/httpd/docs/show/magento/app/code/core/Mage/Newsletter/Model/Subscriber.php(221): Mage_Newsletter_Model_Mysql4_Subscriber->loadByCustomer(Object(Mage_Customer_Model_Customer))
#6 /home/httpd/docs/show/magento/app/code/core/Mage/Adminhtml/Block/Customer/Edit/Tab/Newsletter.php(42): Mage_Newsletter_Model_Subscriber->loadByCustomer(Object(Mage_Customer_Model_Customer))
#7 /home/httpd/docs/show/magento/app/code/core/Mage/Adminhtml/Block/Customer/Edit/Tabs.php(96): Mage_Adminhtml_Block_Customer_Edit_Tab_Newsletter->initForm()
#8 /home/httpd/docs/show/magento/app/code/core/Mage/Core/Block/Abstract.php(553): Mage_Adminhtml_Block_Customer_Edit_Tabs->_beforeToHtml()
#9 /home/httpd/docs/show/magento/app/code/core/Mage/Core/Block/Text/List.php(37): Mage_Core_Block_Abstract->toHtml()
#10 /home/httpd/docs/show/magento/app/code/core/Mage/Core/Block/Abstract.php(554): Mage_Core_Block_Text_List->_toHtml()
#11 /home/httpd/docs/show/magento/app/code/core/Mage/Core/Block/Abstract.php(431): Mage_Core_Block_Abstract->toHtml()
#12 /home/httpd/docs/show/magento/app/code/core/Mage/Core/Block/Abstract.php(408): Mage_Core_Block_Abstract->_getChildHtml(’left’, true)
#13 /home/httpd/docs/show/magento/app/design/adminhtml/default/default/template/page.phtml(49): Mage_Core_Block_Abstract->getChildHtml(’left’)
#14 /home/httpd/docs/show/magento/app/code/core/Mage/Core/Block/Template.php(131): include(’/home/httpd/doc...’)
#15 /home/httpd/docs/show/magento/app/code/core/Mage/Core/Block/Template.php(163): Mage_Core_Block_Template->fetchView(’adminhtml/defau...’)
#16 /home/httpd/docs/show/magento/app/code/core/Mage/Core/Block/Template.php(180): Mage_Core_Block_Template->renderView()
#17 /home/httpd/docs/show/magento/app/code/core/Mage/Core/Block/Abstract.php(554): Mage_Core_Block_Template->_toHtml()
#18 /home/httpd/docs/show/magento/app/code/core/Mage/Core/Model/Layout.php(505): Mage_Core_Block_Abstract->toHtml()
#19 /home/httpd/docs/show/magento/app/code/core/Mage/Core/Controller/Varien/Action.php(319): Mage_Core_Model_Layout->getOutput()
#20 /home/httpd/docs/show/magento/app/code/core/Mage/Adminhtml/controllers/CustomerController.php(121): Mage_Core_Controller_Varien_Action->renderLayout()
#21 /home/httpd/docs/show/magento/app/code/core/Mage/Core/Controller/Varien/Action.php(342): Mage_Adminhtml_CustomerController->editAction()
#22 /home/httpd/docs/show/magento/app/code/core/Mage/Core/Controller/Varien/Router/Admin.php(148): Mage_Core_Controller_Varien_Action->dispatch(’edit’)
#23 /home/httpd/docs/show/magento/app/code/core/Mage/Core/Controller/Varien/Front.php(146): Mage_Core_Controller_Varien_Router_Admin->match(Object(Mage_Core_Controller_Request_Http))
#24 /home/httpd/docs/show/magento/app/Mage.php(427): Mage_Core_Controller_Varien_Front->dispatch()
#25 /home/httpd/docs/show/magento/index.php(40): Mage::run()
#26 {main}

how can i fix this?  i mean it seem s ther is a collation error anywhere in the tables..

help appreciated smile

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