iâve created a module âAffiliateâ based on the contacts module. It is a form where users can enter their information to apply to the affiliate program. I copied the code/Mage/Contacts to code/local/Affiliate and replaced all âcontactsâ with âaffiliateâ.
I created the front end page /affiliate/form.html
I created the layout file affiliate.xml (again copying the contacts.xml)
I created the app/etx/Mage_Affiliate.xml file
When I goto the url /affiliate i get this error:
Fatal error: Call to a member function setFormAction() on a non-object in app\code\core\Mage\Affiliate\controllers\IndexController.php on line 55
Please help! I see on the boards that some people get this error after upgrading on the contacts page but I dont see any solutions.