Forums

[Plugin: NextGEN Gallery] Warning: Division by Zero (17 posts)

  1. SCRAWL Editor
    Member
    Posted 3 years ago #

    http://scrawlfx.com/2008/06/vampire-rain-altered-species-first-three-screenshots

    Yeah, so the screens won't show but the clicking still leads to the image. When I uploaded them, I got this error, but the thumbnails and everything was created:

    Warning: Division by zero in /home/.galled/scrawlfx/scrawlfx.com/wp-content/plugins/nextgen-gallery/lib/thumbnail.inc.php on line 770

    How do I get them to show

  2. SCRAWL Editor
    Member
    Posted 3 years ago #

    Come on, somebody help me out.

  3. ShirouJune
    Member
    Posted 3 years ago #

    which is the tag you are using to call your images in your post???

    [gallery=#] ???

    or

    [singlepic=30,105,,,left] ???

    Because from using this NEXTGEN I've noticed the image isn't rendered from the thumbnails but directly from the main image uploaded.

  4. SCRAWL Editor
    Member
    Posted 3 years ago #

    Well, I'm using the same tags I use in every other post, such as this: http://scrawlfx.com/2008/06/bioshock-new-screens-development-teams-at-work and it appears fine.

    Here is my post:

    [singlepic=1899,660,370,center]

    Ignition Entertainment have released three new screenshots for their upcoming PLAYSTATION 3 title Vampire Rain: Altered Species. This game pretty much sucked on the Xbox 360, but Ignition may have something up their sleeve to improve the PLAYSTATION 3 version. Enjoy the screens. [GALLERY]

    Update: We are trying to figure out why the images aren't displaying, but clicking the words still lead to the image. Sit tight.

    [singlepic=1897,90,90,left] [singlepic=1898,90,90,left]

  5. ShirouJune
    Member
    Posted 3 years ago #

    The only thing I can think of is getting back to the previous update of NEXTGEN.

    Or try reloading that specific file that creates the thumbnails from which the error is being called from a previous back-up. The "thumbnail.inc.php"

  6. SCRAWL Editor
    Member
    Posted 3 years ago #

    How do I reload it?

  7. ShirouJune
    Member
    Posted 3 years ago #

    The last plugin update may not be working right. It crashed many things of my prev installation.

  8. ShirouJune
    Member
    Posted 3 years ago #

    Via FTP I guess:

    wp-content/plugins/nextgen-gallery/lib/thumbnail.inc.php

    BTW, did you upgrade your NGG? I am pretty sure that might have been the problem. Anyways I am trying to reestore my previous plugin installation. I hope it works and then I tell you.

  9. SCRAWL Editor
    Member
    Posted 3 years ago #

    There must be some other way. Hopefully Alex will step in and help us out.

  10. ShirouJune
    Member
    Posted 3 years ago #

    I don't know, when the update was made, the configuration scrambled, the float function won't work anymore and the widget just won't show up. What a pain, it even erased my LightboxEX install!!! and all my settings for it.

  11. SCRAWL Editor
    Member
    Posted 3 years ago #

    Yeah, Alex get in here.

  12. SCRAWL Editor
    Member
    Posted 3 years ago #

    Bump.

  13. SCRAWL Editor
    Member
    Posted 3 years ago #

    Anything?

  14. SCRAWL Editor
    Member
    Posted 3 years ago #

    Help?

  15. Alex Rabe
    Member
    Posted 3 years ago #

    Seems to be the Exif data could not extract or faulty, when I try to look for your exif data with IrfanView , the program crash...

    So add a check at line 770 for zero or erase the EXIF data...

    if ($focus[1] != 0)
    $this->imageMeta['focalLength'] = round($focus[0]/$focus[1],2) . ' mm';
  16. SCRAWL Editor
    Member
    Posted 3 years ago #

    Worked perfectly, thank you!

  17. blackgaygossip
    Member
    Posted 3 years ago #


Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.