Hi,
I have looked into all the posts regarding this issue but have not been able to resolve.
Checking my logs I see these errors:
imagecreatefromjpeg(): gd-jpeg, libjpeg: recoverable error: Premature end of JPEG file
imagecopyresampled() expects parameter 2 to be resource, boolean given in /home/*****/public_html/********/system/library/image.php on line 99
Please could someone help in telling me how to go about fixing this issue please?
Thanks.
Tricky
I have looked into all the posts regarding this issue but have not been able to resolve.
Checking my logs I see these errors:
imagecreatefromjpeg(): gd-jpeg, libjpeg: recoverable error: Premature end of JPEG file
imagecopyresampled() expects parameter 2 to be resource, boolean given in /home/*****/public_html/********/system/library/image.php on line 99
Please could someone help in telling me how to go about fixing this issue please?
Thanks.
Tricky
Simply check all images.
Errors such that are coming because the uploaded images are corrupt (somtimes because of a part transfer).
Check also all images for false titles, avoid spaces, dots, commas, and umlauts.
Errors such that are coming because the uploaded images are corrupt (somtimes because of a part transfer).
Check also all images for false titles, avoid spaces, dots, commas, and umlauts.
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Hi thanks for your reply. I know my files are OK as can view edit etc on my pc. The file name is in the format of ab00001 and so on. Would it be a file size issue? I would have thought any problems uploading would show some kind of warning to the admin person no?
Thanks
Tricky
Thanks
Tricky
indicates in 99% of all cases corrupt images.Premature end of JPEG file
Viewing the original file locally can be fine, but download the image from the server and display (or try it to) that on your local PC.
You will be surprised .. I see that every week several times at different customers.
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
I am unable to download the image as it is not even getting uploaded. I browse to the file on my local pc then click open and thats it nothing else happens. I FTP'd to my server and the file I was trying to upload was not there. I have set image folders to 777 and my default root to images in the config are:
root config
define('DIR_IMAGE', '/home/******/public_html/******/image/');
admin config
define('DIR_IMAGE', '/home/******/public_html/******/image/');
***** just removing private info.
root config
define('DIR_IMAGE', '/home/******/public_html/******/image/');
admin config
define('DIR_IMAGE', '/home/******/public_html/******/image/');
***** just removing private info.
Who is online
Users browsing this forum: No registered users and 11 guests