Post by willopencart » Sat Jan 21, 2017 8:06 am

Hi,
I installed a clean version of OC, Version 2.3.0.2.
I am trying to upload an image for a product, but get the error message "warning directory does not exist" when I click the blue upload arrow.

Some people have said that there must be a 'data' folder in 'image' which there was not, so I have added that, this did not help. (image/data)
I am using Firefox and have tried Chrome, both don’t work.

Any ideas please?
Thanks
Will.

New member

Posts

Joined
Sat Jan 21, 2017 8:00 am

Post by IP_CAM » Sun Jan 22, 2017 3:05 am

Nope, it should be:
image/catalog in OC v.2
Ernie

My Github OC Site: https://github.com/IP-CAM
4'850 + FREE OC Extensions, on the World's largest Github OC Repository Archive Site.
My Demo Sites: http://www.bigmax.ch/shop --- http://www.opencart.li/shop/


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by willopencart » Mon Jan 23, 2017 9:02 pm

Thanks Ernie,
That diectory is there but the uploader still doss not work.
Any suggestions please?

New member

Posts

Joined
Sat Jan 21, 2017 8:00 am

Post by IP_CAM » Mon Jan 23, 2017 9:49 pm

Well, you probably have some incorrect settings in your config.php file(s).
But without looking at them, it cannot been said.
Ernie

My Github OC Site: https://github.com/IP-CAM
4'850 + FREE OC Extensions, on the World's largest Github OC Repository Archive Site.
My Demo Sites: http://www.bigmax.ch/shop --- http://www.opencart.li/shop/


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by willopencart » Tue Jan 24, 2017 2:27 am

Thanks, yes my free hosting provider had 'htdocs' in front of the directory so I used a diffrent provider that did not do that.
All fixed.
Thanks
Will.

New member

Posts

Joined
Sat Jan 21, 2017 8:00 am

Post by greymatters » Fri Feb 10, 2017 6:41 pm

Hi,

I am facing the same issue and tried everything you told earlier.

Now opened a ticket for my hosting company to fix this issue with a link to your post.

I am using PHP 5.6, can you please explain in details what should i do myself in config or PHP settings from cPanel to fix this issue.

Thanks for your time and support.

Nirav

User avatar
New member

Posts

Joined
Mon Nov 16, 2009 12:28 am


Post by Cool1 » Sat Feb 11, 2017 3:36 am

In my case the sulution was:

It appeared that in both config.php files (in root and admin dirctories) all the entries (including /image) were:
/..../...../provider-name/user-name/domain-name/htdocs//image/') - meaning two // instead of one /.
Possibly it is the bug in the OpenCart installation script.
I've changed ALL // to / in both files. Now it works fine.

Newbie

Posts

Joined
Thu Feb 09, 2017 11:11 pm

Post by haxcop » Tue Oct 02, 2018 11:59 pm

on my case into the /config.php and /admin/config.php were pointing to /www/mydomain.com/* instead of /public_html/mydomain.com/*
as soon as I changed the directory works.

New member

Posts

Joined
Tue Jan 14, 2014 9:38 pm
Location - Dublin

Post by samiwaheed97 » Thu May 12, 2022 9:05 pm

Hi,
The same issue occurred with my website and it occurred due to website migration and in my case i solve by making changes in
the config.php files in the main directory and in admin directory, the issue was that the image directory path was incorrect hope it will solve your issue
Regards
Sami

Newbie

Posts

Joined
Thu May 12, 2022 8:57 pm
Who is online

Users browsing this forum: No registered users and 24 guests