Good morning! I'm trying to create a Magento module, but the route I've defined in the module's config.xml leads to a 404 page.
I know this issue has popped up countless times, and I've spent the entire night reading through every SO response I could find on the subject.
Here's what I've done:
- Cleared the var/cache & var/session folder
- Ran compiler.php -- clear, compiler.php -- disable, and compiler.php -- compile
- Cleared & flushed the caches and cache storage in the admin panel, reindexed from the backend and from the command line
- Created a new package/module for testing, completely different from the one that I was using before. It's showing up in System>>Configuration>>Advanced.
- Verified that Magento is not appending a store code to the URL
- Simplified my code all the way down to a single echo statement in the indexAction() function of IndexController.php in my controllers folder.
- Tried navigating to mydomain.com/customroute and mydomain.com/index.php/customroute and mydomain.com/customroute/index/index, and mydomain.com/index.php/index, and all possible variations thereof.
- Repeated steps 1-8 multiple times. xD
Below are a few screenshots for reference. Thank you in advance - if anyone has any ideas how to move past this, that'd be a total life-saver. Thanks!!
- http://i.imgur.com/PP0Fuuu.png "config.xml"
- http://i.imgur.com/YjMxate.png "IndexController.php"
EDIT:
Here is the code in app/etc/modules/Wolverine_Taurine.xml:
<?xml version="1.0"?>
<config>
<modules>
<Wolverine_Taurine>
<active>true</active>
<codePool>local</codePool>
</Wolverine_Taurine>
</modules>
</config>
Wolverine/Taurine/etc/config.xml:
<?xml version="1.0"?>
<config>
<modules>
<Wolverine_Taurine>
<version>1.0</version>
</Wolverine_Taurine>
</modules>
<frontend>
<routers>
<wolverine_taurine>
<use>standard</use>
<args>
<module>Wolverine_Taurine</module>
<frontName>taurine</frontName>
</args>
</wolverine_taurine>
</routers>
</frontend>
</config>
Wolverine/Taurine/controllers/IndexController.php:
<?php
class Wolverine_Taurine_IndexController extends Mage_Core_Controller_Front_Action
{
public function indexAction()
{
echo "I look incredible.";
}
}