Errors when replacing main image
-
The following happens with catablog 1.2.7 and 1.2.7.1
When I go to replace the main image (I’ve no sub-images) on a product in my catablog All I get is a host of PHP errors:
Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /home/test.dbahost.ie/public_html/otpb.ie/wp-content/plugins/catablog/lib/CataBlogItem.class.php on line 611 Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/test.dbahost.ie/public_html/otpb.ie/wp-content/plugins/catablog/lib/CataBlogItem.class.php on line 612 Warning: imagefilledrectangle(): supplied argument is not a valid Image resource in /home/test.dbahost.ie/public_html/otpb.ie/wp-content/plugins/catablog/lib/CataBlogItem.class.php on line 613 Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home/test.dbahost.ie/public_html/otpb.ie/wp-content/plugins/catablog/lib/CataBlogItem.class.php on line 662 Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/test.dbahost.ie/public_html/otpb.ie/wp-content/plugins/catablog/lib/CataBlogItem.class.php on line 667 Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/test.dbahost.ie/public_html/otpb.ie/wp-content/plugins/catablog/lib/CataBlogItem.class.php on line 669 Warning: Cannot modify header information - headers already sent by (output started at /home/test.dbahost.ie/public_html/otpb.ie/wp-content/plugins/catablog/lib/CataBlogItem.class.php:611) in /home/test.dbahost.ie/public_html/otpb.ie/wp-content/plugins/catablog/lib/CataBlog.class.php on line 737
The first error says invalid dimensions; but the image is only 400×400 pixels. It’s also in a jpeg (.jpg) format.
What’s the problem?
Regards
David
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Errors when replacing main image’ is closed to new replies.