Controller 404 Page Not Found using Magento

I created this files… based on TutsPlus Premium Magento Tutorial
I am using the latest Magento right now.

file path

appcodelocalTutsPlusDemoetc

this is the codes…
for
config.xml

<config>
    <global>
        <models>
            <demo>
                <class>TutsPlus_Demo_Model</class>
            </demo>
        </models>

        <blocks>
            <demo>
                <class>TutsPlus_Demo_Block</class>
            </demo>
        </blocks>

        <helpers>
            <demo>
                <class>TutsPlus_Demo_Helper</class>
            </demo>
        </helpers>

    </global>

    <frontend>
        <routers>
            <tutsplus_demo>
                <use>standard</use>
                <args>
                    <module>TutsPlus_Demo</module>
                    <frontName>demo</frontName>
                </args>
            </tutsplus_demo>
        </routers>
    </frontend>

</config>

appcodelocalTutsPlusDemocontrollers

this is the codes…
for
IndexController.xml

<?php

class TutsPlus_Demo_IndexController extends Mage_Core_Controller_Front_Action {

    public function sayHelloAction() {
        echo "Hello Junar";
    }

}

The Output must be: Hello Junar but it gives me 404 Page Not Found


Source: xml

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.