Note that there are some explanatory texts on larger screens.

plurals
  1. POMagento Hello World Admin Module Returning 404
    text
    copied!<p>I'm having a go at building an admin module using the moduleCreator tool found <a href="http://www.silksoftware.com/magento-module-creator/" rel="nofollow">here</a></p> <p>Even out of the box it is throwing a 404 when I navigate to the page. I have disabled cash and logged out/in. None of the googled solutions fix the issue. I am running 1.7.2</p> <p>The key files look like this:</p> <p><strong>Config.xml</strong></p> <pre><code>&lt;?xml version="1.0"?&gt; &lt;config&gt; &lt;modules&gt; &lt;Jinkou_MobileAdmin&gt; &lt;version&gt;0.1.0&lt;/version&gt; &lt;/Jinkou_MobileAdmin&gt; &lt;/modules&gt; &lt;global&gt; &lt;helpers&gt; &lt;mobileadmin&gt; &lt;class&gt;Jinkou_MobileAdmin_Helper&lt;/class&gt; &lt;/mobileadmin&gt; &lt;/helpers&gt; &lt;blocks&gt; &lt;mobileadmin&gt; &lt;class&gt;Jinkou_MobileAdmin_Block&lt;/class&gt; &lt;/mobileadmin&gt; &lt;/blocks&gt; &lt;/global&gt; &lt;admin&gt; &lt;routers&gt; &lt;mobileadmin&gt; &lt;use&gt;admin&lt;/use&gt; &lt;args&gt; &lt;module&gt;Jinkou_MobileAdmin&lt;/module&gt; &lt;frontName&gt;mobileadmin&lt;/frontName&gt; &lt;/args&gt; &lt;/mobileadmin&gt; &lt;/routers&gt; &lt;/admin&gt; &lt;adminhtml&gt; &lt;menu&gt; &lt;mobileadmin module="mobileadmin"&gt; &lt;title&gt;MobileAdmin&lt;/title&gt; &lt;sort_order&gt;100&lt;/sort_order&gt; &lt;children&gt; &lt;mobileadminbackend module="mobileadmin"&gt; &lt;title&gt;Order Processing&lt;/title&gt; &lt;sort_order&gt;0&lt;/sort_order&gt; &lt;action&gt;mobileadmin/adminhtml_mobileadminbackend&lt;/action&gt; &lt;/mobileadminbackend&gt; &lt;/children&gt; &lt;/mobileadmin&gt; &lt;/menu&gt; &lt;acl&gt; &lt;resources&gt; &lt;all&gt; &lt;title&gt;Allow Everything&lt;/title&gt; &lt;/all&gt; &lt;admin&gt; &lt;children&gt; &lt;mobileadmin translate="title" module="mobileadmin"&gt; &lt;title&gt;MobileAdmin&lt;/title&gt; &lt;sort_order&gt;1000&lt;/sort_order&gt; &lt;children&gt; &lt;mobileadminbackend translate="title"&gt; &lt;title&gt;Order Processing&lt;/title&gt; &lt;/mobileadminbackend&gt; &lt;/children&gt; &lt;/mobileadmin&gt; &lt;/children&gt; &lt;/admin&gt; &lt;/resources&gt; &lt;/acl&gt; &lt;layout&gt; &lt;updates&gt; &lt;mobileadmin&gt; &lt;file&gt;mobileadmin.xml&lt;/file&gt; &lt;/mobileadmin&gt; &lt;/updates&gt; &lt;/layout&gt; &lt;/adminhtml&gt; &lt;/config&gt; </code></pre> <p><strong>MobileBackendController.php</strong></p> <pre><code>&lt;?php class Jinkou_MobileAdmin_Adminhtml_MobileAdminbackendController extends Mage_Adminhtml_Controller_Action { public function indexAction() { $this-&gt;loadLayout(); $this-&gt;_title($this-&gt;__("Order Processing")); $this-&gt;renderLayout(); } } </code></pre> <p>The MobileAdminbackendController.php does not seem to be loading as I can remove the class and not throw an exception.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload