Page 1 of 1

Lost all product images from my OpenCart Store

Posted: Tue Oct 01, 2019 10:12 am
by X-plane Addicted
Hi Guys.
I have lost all images from my OpenCart Store.
If I try to upload new images, I am presented with this message.
Image Manager

Warning: Directory does not exist!



Any help would very much appreciated.
Kev.

Re: Lost all product images from my OpenCart Store

Posted: Tue Oct 01, 2019 11:39 am
by X-plane Addicted
Update to my original post.
I get the same error message when I try to create a new folder as well.

Re: Lost all product images from my OpenCart Store

Posted: Tue Oct 01, 2019 2:19 pm
by opencartmart
Why don't you ftp image directory i.e image/category? Check if everything is there or not. If everything is there, make sure it has proper write permission.

Re: Lost all product images from my OpenCart Store

Posted: Tue Oct 01, 2019 3:24 pm
by X-plane Addicted
Yes, All file are there. everything was OK early this morning (Australia) a customer informed me that all the dispaly images for my products had vanished, But whenever I try to reload the images, then I get the error message as mention, and also the same message if I try to create a new folder.

The links to purchase the product still work, just no display images.

Kev

Re: Lost all product images from my OpenCart Store

Posted: Tue Oct 01, 2019 4:26 pm
by paulfeakins
It looks as though your config.php files have been changed or the file permissions on the server have changed. Files should be 644, directories 755.

Re: Lost all product images from my OpenCart Store

Posted: Tue Oct 01, 2019 5:55 pm
by X-plane Addicted
paulfeakins wrote:
Tue Oct 01, 2019 4:26 pm
It looks as though your config.php files have been changed or the file permissions on the server have changed. Files should be 644, directories 755.
Hi Paul, Can you explain how I can fix this? how do I check?looking at the files via FTP the permissions are the same -rw-r--r--

Re: Lost all product images from my OpenCart Store

Posted: Tue Oct 01, 2019 6:09 pm
by paulfeakins
That looks correct so it's probably not that.

Re: Lost all product images from my OpenCart Store

Posted: Tue Oct 01, 2019 8:12 pm
by by mona
check your config.php files

admin is in the admin folder & catalog is in the main root
should be something like
define('DIR_IMAGE', ‘/xx/xx/xx/yoursite/public_html/image/');

Re: Lost all product images from my OpenCart Store

Posted: Tue Oct 01, 2019 10:41 pm
by Nathaniel2019
Have you moved your stores ROOT directory?