0

在 Magento 1.6.x 测试站点上,我正在修改产品和类别。突然之间,所有指向类别的链接(例如:catalog/category/view/s/myCat/id/9/)给了我丑陋的 - “错误处理您的请求”页面。

重新索引,清除缓存,甚至重新启动服务器,但消息不断返回。

我尝试删除根类别并重新创建一个新的根类别,以及包含产品的子类别。

然后验证产品是否已启用,带有库存,链接到类别等。

然后再次验证新的管理商店 -> 主网站 -> 'root2 目录' 已链接到商店。

新的类别链接出现在主页上正常,但链接到它们时仍然出错。产品页面仍然可以正常工作。

日志中没有任何内容。

下一步是什么?

日志看起来像这样...

a:5:{i:0;s:61:"Invalid method Mage_Catalog_Block_Product_List::s(Array
(
)
)";i:1;s:3956:"#0 C:\xampp\htdocs\magento\app\design\frontend\base\default\template\catalog\product\list.phtml(9): Varien_Object->__call('s', Array)
#1 C:\xampp\htdocs\magento\app\design\frontend\base\default\template\catalog\product\list.phtml(9): Mage_Catalog_Block_Product_List->s()
#2 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Template.php(241): include('C:\xampp\htdocs...')
#3 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Template.php(272): Mage_Core_Block_Template->fetchView('frontend\base\d...')
#4 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Template.php(286): Mage_Core_Block_Template->renderView()
#5 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Abstract.php(863): Mage_Core_Block_Template->_toHtml()
#6 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Abstract.php(582): Mage_Core_Block_Abstract->toHtml()
#7 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Abstract.php(526): Mage_Core_Block_Abstract->_getChildHtml('product_list', true)
#8 C:\xampp\htdocs\magento\app\code\core\Mage\Catalog\Block\Category\View.php(85): Mage_Core_Block_Abstract->getChildHtml('product_list')
#9 C:\xampp\htdocs\magento\app\design\frontend\base\default\template\catalog\category\view.phtml(70): Mage_Catalog_Block_Category_View->getProductListHtml()
#10 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Template.php(241): include('C:\xampp\htdocs...')
#11 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Template.php(272): Mage_Core_Block_Template->fetchView('frontend\base\d...')
#12 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Template.php(286): Mage_Core_Block_Template->renderView()
#13 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Abstract.php(863): Mage_Core_Block_Template->_toHtml()
#14 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Text\List.php(43): Mage_Core_Block_Abstract->toHtml()
#15 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Abstract.php(863): Mage_Core_Block_Text_List->_toHtml()
#16 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Abstract.php(582): Mage_Core_Block_Abstract->toHtml()
#17 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Abstract.php(526): Mage_Core_Block_Abstract->_getChildHtml('content', true)
#18 C:\xampp\htdocs\magento\app\design\frontend\base\default\template\page\3columns.phtml(49): Mage_Core_Block_Abstract->getChildHtml('content')
#19 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Template.php(241): include('C:\xampp\htdocs...')
#20 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Template.php(272): Mage_Core_Block_Template->fetchView('frontend\base\d...')
#21 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Template.php(286): Mage_Core_Block_Template->renderView()
#22 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Abstract.php(863): Mage_Core_Block_Template->_toHtml()
#23 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\Layout.php(529): Mage_Core_Block_Abstract->toHtml()
#24 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Controller\Varien\Action.php(391): Mage_Core_Model_Layout->getOutput()
#25 C:\xampp\htdocs\magento\app\code\core\Mage\Catalog\controllers\CategoryController.php(159): Mage_Core_Controller_Varien_Action->renderLayout()
#26 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Controller\Varien\Action.php(420): Mage_Catalog_CategoryController->viewAction()
#27 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Controller\Varien\Router\Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('view')
#28 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Controller\Varien\Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#29 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\App.php(349): Mage_Core_Controller_Varien_Front->dispatch()
#30 C:\xampp\htdocs\magento\app\Mage.php(640): Mage_Core_Model_App->run(Array)
#31 C:\xampp\htdocs\magento\index.php(80): Mage::run('', 'store')
#32 {main}";s:3:"url";s:36:"/magento/index.php/category-2-1.html";s:11:"script_name";s:18:"/magento/index.php";s:4:"skin";s:7:"default";}
4

0 回答 0