I am trying to flush swatch images cache but it shows error message:

An error occurred while clearing the configurable swatches image cache.

This exception is showing on exception.log file:

Exception message: Warning: include(Mage/Configurableswatches/Helper/Productimg.php): failed to open stream: No such file or directory"

  • I think the problem in the word 'Configurableswatches'. If you are using linux system all of your dir. paths should be in the right case, as linux system is a case sensitive by default. May 17, 2016 at 8:32

1 Answer 1


It seems somehow your system does not hold a core file. Replacing that file will eventually erase your issue.

The file location is app/code/core/Mage/ConfigurableSwatches/Helper/Productimg.php and this is the file you are missing. Place this file there.

  • file is already there .
    – Seefan
    May 17, 2016 at 8:55

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.