2. Only updated config.php and admin/config.php (but no changes to DIR_IMAGE in both) . Did not change anything in .htaccess
3. Checked actual DB tables and see all image links seem to be correct
4. But don't see any product images on my website (www.linencasa.com) . Source shows "<img src (unknown)...
5. When try to load a new photo in opencart admin (products photo), Image Manager is empty and gives me an error "Warning: Directory does not exist!" when I try create a new folder
6. I can access my images directly when constructing an URL, for example: https://www.linencasa.com/image/catalog ... s/test.jpg
7. I use (and used before as well) Default Store Theme (can be seen in System/Settings on General tab
8. I did followed upgrade instructions from OC manual and made sure I have all permissions (step #7 - Goto Admin->Users->User Groups and Edit the Top Adminstrator group. Check All boxes.)
Config.php:
Code: Select all
// DIR
define('DIR_APPLICATION', '/home2/linencas/public_html/catalog/');
define('DIR_SYSTEM', '/home2/linencas/public_html/system/');
define('DIR_LANGUAGE', '/home2/linencas/public_html/catalog/language/');
define('DIR_TEMPLATE', '/home2/linencas/public_html/catalog/view/theme/');
define('DIR_CONFIG', '/home2/linencas/public_html/system/config/');
define('DIR_IMAGE', '/home2/linencas/public_html/image/');
define('DIR_STORAGE', '/home2/linencas/public_html/system/storage/');
define('DIR_CACHE', DIR_STORAGE . 'cache/');
define('DIR_DOWNLOAD', DIR_STORAGE . 'download/');
define('DIR_LOGS', DIR_STORAGE . 'logs/');
define('DIR_MODIFICATION', DIR_STORAGE . 'modification/');
define('DIR_SESSION', DIR_STORAGE . 'session/');
define('DIR_UPLOAD', DIR_STORAGE . 'upload/');
Code: Select all
// DIR
define('DIR_APPLICATION', '/home2/linencas/public_html/admin/');
define('DIR_SYSTEM', '/home2/linencas/public_html/system/');
define('DIR_LANGUAGE', '/home2/linencas/public_html/admin/language/');
define('DIR_TEMPLATE', '/home2/linencas/public_html/admin/view/template/');
define('DIR_CONFIG', '/home2/linencas/public_html/system/config/');
define('DIR_IMAGE', '/home2/linencas/public_html/image/');
define('DIR_STORAGE', '/home2/linencas/public_html/system/storage/');
define('DIR_CACHE', DIR_STORAGE . 'cache/');
define('DIR_DOWNLOAD', DIR_STORAGE . 'download/');
define('DIR_LOGS', DIR_STORAGE . 'logs/');
define('DIR_MODIFICATION', DIR_STORAGE . 'modification/');
define('DIR_SESSION', DIR_STORAGE . 'session/');
define('DIR_UPLOAD', DIR_STORAGE . 'upload/');
define('DIR_CATALOG', '/home2/linencas/public_html/catalog/');
Code: Select all
RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteRule ^system/download/(.*) index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]