无法检索实体配置:admin / permission_variable

时间:2016-02-13 19:51:19

标签: magento

我无法在magento管理区域中打开System->Permission->Variable && System->Permission->Blocks,因为我更新了最新补丁,所以我正面临这个问题。我在页面上遇到错误。

处理您的请求时出错

无法检索实体配置:admin/permission_variable

跟踪:

  

/home1/dcorzcom/public_html/dcorzdev/app/code/core/Mage/Core/Model/Resource.php(282):Mage :: throwException('无法检索......& #39)
  /home1/dcorzcom/public_html/dcorzdev/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(284):Mage_Core_Model_Resource-> getTableName(' admin / permissio ...&# 39)
  /home1/dcorzcom/public_html/dcorzdev/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(247):Mage_Core_Model_Resource_Db_Abstract-> getTable(' permission_vari ...' )
  /home1/dcorzcom/public_html/dcorzdev/app/code/core/Mage/Core/Model/Resource/Db/Collection/Abstract.php(155):Mage_Core_Model_Resource_Db_Abstract-> getMainTable()
  /home1/dcorzcom/public_html/dcorzdev/app/code/core/Mage/Core/Model/Resource/Db/Collection/Abstract.php(192):Mage_Core_Model_Resource_Db_Collection_Abstract-> getMainTable()
  /home1/dcorzcom/public_html/dcorzdev/app/code/core/Mage/Core/Model/Resource/Db/Collection/Abstract.php(135):Mage_Core_Model_Resource_Db_Collection_Abstract-> _initSelect()
  /home1/dcorzcom/public_html/dcorzdev/app/code/core/Mage/Core/Model/Config.php(1354):Mage_Core_Model_Resource_Db_Collection_Abstract-> __ construct(Array)
  /home1/dcorzcom/public_html/dcorzdev/app/code/core/Mage/Core/Model/Config.php(1386):Mage_Core_Model_Config-> getModelInstance(' admin_resource /...&# 39;,Array)
  /home1/dcorzcom/public_html/dcorzdev/app/Mage.php(491):Mage_Core_Model_Config-> getResourceModelInstance(' admin / variable _...',Array)
  /home1/dcorzcom/public_html/dcorzdev/app/code/core/Mage/Adminhtml/Block/Permissions/Variable/Grid.php(54):Mage :: getResourceModel(' admin / variable _...&#39 ;)
  /home1/dcorzcom/public_html/dcorzdev/app/code/core/Mage/Adminhtml/Block/Widget/Grid.php(626):Mage_Adminhtml_Block_Permissions_Variable_Grid-> _prepareCollection()
  /home1/dcorzcom/public_html/dcorzdev/app/code/core/Mage/Adminhtml/Block/Widget/Grid.php(632):Mage_Adminhtml_Block_Widget_Grid-> _prepareGrid()
  /home1/dcorzcom/public_html/dcorzdev/app/code/core/Mage/Core/Block/Abstract.php(918):Mage_Adminhtml_Block_Widget_Grid-> _beforeToHtml()
  /home1/dcorzcom/public_html/dcorzdev/app/code/core/Mage/Core/Block/Abstract.php(637):Mage_Core_Block_Abstract-> toHtml()
  /home1/dcorzcom/public_html/dcorzdev/app/code/core/Mage/Core/Block/Abstract.php(581):Mage_Core_Block_Abstract-> _getChildHtml(' grid',true)
  /home1/dcorzcom/public_html/dcorzdev/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Container.php(77):Mage_Core_Block_Abstract-> getChildHtml(' grid')
  /home1/dcorzcom/public_html/dcorzdev/app/design/adminhtml/default/default/template/widget/grid/container.phtml(36):Mage_Adminhtml_Block_Widget_Grid_Container-> getGridHtml()
  /home1/dcorzcom/public_html/dcorzdev/app/code/core/Mage/Core/Block/Template.php(241):include(' / home1 / dcorzcom ...')

2 个答案:

答案 0 :(得分:1)

来自https://magentary.com/kb/cms-pages-transactional-emails-broken-after-supee-6788-patch/

Update-SQL-Script具有错误的权限。 Magento必须执行脚本,手动上传脚本有错误的权限。现在一切都很好。

我不确定自己是否理解答案,但也许其他人可以从这里得到帮助

我关闭了缓存,然后才能访问。然后再打开它。喜欢冲洗它

答案 1 :(得分:0)

问题发生在更新补丁/ Magento之后,您需要执行缓存刷新和编译禁用。