I am getting error: Fatal error: Class 'Mage_Assel_Holidays_Helper_Data' not found
Here is config.xml--
<?xml version="1.0" encoding="UTF-8"?>
<config>
<modules>
<Assel_Holidays>
<version>1.0.0</version>
</Assel_Holidays>
</modules>
<admin>
<routers>
<holidays>
<use>admin</use>
<args>
<module>Assel_Holidays</module>
<frontName>holi</frontName>
</args>
</holidays>
</routers>
</admin>
<frontend>
<routers>
<holidays>
<use>standard</use>
<args>
<module>Assel_Holidays</module>
<frontName>holidays</frontName>
</args>
</holidays>
</routers>
</frontend>
<global>
<helpers>
<holidays>
<class>Assel_Holidays_Helper</class>
</holidays>
</helpers>
<blocks>
<holidays>
<class>Assel_Holidays_Block</class>
</holidays>
</blocks>
</global>
</config>
I have helper class in Data.php in Assel/Holidays/Helper/ folder.
Here is the Data.php
<?php
class Assel_Holidays_Helper_Data extends Mage_Core_Helper_Abstract
{
}
Here is the app/etc/modules/Assel_Holidays.xml--
<?xml version="1.0" encoding="utf-8"?>
<config>
<modules>
<Assel_Holidays>
<active>true</active>
<codePool>local</codePool>
</Assel_Holidays>
</modules>
</config>
I couldn't found out what is the reason behind it.
Mage::helper('assel_holidays')instead ofMage::helper('holidays')check your code – Raphael at Digital Pianism Feb 10 '16 at 10:09Mage::helper('holidays')anywhere – Shashank Kumrawat Feb 10 '16 at 10:11Assel_Holidays.xmladded above. – Shashank Kumrawat Feb 10 '16 at 10:21