我的magento 1.7.0.1商店系统出现问题,并获得以下异常。 我希望有人可以提供帮助。
异常'Mage_Core_Exception',消息'UngültigerBlocktyp:' 在/is/htdocs/wp1162418_SSTJ4PVTRV/www/magento-shop/app/Mage.php:594 堆栈跟踪:
/is/htdocs/wp1162418_SSTJ4PVTRV/www/magento-shop/app/code/core/Mage/Core/Model/Layout.php(495): Mage :: throwException('Ung ?? ltiger Blo ...') /is/htdocs/wp1162418_SSTJ4PVTRV/www/magento-shop/app/code/core/Mage/Core/Model/Layout.php(437): Mage_Core_Model_Layout-> _getBlockInstance('',Array) /is/htdocs/wp1162418_SSTJ4PVTRV/www/magento-shop/app/code/core/Mage/Core/Model/Layout.php(472): Mage_Core_Model_Layout-> createBlock('','product.info.up ...') /is/htdocs/wp1162418_SSTJ4PVTRV/www/magento-shop/app/code/core/Mage/Core/Model/Layout.php(239): Mage_Core_Model_Layout-> addBlock('','product.info.up ...') /is/htdocs/wp1162418_SSTJ4PVTRV/www/magento-shop/app/code/core/Mage/Core/Model/Layout.php(205): Mage_Core_Model_Layout-> _generateBlock(对象(Mage_Core_Model_Layout_Element), 对象(Mage_Core_Model_Layout_Element)) /is/htdocs/wp1162418_SSTJ4PVTRV/www/magento-shop/app/code/core/Mage/Core/Model/Layout.php(210): Mage_Core_Model_Layout-> generateBlocks(对象(Mage_Core_Model_Layout_Element)) /is/htdocs/wp1162418_SSTJ4PVTRV/www/magento-shop/app/code/core/Mage/Core/Controller/Varien/Action.php(344): Mage_Core_Model_Layout-> generateBlocks() /is/htdocs/wp1162418_SSTJ4PVTRV/www/magento-shop/app/code/core/Mage/Catalog/Helper/Product/View.php(73): Mage_Core_Controller_Varien_Action-> generateLayoutBlocks() /is/htdocs/wp1162418_SSTJ4PVTRV/www/magento-shop/app/code/core/Mage/Catalog/Helper/Product/View.php(144): Mage_Catalog_Helper_Product_View-> initProductLayout(对象(Mage_Catalog_Model_Product), 对象(Mage_Catalog_ProductController)) /is/htdocs/wp1162418_SSTJ4PVTRV/www/magento-shop/app/code/core/Mage/Catalog/controllers/ProductController.php(132): Mage_Catalog_Helper_Product_View-> prepareAndRender(2206 Object(Mage_Catalog_ProductController),Object(Varien_Object)) /is/htdocs/wp1162418_SSTJ4PVTRV/www/magento-shop/app/code/core/Mage/Core/Controller/Varien/Action.php(419): Mage_Catalog_ProductController->的viewAction() /is/htdocs/wp1162418_SSTJ4PVTRV/www/magento-shop/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->调度( '观看') /is/htdocs/wp1162418_SSTJ4PVTRV/www/magento-shop/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->匹配(对象(Mage_Core_Controller_Request_Http)) /is/htdocs/wp1162418_SSTJ4PVTRV/www/magento-shop/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->调度() /is/htdocs/wp1162418_SSTJ4PVTRV/www/magento-shop/app/Mage.php(683): Mage_Core_Model_App->运行(阵列) /is/htdocs/wp1162418_SSTJ4PVTRV/www/magento-shop/index.php(87): Mage :: run('','store'){main}
答案 0 :(得分:2)
我刚刚意识到我在安装时遇到了同样的错误(也是1.7.0.2)
它发生在产品视图页面上。
但我发现错误/解决方案。在 /app/design/frontend/base/default/layout/factfinder.xml
替换
(TextView) findViewById(R.id.projectnaam)
与
`<block name="product.info.upsell">`
并且错误消失了