Older 1.5 versions used image/data, new versions use image/catalog.
Did you rename image folder /data/ to /catalog/ ?
What is stored in database product table in column image ?
Double check config files. Is DIR_IMAGE the full path to image folder ?
What do you see when opening filemanager ?
I believe this is a deliberate re-structure?cyclops12 wrote:well there is a definate problem there as in 2.3.0.2 the modules are in admin/controller/extension/module instead of admin/controller/module/
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
In the image folder, there is both a "catalog" and a "data" folder. There is certainly some redundancy in those folders but they are not exactly duplicate. I did not rename anything there.pprmkr wrote:Older 1.5 versions used image/data, new versions use image/catalog.
Did you rename image folder /data/ to /catalog/ ?
What is stored in database product table in column image ?
Double check config files. Is DIR_IMAGE the full path to image folder ?
What do you see when opening filemanager ?
In the database, images are referenced to "catalog" folder.
In config.php file in the root folder, Line 18: define('DIR_IMAGE', '/home2/quasmo/public_html/store/image/');
I haven't been able access image files from the OC front end, I received the error message in the header of this thread, when I try to access or upload image files.
Thanks for your help.
Hi paulfeakins yes i know this is a deliberate re-structure but the OP had this as one of his errorspaulfeakins wrote:I believe this is a deliberate re-structure?cyclops12 wrote:well there is a definate problem there as in 2.3.0.2 the modules are in admin/controller/extension/module instead of admin/controller/module/
"2016-09-14 7:49:12 - PHP Notice: Indirect modification of overloaded property ControllerModuleInformation::$data has no effect in /home/quasmo/public_html/store/admin/controller/module/information.php on line 20"
But this is not the structure of 2.3.0.2 so there is a problem there, that was all i was saying
May be I am late but could be useful to lates like me
you need to modify both config.php files one in the root of your installation dir and the other in your installation/admin dir
you will find like define('DIR_IMAGE', '/home/htdocs/[your installation dir]//image/'); here you will find double back slash just remove one of those and save
do with all of them paths if neccessary
this is not a developers fault ofcourse bc some server supports double back slash "//" and some not
you need to modify both config.php files one in the root of your installation dir and the other in your installation/admin dir
you will find like define('DIR_IMAGE', '/home/htdocs/[your installation dir]//image/'); here you will find double back slash just remove one of those and save
do with all of them paths if neccessary
this is not a developers fault ofcourse bc some server supports double back slash "//" and some not
I have been getting the same error and found the issue was related to the following condition in filemanager.php (210):
My DIR_IMAGE in both config files was /home5/.../image/ as per the file structure of my host. However, the realpath($directory) was returning /home/.../image/
Once I updated my config to be /home/.../image/ everything started working fine again.
Hope this helps someone with the same issue.
Code: Select all
if (!is_dir($directory) || substr(str_replace('\\', '/', realpath($directory)), 0, strlen(DIR_IMAGE . 'catalog')) != str_replace('\\', '/', DIR_IMAGE . 'catalog')) {
Once I updated my config to be /home/.../image/ everything started working fine again.
Hope this helps someone with the same issue.
Who is online
Users browsing this forum: No registered users and 108 guests