This is my second store with second root category on my single magento installation.

  • WEBSITE: main website (Code: base)
    MAIN WEBSITE STORE: (Root Category: Default Category)
    DEFAULT STORE VIEW: (Code: default)
  • WEBSITE: Business Website (Code: business)
    MAIN WEBSITE STORE: (Root Category: Business Store)
    DEFAULT STORE VIEW: (Code: business_store_view)

Everything is fine except when I click on the category in mega menu, it gives the following error:

Warning: Uncaught exception 'Exception' with message 'Warning: require_once(app/code/core/Mage/Catalog/controllers/CategoryController.php) [function.require-once]: failed to open stream: No such file or directory in app/code/local/Smartwave/Ajaxcatalog/controllers/Catalog/CategoryController.php on line 9' in app/code/core/Mage/Core/functions.php:245
Stack trace:
#0 app/code/local/Smartwave/Ajaxcatalog/controllers/Catalog/CategoryController.php(9): mageCoreErrorHandler(2, 'require_once(ap...', '/home/content/8...', 9, Array)
#1 app/code/local/Smartwave/Ajaxcatalog/controllers/Catalog/CategoryController.php(9): require_once()
#2 app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(323): include('/home/content/8...')
#3 app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(293): Mage_C in app/code/core/Mage/Core/functions.php on line 245

Fatal error: main() [function.require]: Failed opening required 'app/code/core/Mage/Catalog/controllers/CategoryController.php' (include_path='app/code/local:app/code/community:app/code/core:lib:.:/usr/local/php5_3/lib/php') in app/code/local/Smartwave/Ajaxcatalog/controllers/Catalog/CategoryController.php on line 9

closed as off-topic by Sander Mangel, brentwpeterson, liyakat, Amit Bera, Mufaddal May 20 '15 at 4:49

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions describing a problem that can't be reproduced OR seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – Sander Mangel, brentwpeterson, liyakat, Amit Bera, Mufaddal
If this question can be reworded to fit the rules in the help center, please edit the question.

  • Since this error comes directly from a 3rd party module (Smartwave) we're unable to reproduct the error. But it seems you are missing a file. Check if it exists – Sander Mangel May 19 '15 at 20:02