2015-11-06 36 views
0

爲我的Magento站點(Magento CE版本1.9.2.1)更新SUPEE-6788後,我添加了模塊:https://bitbucket.org/magebit/whitelister/downloads。該模塊自動設置白名單塊。admin中的新模塊總是顯示404頁面

ALC節點config.xml中

<acl> 
     <resources> 
      <all> 
       <title>Allow Everything</title> 
      </all> 
      <admin> 
       <children> 
        <magebit_whitelister translate="title" module="magebit_whitelister"> 
         <title>Whitelister</title> 
         <sort_order>1000</sort_order> 
         <children> 
          <magebit_horizonintegration translate="title"> 
           <title>Magebit - Whitelister</title> 
           <sort_order>0</sort_order> 
          </magebit_horizonintegration> 
         </children> 
        </magebit_whitelister> 
        <system> 
         <children> 
          <config> 
           <children> 
            <magebit_whitelister> 
             <title>Magebit - Whitelister</title> 
            </magebit_whitelister> 
           </children> 
          </config> 
         </children> 
        </system> 
       </children> 
      </admin> 
     </resources> 
    </acl> 

安裝此extention,清空緩存後,我嘗試但註銷和登錄到管理,在到達第二時總是顯示404頁鏈接在菜單中。你知道我怎麼能解決這個錯誤?

+0

您能否首先檢查此模塊中新增文件的文件權限? –

+0

我使用Windows操作系統。我剛剛檢查了模塊的許可,它是完全控制的。 –

回答

0

基本上,如果我們不聲明模塊和轉換節點,Magento將不理解我們的ACL菜單。您需要添加translate =「title」module =「magebit_whitelister」 in config.xml。第二個ACL菜單應該是:

     <children> 
          <config> 
           <children> 
            <magebit_whitelister translate="title" module="magebit_whitelister"> 
             <title>Magebit - Whitelister</title> 
            </magebit_whitelister> 
           </children> 
          </config> 
         </children> 

註銷並再次登錄到Magento Admin。

+0

我們也在這裏看到:https://community.magento.com/t5/Technical-Issues/New-module-in-ADMIN-are-showing-A-404-page/m-p/21054#M1756 –

相關問題