The Error: Warning: Division by zero in /var/www/html/html/modules/gallery/classes/Image.php on line 221
have piled through the faq, this forum, and been denied the help link that is pointed at sourceforge. And I still see nothing coming close to answering what I need to do to get images displaying...
Could someone please anwswer me
:???:
Posts: 487
Actually, if you had done a Forum search, you would have seen this issue
listed already. One person has had luck deleting the image and re-uploading
it. Otherwise you can try adding a check Image.php like I did so that Gallery
does not try to divide by zero. But you're better off trying to re-upload first.
Posts: 2
I tried the re-uploading then tried ftping it and useing the local function. Still didn't work I was thinking that perhaps commenting out the function would work but I am just getting to that part of the process. :roll:
Posts: 7994
So you're saying that you deleted the image, then uploaded a new copy of it and the same image has the same problem again?
This problem happens when Gallery is unable to determine the size of an image. Try re-uploading it again, but this time turn on debug mode, capture the output and post it here.