0

I'd assume the file to be Adminhtml/controllers/Catalog/ProductController.php looking at the editAction() function but this seems to not be the case.

Could somebody point me at the correct file location please.

Simon
  • 5,735
  • 1
  • 32
  • 70
Ste
  • 323
  • 1
  • 4
  • 11

3 Answers3

1

That's the correct place, but it would seem something is overriding that controller.

Do a search in all your modules for another ProductController.php or potentially search for editAction() but that would return a lot of results.

Simon
  • 5,735
  • 1
  • 32
  • 70
Dave
  • 872
  • 6
  • 16
0

Have a look at my answer here for ways in which you may find a URL to be rewritten. One possibility is that another module is rewriting the controller, so search for:

before="Mage_Adminhtml"

inside app/code/local and app/code/community to find config.xml files for third party modules which are rewriting Adminhtml module controllers (common when building modules which include admin functionality in order to continue to use the standard admin frontName).

Jonathan Hussey
  • 4,990
  • 1
  • 16
  • 25
0

In the file: app/code/core/Mage/Core/Controller/Varien/Action.php

Go to dispatch() function and at the top write:

Mage::log(get_class($this),null,'path.log'); and hit your functionality that uses the controller.

With logging enabled var/log/path.log should have the class name that your action is present in.

Paras Sood
  • 2,540
  • 1
  • 14
  • 23