進入後臺分類管理 和 Manage Store 界面時 發生的錯誤。
Fatal error: Call to undefined method Mage_Adminhtml_Block_Widget::getrowurl() in D:\wamp\www\magento\app\code\core\Mage\Adminhtml\Block\Widget\Grid.php on line 1622
解決方法:
提示找不到getrowurl()這個方法。
進入app/code/core/Mage/Adminhtml/Block/Widget/Grid.php
Search function getRowUrl in the file.
將
public function getRowUrl($item)
{
$res = parent::getRowUrl($item);
return ($res ? $res : '#');
}
Replace this function with below function:
替換成
public function getRowUrl($item)
{
$res = parent::getUrl($item);
return ($res ? $res : '#');
}
來自:http://www.fjshouyeseo.com