# warning: Division by zero in /home/pojack1/public_html/nyclightwave/includes/image.inc on line 125.
# warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /home/pojack1/public_html/nyclightwave/includes/image.inc on line 238.
# warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home/pojack1/public_html/nyclightwave/includes/image.inc on line 264.
# warning: imagejpeg(): supplied argument is not a valid Image resource in /home/pojack1/public_html/nyclightwave/includes/image.inc on line 339.
# warning: imagedestroy(): supplied argument is not a valid Image resource in /home/pojack1/public_html/nyclightwave/includes/image.inc on line 267.
# Unable to create scaled Original image
I'm not sure what to do, was working fine with previous verison.
Should I delete the upgraded version and re-install the previous version. There was a mysql change I saw in the
update.php?
Antonio
Comments
Comment #1
cgdigitaltreats commentedComment #2
cgdigitaltreats commentedREally weird,
Ok, problem solved. For some reason there was a duplicate of the sizes in the admin /image page
There were 2 "original" slots. ONe greyed out, and one that was in another field. It had no size info.
I'm assuming this is why it got that error div by zero, since it had no size info to work with.
I deleted the extra field, and everything seems ok again.
Well you know the old saying, visual inspection solves 90% of your problems.
Pays to double check things at least once.
Antonio
Comment #3
Hetta commentedComment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.