There was an Error in a search page. It was showing blank no scripting, while searching anything.

2015-06-25T07:10:46+00:00 ERR (3): Warning: require_once(/home/patelman/public_html/..app/code/core/Mage/CatalogSearch/controllers/ResultController.php): failed to open stream: No such file or directory in /home/patelman/public_html/../app/code/local/themename/Ajaxcatalog/controllers/CatalogSearch/ResultController.php on line 5

I got this error in system log file.

  • Please make sure Magento logging is on and check the system and error log for exceptions. Also check the apache error logs for PHP errors or turning error displaying on Commented Jun 24, 2015 at 18:17
  • It's not showing any error. Commented Jun 25, 2015 at 3:17
  • Dit you add a 3rd party plugin or change code or a layout file? Without any information we cant help you Commented Jun 25, 2015 at 5:50
  • I used poli pay extension only and I haven't made any changes in code and layout file. Commented Jun 25, 2015 at 6:02
  • Hi Sander, Can you help me with how to put Question on this forum as you put it on hold. Really I need help. Commented Jun 25, 2015 at 6:46

2 Answers 2


It seems that is a problem with Ajaxcatalog module you installed. It could not find Result controller. You may try following ways:
- If you enable compilation, you should re-compile it to solve the problem.
- Check & Make sure the module include correct file path.
- Contact module author
- Disable the module :)


This issue is due to ResultController of catalogsearch module is not included properly.

Open app/code/local/themename/Ajaxcatalog/controllers/CatalogSearch/ResultController.php file and add below code on top.

require_once Mage::getModuleDir('controllers',Mage_CatalogSearch').DS.'ResultController.php';

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.