作为客户端连接时,Magento产品视图不工作

作为客户端连接时,Magento产品视图不工作,magento,Magento,我正在运行Magento CE 1.6.0 我有一家独特的商店。我可以看到产品列表和产品视图时,访客。作为客户端连接时,我可以看到产品列表,但看不到产品视图。我得到一个消息,在处理您的请求页面时出现了一个错误 有人有主意吗 以下是错误日志: a:5:{i:0;s:77:"SQLSTATE[21000]: Cardinality violation: 1242 Subquery returns more than 1 row";i:1;s:6638:"#0 lib/Varien/Db/Statem

我正在运行Magento CE 1.6.0

我有一家独特的商店。我可以看到产品列表和产品视图时,访客。作为客户端连接时,我可以看到产品列表,但看不到产品视图。我得到一个消息,在处理您的请求页面时出现了一个错误

有人有主意吗

以下是错误日志:

a:5:{i:0;s:77:"SQLSTATE[21000]: Cardinality violation: 1242 Subquery returns more than 1 row";i:1;s:6638:"#0 lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
#1 lib/Zend/Db/Statement.php(300): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
#2 lib/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#3 lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT COUNT(DI...', Array)
#4 lib/Varien/Db/Adapter/Pdo/Mysql.php(389): Zend_Db_Adapter_Pdo_Abstract->query('SELECT COUNT(DI...', Array)
#5 lib/Zend/Db/Adapter/Abstract.php(825): Varien_Db_Adapter_Pdo_Mysql->query(Object(Varien_Db_Select), Array)
#6 lib/Varien/Data/Collection/Db.php(217): Zend_Db_Adapter_Abstract->fetchOne(Object(Varien_Db_Select), Array)
#7 lib/Varien/Data/Collection.php(225): Varien_Data_Collection_Db->getSize()
#8 lib/Varien/Data/Collection.php(211): Varien_Data_Collection->getLastPageNumber()
#9 app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(996): Varien_Data_Collection->getCurPage()
#10 app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(831): Mage_Eav_Model_Entity_Collection_Abstract->_loadEntities(false, false)
#11 app/code/core/Mage/Catalog/Block/Product/List/Upsell.php(74): Mage_Eav_Model_Entity_Collection_Abstract->load()
#12 app/code/core/Mage/Catalog/Block/Product/List/Upsell.php(94): Mage_Catalog_Block_Product_List_Upsell->_prepareData()
#13 app/code/core/Mage/Core/Block/Abstract.php(862): Mage_Catalog_Block_Product_List_Upsell->_beforeToHtml()
#14 app/code/core/Mage/Core/Block/Abstract.php(582): Mage_Core_Block_Abstract->toHtml()
#15 app/code/core/Mage/Core/Block/Abstract.php(526): Mage_Core_Block_Abstract->_getChildHtml('upsell_products', true)
#16 app/design/frontend/base/default/template/catalog/product/view.phtml(155): Mage_Core_Block_Abstract->getChildHtml('upsell_products')
#17 app/code/core/Mage/Core/Block/Template.php(241): include('/var/www/vhosts...')
#18 app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/base/d...')
#19 app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#20 app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Template->_toHtml()
#21 app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#22 app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Text_List->_toHtml()
#23 app/code/core/Mage/Core/Block/Abstract.php(582): Mage_Core_Block_Abstract->toHtml()
#24 app/code/core/Mage/Core/Block/Abstract.php(526): Mage_Core_Block_Abstract->_getChildHtml('content', true)
#25 app/design/frontend/base/default/template/page/2columns-right.phtml(48): Mage_Core_Block_Abstract->getChildHtml('content')
#26 app/code/core/Mage/Core/Block/Template.php(241): include('/var/www/vhosts...')
#27 app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/base/d...')
#28 app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#29 app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Template->_toHtml()
#30 app/code/core/Mage/Core/Model/Layout.php(529): Mage_Core_Block_Abstract->toHtml()
#31 app/code/core/Mage/Core/Controller/Varien/Action.php(391): Mage_Core_Model_Layout->getOutput()
#32 app/code/core/Mage/Cms/Helper/Page.php(132): Mage_Core_Controller_Varien_Action->renderLayout()
#33 app/code/core/Mage/Cms/Helper/Page.php(52): Mage_Cms_Helper_Page->_renderPage(Object(Mage_Cms_IndexController), 'no-route')
#34 app/code/core/Mage/Cms/controllers/IndexController.php(75): Mage_Cms_Helper_Page->renderPage(Object(Mage_Cms_IndexController), 'no-route')
#35 app/code/core/Mage/Core/Controller/Varien/Action.php(420): Mage_Cms_IndexController->noRouteAction()
#36 app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('noRoute')
#37 app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#38 app/code/core/Mage/Core/Model/App.php(347): Mage_Core_Controller_Varien_Front->dispatch()
#39 app/Mage.php(640): Mage_Core_Model_App->run(Array)
#40 index.php(80): Mage::run('', 'store')
#41 {main}";s:3:"url";s:25:"/basics-blenders-textures";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:7:"default";}

PHP和MySQL版本不符合要求

您的应用商店中的某个地方出现了错误。您可以通过查看生成的错误文件/var/report来查看错误是什么,如果您想了解更多有关错误的信息,请在此发布错误。我不明白为什么“客户登录”和“客户注销”会改变您查看产品的方式。我创建了一个具有默认属性的新产品,因为我认为我导入的自定义产品可能是问题的根源,但我仍然无法在以下情况下查看产品:客户登录…您可能已经在XML布局句柄customer\u logged\u中添加了两次相同的块