Post by shane8johnson » Sat Apr 29, 2017 12:42 am

I am trying to upload an image, but every time I tree I keep getting "Warning: Directory does not exist!"

My config file is as follows
// DIR
define('DIR_APPLICATION', '/home/vol15_6/byethost15.com/b15_20011754/htdocs//ocart/catalog/');
define('DIR_SYSTEM', '/home/vol15_6/byethost15.com/b15_20011754/htdocs//ocart/system/');
define('DIR_IMAGE', '/home/vol15_6/byethost15.com/b15_20011754/htdocs//ocart/image/');
define('DIR_LANGUAGE', '/home/vol15_6/byethost15.com/b15_20011754/htdocs//ocart/catalog/language/');
define('DIR_TEMPLATE', '/home/vol15_6/byethost15.com/b15_20011754/htdocs//ocart/catalog/view/theme/');
define('DIR_CONFIG', '/home/vol15_6/byethost15.com/b15_20011754/htdocs//ocart/system/config/');
define('DIR_CACHE', '/home/vol15_6/byethost15.com/b15_20011754/htdocs//ocart/system/storage/cache/');
define('DIR_DOWNLOAD', '/home/vol15_6/byethost15.com/b15_20011754/htdocs//ocart/system/storage/download/');
define('DIR_LOGS', '/home/vol15_6/byethost15.com/b15_20011754/htdocs//ocart/system/storage/logs/');
define('DIR_MODIFICATION', '/home/vol15_6/byethost15.com/b15_20011754/htdocs//ocart/system/storage/modification/');
define('DIR_UPLOAD', '/home/vol15_6/byethost15.com/b15_20011754/htdocs//ocart/system/storage/upload/');

Newbie

Posts

Joined
Sat Apr 29, 2017 12:39 am

Post by villagedefrance » Sat Apr 29, 2017 8:48 pm

Check the Permissions for the Image folder.
Try 755 first, that should work. If it still doesn't work, try 777, but that's not really recommended for the long term.

OpenCart custom solutions @ https://villagedefrance.net


User avatar
Active Member

Posts

Joined
Wed Oct 13, 2010 10:35 pm
Location - UK

Post by IP_CAM » Sat Apr 29, 2017 8:51 pm

/htdocs//ocart/sys :-\
cannot function !
Ernie

I am no longer active around here, to reach me, contact: jti@jacob.ch
My latest Freeware Opencart LIGHT Testsite, available on demand: http://www.ebikes.li/shop/
My 888 FREE OC Extension-Repositories - from OC v.1.5.x up,
on the largest OC Extension Github Site: https://github.com/IP-CAM
Image


User avatar
Legendary Member

Posts

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

Users browsing this forum: No registered users and 8 guests