2014-09-16 3 views
0

구성 페이지에서 404 오류로 인해 시스템 문제에 직면 한 많은 사람들이 왔지만 모든 것을 읽었으며 모든 솔루션을 시도했으며 여전히 슬프게도 붙어 있습니다.맞춤 magento 확장 구성 404

추신 :

그래서 나는 젠토 확장을, 구성 항목 왼쪽의 구성 탭에 표시되며 클릭 할 때 아직, 난 항상 404 오류에 직면하고있어, 여기에 XMLS 있습니다 완전히 별개의 것으로 보이지만 완전히 관련이없는 것처럼 보일 수 있습니다. 시스템 -> 권한 -> 역할 -> 관리자로 이동하면 Fatal error: Class 'Mage_Appfactory_Basic_Helper_Data' not found in C:\Development\stage\grantorino-appfactory-ab\magento\app\Mage.php on line 547이 오류가 발생합니다. 다른 모든 것은 정상적으로 작동하며, 데이터가 있습니다. class AppFactory_Basic_Helper_Data extends Mage_Core_Helper_Abstract {

config.xml에

<?xml version="1.0"?> 


<config> 
    <modules> 
    <AppFactory_Basic> 
     <version>1.0</version> 
    </AppFactory_Basic> 
    </modules> 

    <frontend> 
    <routers> 
     <basic> 
      <use>standard</use> 
      <args> 
       <module>AppFactory_Basic</module> 
       <frontName>basic</frontName> 
      </args> 
     </basic> 
    </routers> 
    <!-- <layout> 
     <updates> 
      <murad_restapi> 
       <file>murad_restapi.xml</file> 
      </murad_restapi> 
     </updates> 
    </layout> --> 
    </frontend> 

    <global> 
    <helpers> 
     <!--<googleanalytic> 
     <class>AppFactory_GoogleAnalytic_Helper</class> 
     </googleanalytic>--> 
     <basic> 
     <class>AppFactory_Basic_Helper</class> 
     </basic> 

    </helpers> 

    <models> 
     <basic> 
     <class>AppFactory_Basic_Model</class> 
     </basic> 
    </models> 

    <resources> 
     <basic_setup> 
      <setup> 
       <module>AppFactory_Basic</module> 
       <class>Mage_Customer_Model_Entity_Setup</class> 
      </setup> 
     </basic_setup> 
     <basic_write> 
      <connection> 
       <use>core_write</use> 
      </connection> 
     </basic_write> 
     <basic_read> 
      <connection> 
       <use>core_read</use> 
      </connection> 
     </basic_read>   
    </resources> 

    </global> 



    <default> 
     <basic> 
      <view> 
       <enabled>1</enabled> 
       <google_analytics></google_analytics> 
      </view> 
     </basic> 
    </default> 

</config> 

adminhtml.xml으로부터 연장 PHP

<?xml version="1.0"?> 

<config> 
    <menu> 
     <basic translate="title" module="basic"> 
      <title>App Factory</title> 
      <sort_order>300</sort_order> 
       <children> 
        <manage translate="title" module="basic"> 
         <title>Whatever</title> 
         <action>adminhtml/push</action> 
         <sort_order>1</sort_order> 
        </manage> 
       </children>  
     </basic> 
    </menu> 
    <acl> 
     <resources> 
      <admin> 
       <children> 
        <system> 
         <children> 
          <config> 
           <children> 
            <appfactory_basic translate="title" module="appfactory_basic"> 
             <title>App Factory Core Configurations</title> 
            </appfactory_basic> 
           </children> 
          </config> 
         </children> 
        </system> 
       </children> 
      </admin> 
     </resources> 
    </acl> 
</config> 

된 system.xml는

<?xml version="1.0"?> 

<config> 
    <tabs> 
     <appfactory> 
      <label>App Factory</label> 
      <sort_order>1</sort_order> 
     </appfactory> 
    </tabs> 
    <sections>  
     <basic> 
      <class>separator-top</class> 
      <label>App Factory</label> 
      <tab>appfactory</tab> 
      <frontend_type>text</frontend_type> 
      <sort_order>2</sort_order> 
      <show_in_default>1</show_in_default> 
      <show_in_website>1</show_in_website> 
      <show_in_store>1</show_in_store> 
     <groups> 
      <view translate="label"> 
       <label>General</label> 
       <frontend_type>text</frontend_type> 
       <sort_order>10</sort_order> 
       <show_in_default>1</show_in_default> 
       <show_in_website>1</show_in_website> 
       <show_in_store>1</show_in_store> 
       <expanded>1</expanded> 
       <fields> 
        <enabled translate="label"> 
         <label>Enable Shopping Cart</label> 
         <frontend_type>select</frontend_type> 
         <source_model>adminhtml/system_config_source_yesno</source_model> 
         <sort_order>10</sort_order> 
         <show_in_default>1</show_in_default> 
         <show_in_website>1</show_in_website> 
         <show_in_store>1</show_in_store> 
        </enabled>      
        <google_analytics translate="label"> 
         <label>Google Analytics ID</label> 
         <comment>Enter your universal Google Analytics ID</comment> 
         <sort_order>30</sort_order> 
         <depends><enabled>1</enabled></depends> 
         <show_in_default>1</show_in_default> 
         <show_in_website>1</show_in_website> 
         <show_in_store>1</show_in_store> 
        </google_analytics> 
       </fields> 
      </view> 
     </groups> 

    </basic> 
</sections> 

답변

1

이 부분은 잘못된 것 같다 :

<acl> 
    <resources> 
     <admin> 
      <children> 
       <system> 
        <children> 
         <config> 
          <children> 
           <appfactory_basic translate="title" module="appfactory_basic"> 
            <title>App Factory Core Configurations</title> 
           </appfactory_basic> 
          </children> 
         </config> 
        </children> 
       </system> 
      </children> 
     </admin> 
    </resources> 
</acl> 

태그 <appfactory_basic>이 잘못되었습니다. 하나 <appfactory> 또는 <basic> 그것이

+0

그것은, 너무 게으른 시도 않았다 , omg 아니오 문서의 어디에 쓰여 있는지 모듈 이름이어야 함 –

0

Yehia A.Salam, 내가 확인했다 your issue in system.xml where <config> is not close. enter image description here

+0

@AmiteBera,하지만 어떤 이유에 유래 그것을 표시되지 않습니다 (나는 그들 중 하나가 올바른 인 모르겠어요, 모두를보십시오)해야 –