Viewing 7 replies - 16 through 22 (of 22 total)
  • urbanscout

    (@urbanscout)

    Hm. Actually changing it fixed the new galleries, but broke the old ones. ??

    Anonymous User 8953667

    (@anonymized-8953667)

    Hi there urbanscout, did you rewrite the metadata of the old gallery? You can do so by selecting the images in the gallery and choose ‘get metadata’.

    Thank you @erik! Replacing the code and then importing the metadata worked!

    Thanks to everyone for your solutions and help.

    I have 2 Galleries; one works and the other has the “Division by zero” error on all images. This is actually the other way round from before I made any changes.

    Interestingly when I went to edit the code the panel was empty so I copied the code from the link provided by emiglio. I’m sure this shouldn’t be required but I have no choice. I did delete the plug-in and reinstalled it and I still had an empty code panel.

    I’ve replaced the code that Erik suggested and Imported Metadata for all the images on both Galleries.

    Any help gratefully received.

    Anonymous User 8953667

    (@anonymized-8953667)

    Hi John,

    It’s strange that you get an empty panel. You should be seeing the code, if the plugin was installed correctly. I have just checked it myself, and I also have a blank page (while using plugin>editor from the wordpress menu).

    My advice is to deactivate and delete the plugin. Then reinstall the plugin. This is just to make sure any prior edits are gone.

    Then, you have 2 options:

    1) edit the file with a program like dreamweaver that connects to the site, so you can make the changes online.

    2) download the file “nggScrollGallery.php” from the server and edit it locally with notepad (do not use word or any other program that will convert from plain text). After edit: upload again.

    good luck.

    Sorry, Ignore me – user error.

    I hadn’t realised I have so many images in one Gallery that I had to forward to the second page and Imported the Metadata for them too. Everything worked perfectly after that. I now have 2 galleries behaving as they used to.

    Thanks again everyone.

    Hi Erik,

    Thanks for such a rapid response.

    I just worked it out and it was my mistake (see above) – more images in one gallery than fit on a page so I had to reimport the Metadata on the second page worth of images and it all worked.

    Interestingly I did deactivate, delete and reinstall the plug in a couple of times and each time ended up with a blank panel of code even though it was there on the website. So I copied the code from there and applied your fix.

    I wonder why the plug-in authors are not releasing an update based on your fix?

    Regards, …/John

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘nggScrollGallery Error Message’ is closed to new replies.