1

I am trying to add a new module to magento admin panel by following this article

http://alanstorm.com/magento_admin_hello_world_revisited When I have added all the files correctly, on clearing cache, admin panel goes Blank , I have an other magento setup, when I move the same files to that set up, new module is created. What is issue in 1st set up, due to which I am unable to create a new module.

14
  • Did you checked error log for old installation? Commented Jan 12, 2016 at 11:09
  • Yes, nothing there, even no exception Commented Jan 12, 2016 at 11:14
  • Did you enable error log from admin? Commented Jan 12, 2016 at 11:15
  • got following error Commented Jan 12, 2016 at 11:24
  • 2016-01-12T11:20:14+00:00 ERR (3): Warning: include(/www/ABC/includes/src/XYZ_Adminhello_Helper_Data.php): failed to open stream: No such file or directory in /www/ABC/includes/src/Varien_Autoload.php on line 93 Commented Jan 12, 2016 at 11:25

1 Answer 1

2

Disable compilation from your admin System > Tools > Compilation

Create helper file in your module /XYZ/Adminhello/Helper/ directory as Data.php

Put following code in it.

class XYZ_Adminhello_Helper_Data extends Mage_Core_Helper_Abstract
{

Hope it helps you

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.