3

I have been installing new modules, which by all accounts are functioning as they should.

I don't have much experience with Magento and have encountered the following error;

Fatal error: Class 'Mage_Files_Helper_Data' not found in /public_html/app/Mage.php on line 547.

The line 547 states: self::register($registryKey, new $helperClass);

This error arises when I click on product to go to the main product view. Up until that point everything works as should, search results etc. I've Goggled the error with no luck, I have tried things such as flushing the cache

Any guidance will be welcomed.

The full code where the error is;

/**
     * Retrieve helper object
     *
     * @param string $name the helper name
     * @return Mage_Core_Helper_Abstract
     */
    public static function helper($name)
    {
        $registryKey = '_helper/' . $name;
        if (!self::registry($registryKey)) {
            $helperClass = self::getConfig()->getHelperClassName($name);
            self::register($registryKey, new $helperClass); THIS IS LINE 547 ERROR
        }
        return self::registry($registryKey);
    }

    /**

It has not been explained how can I determine which module in Magento could be throwing the error or where those files could be located.

If someone could advise that would be great?

2
  • 1
    did you clear the cache?
    – Marius
    Commented Dec 9, 2014 at 14:11
  • Have cleared the cache prior and after install of each module added.
    – DanHoward
    Commented Dec 9, 2014 at 15:10

1 Answer 1

2

You are missing a Helper class probably in a module called Something_Files. See if you can find that and create a Helper file without nothing but the class declaration. See this for some more info.

6
  • It's also possible that @DanHoward has the class and the extension, but it's not enabled in app/etc/modules or it's not in allowed modules.
    – kojiro
    Commented Dec 9, 2014 at 14:12
  • Thank you for the help.. How can I determine which module is causing the issue as the error code doesn't seem to make reference to one?
    – DanHoward
    Commented Dec 9, 2014 at 14:47
  • I'll go with a module called Something_Files since the Helper you are looking for is trying to find Mage_Files_Helper_Data
    – mbalparda
    Commented Dec 9, 2014 at 14:55
  • Where would be the best place to start looking for this. The odd thing is that the site and all extensions are working fine, just cant access the product detail page :(
    – DanHoward
    Commented Dec 9, 2014 at 15:32
  • I added some additional info if that would help further!
    – DanHoward
    Commented Dec 9, 2014 at 15:32

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