Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Helper don’t get loaded in custom module (Class ‘Mage_Signup_Helper_Data’ not found …)
 
grossmann-mcs
Jr. Member
 
Total Posts:  14
Joined:  2011-01-31
 

If I try to load a helper in a custom module (to get a admin field in the system.xml working) I get the fatal error “Class ‘Mage_Signup_Helper_Data’ not found ...”. I searched for it and tried all the solutions I found. Clear cache and log out, add the in local>Signup>Helper>Data.php, added a <acl /> in the adminhtml.xml file.
But the helper never got loaded. The module files are attached.
Here my Mcs_Signup.xml to activate the module.

<?xml version="1.0"?>
<config>
  <
modules>
  <!-- 
Modul app/code/local/Mcs/Signup aktivieren -->
    <
Mcs_Signup>
      <
active>true</active>
      <
codePool>local</codePool>
      <
depends>
        <!--<
Mage_Core />-->
      </
depends>
    </
Mcs_Signup>
  </
modules>
</
config>

Any hints why this is not working? Magento version 1.7.0.0-rc1 (but I tired it with 1.6.1.0 too).
Thanks for your help.
grossman-mcs

File Attachments
Mcs.zip  (File Size: 4KB - Downloads: 18)
 
Magento Community Magento Community
Magento Community
Magento Community
 
dmlmdev
Member
 
Total Posts:  33
Joined:  2011-10-25
 

in your config.xml you have

<helpers>
<singnup>
<class>Mcs_Signup_Helper</class>
</signup>
</helpers>

You have singnup as opening tag and signup as the closing tag wink

 
Magento Community Magento Community
Magento Community
Magento Community
 
grossmann-mcs
Jr. Member
 
Total Posts:  14
Joined:  2011-01-31
 

A typo! I can’t belive it. Thank you so much.
I read over it a hundred times and didn’t see the typo. Everything works as expected now.
In the future I have to use an ide like eclipse with xml syntax checking to avoide such things.
Thanks again.
grossmann-mcs

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top