Skip to main content
added 153 characters in body
Source Link
Amit Bera
  • 77.7k
  • 20
  • 124
  • 239

There some change require in your code:

No1: Mage_Catalog module CategoryController properly not included.

You need to include this file at your override controller in magento way.

require_once('app/code/core/Mage/Catalog/controllers/CategoryController.php');

Is should be

require_once Mage::getModuleDir('controllers', 'Mage_Catalog').DS.'CategoryController.php';

Also you need to create module config file Deepak_Ajaxdeep.xml at app/etc/modules

There some change require in your code:

No1:

require_once('app/code/core/Mage/Catalog/controllers/CategoryController.php');

Is should be

require_once Mage::getModuleDir('controllers', 'Mage_Catalog').DS.'CategoryController.php';

Also you need to create module config file Deepak_Ajaxdeep.xml at app/etc/modules

There some change require in your code:

No1: Mage_Catalog module CategoryController properly not included.

You need to include this file at your override controller in magento way.

require_once('app/code/core/Mage/Catalog/controllers/CategoryController.php');

Is should be

require_once Mage::getModuleDir('controllers', 'Mage_Catalog').DS.'CategoryController.php';

Also you need to create module config file Deepak_Ajaxdeep.xml at app/etc/modules

added 89 characters in body
Source Link
Amit Bera
  • 77.7k
  • 20
  • 124
  • 239

There some change require in your code:

No1:

require_once('app/code/core/Mage/Catalog/controllers/CategoryController.php');

Is should be

require_once Mage::getModuleDir('controllers', 'Mage_Catalog').DS.'CategoryController.php';

Also you need to create module config file Deepak_Ajaxdeep.xml at app/etc/modules

There some change require in your code:

No1:

require_once('app/code/core/Mage/Catalog/controllers/CategoryController.php');

Is should be

require_once Mage::getModuleDir('controllers', 'Mage_Catalog').DS.'CategoryController.php';

There some change require in your code:

No1:

require_once('app/code/core/Mage/Catalog/controllers/CategoryController.php');

Is should be

require_once Mage::getModuleDir('controllers', 'Mage_Catalog').DS.'CategoryController.php';

Also you need to create module config file Deepak_Ajaxdeep.xml at app/etc/modules

Source Link
Amit Bera
  • 77.7k
  • 20
  • 124
  • 239

There some change require in your code:

No1:

require_once('app/code/core/Mage/Catalog/controllers/CategoryController.php');

Is should be

require_once Mage::getModuleDir('controllers', 'Mage_Catalog').DS.'CategoryController.php';