Page 1 of 1

Warning: Directory does not exist! opencart

Posted: Sat Dec 31, 2016 9:26 am
by 21yanks
Hi
can someone help me figure this out. when try to upload an image for the product I get the error message Warning: Directory does not exist! opencart. I can manually upload the pictures to the server with filezilla but I prefer to upload thru the admin panel. I did upgraded from 2.1.0.2 to 2.3.02, I follow the steps to delete the extras folders as mention in another thread. I check my error log and i have nothing wrong.
Please let me know if there is a solution.

Best Regards,
Nick

Re: Warning: Directory does not exist! opencart

Posted: Tue Jan 03, 2017 3:22 pm
by sachin6609
Hii

can you tell me the admin config path of image directory plz?

This one is the image directory path in front and admin config

define('DIR_IMAGE','Here Is Your Path That I Want To Show');

Thanks

sachin

Re: Warning: Directory does not exist! opencart

Posted: Wed Jan 04, 2017 4:37 am
by 21yanks
Hi, this is the path on my image config for both Admin and Root
define('DIR_IMAGE', '/home/nick2021/public_html/image/');
Thank you

Re: Warning: Directory does not exist! opencart

Posted: Sun Jan 15, 2017 10:03 am
by 21yanks
Hi guys.
I was actually making the mistake!!! I see that in 2.1.0.2 my images go directly to images/ (root) and folders created within and it will work fine.

Now in 2.3.0.2 the image manger by default uploads the images to image/catalog. So I moved all my images from images/root and folders within to images/catalog. The hardest part for me was to restore back all the images for those product's. Now any upload I do into my catalog folder work's like a charm.