错误 Magento 1.9 - 您不能多次定义相关名称 'ce'
Error Magento 1.9 - You cannot define a correlation name 'ce' more than once
安装新主题后出现以下错误,
处理您的请求时出错
您不能多次定义关联名称 'ce'
跟踪:
#0 /var/www/html/mage/lib/Varien/Db/Select.php(281): Zend_Db_Select->_join('left join', 'catalog_product...', 'ce.entity_id=e....', NULL, NULL)
#1 /var/www/html/mage/lib/Zend/Db/Select.php(357): Varien_Db_Select->_join('left join', 'catalog_product...', 'ce.entity_id=e....', NULL, NULL)
#2 /var/www/html/mage/app/code/community/Cybage/Marketplace/Block/Catalog/Product/List.php(53): Zend_Db_Select->joinLeft('catalog_product...', 'ce.entity_id=e....', NULL)
#3 /var/www/html/mage/app/code/core/Mage/Catalog/Block/Product/List.php(120): Cybage_Marketplace_Block_Catalog_Product_List->_getProductCollection()
#4 /var/www/html/mage/app/code/local/Magentothem/Layerednavigationajax/controllers/CategoryController.php(65): Mage_Catalog_Block_Product_List->getLoadedProductCollection()
#5 /var/www/html/mage/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Magentothem_Layerednavigationajax_CategoryController->viewAction()
#6 /var/www/html/mage/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('view')
#7 /var/www/html/mage/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#8 /var/www/html/mage/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#9 /var/www/html/mage/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#10 /var/www/html/mage/index.php(87): Mage::run('', 'store')
#11 {main}
错误日志记录号:670450388037
看来您的新主题还包括至少一个模块 -- 这是很常见的事情。此模块 (Magentothem_Layerednavigationajax
) 已针对此特定请求重写了主控制器。控制器操作可能具有一些自定义功能。
看来您的系统上还有第二个模块 (Cybage_Marketplace
)。该模块似乎用自己的 Cybage_Marketplace_Block_Catalog_Product_List
class.
重写了一个核心产品列表块
这里的编程问题是您的主题和第二个模块(或者可能是您的堆栈跟踪中看不到的其他代码)都尝试使用 table 添加到产品集合查询的连接别名 ce
.
安装新主题后出现以下错误,
处理您的请求时出错 您不能多次定义关联名称 'ce'
跟踪:
#0 /var/www/html/mage/lib/Varien/Db/Select.php(281): Zend_Db_Select->_join('left join', 'catalog_product...', 'ce.entity_id=e....', NULL, NULL)
#1 /var/www/html/mage/lib/Zend/Db/Select.php(357): Varien_Db_Select->_join('left join', 'catalog_product...', 'ce.entity_id=e....', NULL, NULL)
#2 /var/www/html/mage/app/code/community/Cybage/Marketplace/Block/Catalog/Product/List.php(53): Zend_Db_Select->joinLeft('catalog_product...', 'ce.entity_id=e....', NULL)
#3 /var/www/html/mage/app/code/core/Mage/Catalog/Block/Product/List.php(120): Cybage_Marketplace_Block_Catalog_Product_List->_getProductCollection()
#4 /var/www/html/mage/app/code/local/Magentothem/Layerednavigationajax/controllers/CategoryController.php(65): Mage_Catalog_Block_Product_List->getLoadedProductCollection()
#5 /var/www/html/mage/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Magentothem_Layerednavigationajax_CategoryController->viewAction()
#6 /var/www/html/mage/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('view')
#7 /var/www/html/mage/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#8 /var/www/html/mage/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#9 /var/www/html/mage/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#10 /var/www/html/mage/index.php(87): Mage::run('', 'store')
#11 {main}
错误日志记录号:670450388037
看来您的新主题还包括至少一个模块 -- 这是很常见的事情。此模块 (Magentothem_Layerednavigationajax
) 已针对此特定请求重写了主控制器。控制器操作可能具有一些自定义功能。
看来您的系统上还有第二个模块 (Cybage_Marketplace
)。该模块似乎用自己的 Cybage_Marketplace_Block_Catalog_Product_List
class.
这里的编程问题是您的主题和第二个模块(或者可能是您的堆栈跟踪中看不到的其他代码)都尝试使用 table 添加到产品集合查询的连接别名 ce
.