I am making a Magento module which is enabled, and my cache is off.
Using this tutorial…
http://www.pierrefay.com/magento-create-controller-36
Here’s the controller I was asked to use in app/code/local/Pfay/Test.
class Pfay_Test_IndexController extends Mage_Core_Controller_Front_Action
{
public function indexAction ()
{
echo 'test index';
}
public function mamethodeAction ()
{
echo 'test mymethod';
}
}
However when I go to magento/Pfay/Test/index in my web browser, I get a 404 page, not the controller.
In the example code that you are copying and pasting, there are spaces in betweeen the following tags in the Pfay_All.xml file:
Remove those spaces so the tags look exactly like this:
Also, the path you are using should be
/test/indexor/testand not/Test/index– i.e. no uppercase T in Test