# 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

www.nyclightwave.com

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

cgdigitaltreats’s picture

Title: Updated to the latest Image version 1.7 february 16th version, and Got the below errors. » Updated to the latest Image version 1.7 february 17th version, and Got the below errors.
Version: 5.x-1.x-dev » 5.x-1.7
cgdigitaltreats’s picture

REally 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

Hetta’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.