【问题标题】:Magento 1.9 - Cannot View Dataflow Advanced Profiles Page in AdminMagento 1.9 - 无法在管理员中查看数据流高级配置文件页面
【发布时间】:2016-05-11 20:40:20
【问题描述】:

我正在尝试在 Magento 1.9 中创建新的高级配置文件,但我似乎无法进入列表页面(系统 > 导入/导出 > 数据流 - 高级配置文件)。

这是列表页面的堆栈跟踪:

ERR (3): 
exception 'Mage_Core_Exception' with message 'Invalid block type: Mage_Adminhtml_Block_System_Convert_Profile_Grid' in /home/test/public_html/mg1/app/Mage.php:595

Stack trace:
#0 
/home/test/public_html/mg1/app/code/core/Mage/Core/Model/Layout.php(495): Mage::throwException('Invalid block t...')

#1 
/home/test/public_html/mg1/app/code/core/Mage/Core/Model/Layout.php(437): Mage_Core_Model_Layout->_getBlockInstance('adminhtml/syste...', Array)

#2 
/home/test/public_html/mg1/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Container.php(66): Mage_Core_Model_Layout->createBlock('adminhtml/syste...', 'system_convert_...')

#3 
/home/test/public_html/mg1/app/code/core/Mage/Core/Block/Abstract.php(293): Mage_Adminhtml_Block_Widget_Grid_Container->_prepareLayout()

#4 
/home/test/public_html/mg1/app/code/core/Mage/Core/Model/Layout.php(456): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))

#5
/home/test/public_html/mg1/app/code/core/Mage/Adminhtml/controllers/System/Convert/ProfileController.php(84): Mage_Core_Model_Layout->createBlock('adminhtml/syste...', 'convert_profile')

#6
/home/test/public_html/mg1/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Adminhtml_System_Convert_ProfileController->indexAction()

#7 
/home/test/public_html/mg1/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('index')

#8 
/home/test/public_html/mg1/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))

#9 
/home/test/public_html/mg1/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()

#10 
/home/test/public_html/mg1/app/Mage.php(684): Mage_Core_Model_App->run(Array)

#11 
/home/test/public_html/mg1/index.php(83): Mage::run('', 'store')

#12 
{main}

有什么想法吗?

【问题讨论】:

    标签: php magento magento-1.9


    【解决方案1】:

    这是由于 Magento 1.9 版引入了一项新的安全功能。

    如错误消息所示,您需要将块 adminhtml/system_convert_profile_grid 列入白名单。

    为此,您可以转到System > Permissions > Blocks 并输入上面的块。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-10-10
      • 1970-01-01
      • 2013-06-24
      • 2015-01-21
      • 2018-11-30
      • 1970-01-01
      • 1970-01-01
      • 2013-10-16
      相关资源
      最近更新 更多