Magento 1.9.2 – Simple Controller Not Working in Module

controllersmagento-1.9module

I am Trying To create a Simple Module. It's Found 404 page Error.

My config file in app/etc/modules/Codefire_Mymodule.xml

<?xml version="1.0"?>
<config>
    <modules>
        <Codefire_Mymodule>
            <actve>true</actve>
            <codePool>local</codePool>
        </Codefire_Mymodule>
    </modules>
</config>

Create Controllrer in app\code\local\Codefire\Mymodule\controllers\IndexController.php

<?php
class Codefire_Mymodule_IndexController extends Mage_Core_Controller_Front_Action
{
    public function indexAction()
    {
        echo "Hello tuts+ World";
    }
     public function testAction()
    {
        echo "test action";
    }
}

And Create My Plugin xml file in app\code\local\Codefire\Mymodule\etc\config.xml

<?xml version="1.0"?>
<config>
    <modules>
        <Codefire_Mymodule>
            <version>0.1.0</version>
        </Codefire_Mymodule>
    </modules>
    <frontend>
        <routers>
            <mymodule>
                <use>standard</use>
                <args>
                    <module>Codefire_Mymodule</module>
                    <frontName>mymodule</frontName>
                </args>
            </mymodule>
        </routers>
    </frontend>
</config>

URL: index.php/mymodule/index/index
When I am Write testing in magento in display 404 page error. can You Tell me What's Issue?

Best Answer

You have done,a simple mistake

<actve>true</actve>

should be

<active>true</active>'

The tag: actve should be active

Edit: If you use linux system,you should check File & folder Name space does not contain space

Related Topic