Hello
Got error in OC v3.0.3.8 when in admin go to catalog > product
Warning: getimagesize(/var/www/vhosts/mysite/httpdocs/opencart-3.0.3.8/image/no_image.jpg): Failed to open stream: No such file or directory in /var/www/vhosts/mysite/storage/modification/admin/model/tool/image.php on line 12
cant find a solution
Got error in OC v3.0.3.8 when in admin go to catalog > product
Warning: getimagesize(/var/www/vhosts/mysite/httpdocs/opencart-3.0.3.8/image/no_image.jpg): Failed to open stream: No such file or directory in /var/www/vhosts/mysite/storage/modification/admin/model/tool/image.php on line 12
cant find a solution
Use OC -3.0.3.8 and 4.0.1.1 & default theme
Because your ocmod extension doesn't use .PNG and the file doesn't exist.
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
An ocmod extension that use no_image.jpg instead of .PNG
Code: Select all
/storage/modification/admin/model/tool/image.php
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Code: Select all
if (!$image_info) {
return $server . 'image/' . $filename;
}
} else {
$filename = "no_image.png";
}
normal it is .png but a extension use .jpg
Use OC -3.0.3.8 and 4.0.1.1 & default theme
In that case, please add [SOLVED] to the start of this post title.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Hi everyone,
I have the same problem and I don't know where I need to make the change.
User "Frens" said he changed the name of a picture and the error disappeared. Can you explain more clearly how you did it and where you put the code?
I also need to remove the error!
Thank you!
I have the same problem and I don't know where I need to make the change.
User "Frens" said he changed the name of a picture and the error disappeared. Can you explain more clearly how you did it and where you put the code?
I also need to remove the error!
Thank you!
"So i made a no_image.jpg"
No code, just an image added with that name.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Who is online
Users browsing this forum: No registered users and 413 guests