Post by fguzels » Sun Feb 07, 2021 1:53 am

Hi,
Firstly, i am sorry for my English. I am using Opencart 3.0.3.2 version. I have 2 problems:
* White color appears when I upload a picture.
* When I go into some products and click the save button, all the information on the links page is deleted. In some products, I cannot make any changes (such as adding or removing). It also works normally in some products.
I would be glad if you help.
Thank you.

Newbie

Posts

Joined
Sat Oct 17, 2020 2:35 am

Post by sw!tch » Sun Feb 07, 2021 3:09 am

Start by checking your PHP server error log & Opencart error log.

Backup and learn how to recover before you make any changes!


Active Member

Posts

Joined
Sat Apr 28, 2012 2:32 pm

Post by fguzels » Sun Feb 07, 2021 6:40 pm

My opencart error.log for image:

2021-02-07 10:36:01 - PHP Warning: imagecreatefrompng(): gd-png: fatal libpng error: IDAT: CRC error in /xxx/public_html/system/library/image.php on line 45
2021-02-07 10:36:01 - PHP Warning: imagecreatefrompng(): gd-png error: setjmp returns error condition in /xxx/public_html/system/library/image.php on line 45
2021-02-07 10:36:01 - PHP Warning: imagecreatefrompng(): '/xxx/public_html/image/catalog/uploads/test-logo.png' is not a valid PNG file in /xxx/public_html/system/library/image.php on line 45
2021-02-07 10:36:01 - PHP Warning: imagecopyresampled() expects parameter 2 to be resource, boolean given in /xxx/public_html/system/library/image.php on line 182
2021-02-07 10:36:01 - PHP Warning: imagedestroy() expects parameter 1 to be resource, boolean given in /xxx/public_html/system/library/image.php on line 183

Newbie

Posts

Joined
Sat Oct 17, 2020 2:35 am

Post by mikeinterserv » Mon Feb 08, 2021 12:48 am

Well there is something wrong with your PNG file according to the warning.
Try and replace that file with a jpg and see what happens

Active Member

Posts

Joined
Thu May 28, 2020 6:55 am
Location - Wales

Post by straightlight » Mon Feb 08, 2021 1:43 am

Also ensure to use a reasonable image size. Otherwise, you may encounter similar problems.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by paulfeakins » Mon Feb 08, 2021 6:51 pm

fguzels wrote:
Sun Feb 07, 2021 1:53 am
* White color appears when I upload a picture.
Like others have said, this could be related to your images or do you just mean the white borders?

fguzels wrote:
Sun Feb 07, 2021 1:53 am
* When I go into some products and click the save button, all the information on the links page is deleted.
Probably mod_security - contact your host.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom
Who is online

Users browsing this forum: No registered users and 25 guests