version 2.3.0.2 (clean install in a subfolder, since I am running an older version of opencart in the root directory)
Quite simple, png files are not being recognized within open cart. This includes the placeholder.png image or any other png image file that is uploaded thru file manager. A direct link to the png concludes that it is not an error with the file itself since it can be viewing in my browser (/image/placeholder.png) by following the link. Any png files that are pre-loaded with this version and any png files that I upload thru file manager also do not appear in the file manager, except as empty white boxes. If they are selected, they still no not appear as images.
One thing I did notice is that the cache files that are created, all have size data associated with them, but when I download them, they are blank.
Here are the errors that I get:
My server host upgraded php from 5.5 to 5.6 and tried rebuilding all of the GD and PNG libraries. They rebuilt PHP with Bundled GD (which is how it was before), and with static GD using the system built GD library. Both instances got the same exact error from GD. One displays it in your page, the other causes your page to error out and just sticks that error in the log. We reverted back to 5.5.2016-10-31 12:26:27 - PHP Warning: imagecreatefrompng(): gd-png: fatal libpng error: bad parameters to zlib in /store/system/library/image.php on line 24
2016-10-31 12:26:27 - PHP Warning: imagecreatefrompng(): gd-png error: setjmp returns error condition in /store/system/library/image.php on line 24
2016-10-31 12:26:27 - PHP Warning: imagecreatefrompng(): '/store/image/placeholder.png' is not a valid PNG file in /store/system/library/image.php on line 24
2016-10-31 12:26:27 - PHP Warning: imagecreatetruecolor(): Invalid image dimensions in /store/system/library/image.php on line 105
2016-10-31 12:26:27 - PHP Warning: imagealphablending() expects parameter 1 to be resource, boolean given in /store/system/library/image.php on line 108
2016-10-31 12:26:27 - PHP Warning: imagesavealpha() expects parameter 1 to be resource, boolean given in /store/system/library/image.php on line 109
2016-10-31 12:26:27 - PHP Warning: imagecolorallocatealpha() expects parameter 1 to be resource, boolean given in /store/system/library/image.php on line 110
2016-10-31 12:26:27 - PHP Warning: imagecolortransparent() expects parameter 1 to be resource, boolean given in /store/system/library/image.php on line 111
2016-10-31 12:26:27 - PHP Warning: imagefilledrectangle() expects parameter 1 to be resource, boolean given in /store/system/library/image.php on line 116
2016-10-31 12:26:27 - PHP Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in /store/system/library/image.php on line 118
2016-10-31 12:26:27 - PHP Warning: imagedestroy() expects parameter 1 to be resource, boolean given in /store/system/library/image.php on line 119
Any help or advise is appreciated. Thanks.
Matt