So I'm trying to make an Admin menu for a module I'm developing. The menu itself displays fine but when I click on it I get a 404 page.

This is my code:


                    <Jiri_Servicepunten after="Mage_Adminhtml">Jiri_Servicepunten


    <service translate="title" module="jiri_servicepunten">


 class Jiri_Servicepunten_ServicepuntenController extends Mage_Adminhtml_Controller_Action{
public function indexAction(){


When I try to debug the controller filename in core/Mage/Core/Controller/Varien/Router/Standard.php it looks in the following place:


I'm not sure where all the slashes are coming from. Its in the local pool btw. Anyone have any ideas?

1 Answer 1


Okay, so it turns out my code was okay. Except for where it says

 <Jiri_Servicepunten after="Mage_Adminhtml">Jiri_Servicepunten

All that whitespace between the tags apparently got registered as extra slashes. If I put the closing tag immediatly after the string it works as intended.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.