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.

  • 1
    yes this correct location.But check any extension is override the extension – Amit Bera Sep 5 '14 at 10:43

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.


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:


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).


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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