Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Imaclean Stopped Working #1

Open
notoveryet opened this issue Nov 21, 2015 · 3 comments
Open

Imaclean Stopped Working #1

notoveryet opened this issue Nov 21, 2015 · 3 comments
Assignees
Labels

Comments

@notoveryet
Copy link

Hi,

I just upgraded beta version to 1.0 but Imaclean stopped seeing deleted images in my media directory.

I tried reindexing, deleting the core_resource records, re-creating the imaclean table, re-installing the extension, etc.

Still is shows "0 records found" when I click Refresh, even though I know I just deleted an image from a product and it's still in the media directory.

I am running Magento 1.9.2.2 and Imaclean 1.0

Funny thing is, Imaclean beta version worked fine (when the menu was at the top of the Magento menu and not under System).

Thanks in advance!

@notoveryet notoveryet changed the title ImaClean Stopped Working Imaclean Stopped Working Nov 21, 2015
@fballiano
Copy link

true, beta version was working, I updated today and it doesn't work anymore

@fballiano
Copy link

I managed to make it working again changing Helper/Data.php, line 45, with:
$path = Mage::getBaseDir('media') . DS . 'catalog' . DS . 'product';

@sreichel sreichel self-assigned this Feb 28, 2017
@sreichel
Copy link
Owner

sreichel commented Feb 28, 2017

$path has not changed since first release. substr($path . DS . $entry, 21); should not work with Mage::getBaseDir('media')?

Any further information?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants