• Resolved dicknervous

    (@dicknervous)


    I have setup a site with several galleries that are in an single album.
    When I include the album on a page the thumbnails for only one gallery shows up, the others are broken images.

    Also, when I try to do anything with those other galleries, such as add a watermark or resize the thumbnails I get a division by zero error for each image in the gallery that looks like this:

    Warning: Division by zero in /home/content/61/11491561/html/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_data/class.ngglegacy_thumbnail.php on line 297

    The line number changes for each one, but the rest of the error is the same.

    I am running Wp 3.7.1 with NextGen 2.0.33. Other versions are MYSQL 5.0.96, PHP 5.3.24. The site is hosted by GoDaddy.

    Any help would be greatly appreciated.
    Thanks.

    http://ww.wp.xz.cn/plugins/nextgen-gallery/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @dicknervous – Would you be able to submit a Bug Report (http://www.nextgen-gallery.com/report-bug/ … please reference this topic) so we can try to help you sort this out.

    We will likely need a set of log in and FTP credentials for the WordPress installation, too. Please include those with the Bug Report.

    Thanks!

    – Cais.

    Thread Starter dicknervous

    (@dicknervous)

    Done. Thanks!

    Thread Starter dicknervous

    (@dicknervous)

    With the help of Cais this was resolved.

    For anyone else having similar issues, check the PHP Memory limit. The default for GoDaddy was 64M which was not high enough. I changed it to 256M and everything started working.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Division by zero error’ is closed to new replies.