WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
Piclens not working with nextgen-gallery 1.9 (31 posts)

  1. gl38
    Member
    Posted 2 years ago #

    In the new version 1.9.0 the links to Piclens work nolonger for my pages.
    What can I do?
    Sincerely yours,
    guy

    http://wordpress.org/extend/plugins/nextgen-gallery/

  2. Alex Rabe
    Member
    Posted 2 years ago #

    I will look into this

  3. DoubleSixx
    Member
    Posted 2 years ago #

    Wow I didn't notice that 'til I saw this thread, mine isn't working either. I was about to post another problem. I'll create a new thread.

  4. Tittis
    Member
    Posted 2 years ago #

    Hi,
    View with PicLens option doesn't works for me too, neither with the Twentyeleven theme nor with all other plugins disabled.

  5. gl38
    Member
    Posted 2 years ago #

    Fortunately, it continues to work with the version 1.8.4 which can be found at
    http://wordpress.org/extend/plugins/nextgen-gallery/download/

    one has only to unzip the file nextgen-gallery.1.8.4.zip in the plugins-folder of wordpress.
    Guy

  6. dimonaco
    Member
    Posted 2 years ago #

    PicLens not working for me either (WP 3.2.1.)

  7. gl38
    Member
    Posted 2 years ago #

    Hi!
    I copied the old file nextgen-gallery/lib/media-rss.php from the 1.8.4 in place of the new one and marvel! the link to Piclens works.
    Guy

  8. gl38
    Member
    Posted 2 years ago #

    I think that I have found the error with Piclens.
    There is a small difference between the 2 files media-rss.php
    In 1.8.4 there is
    https://lite.piclens.com/current/piclens_optimized.js

    in 1.9.0
    http://lite.piclens.com/current/piclens_optimized.js
    the s is missing at the end of hhtps

    Guy

  9. gl38
    Member
    Posted 2 years ago #

    Sorry, the error is not the s.
    It seems that the error is in the function add_piclens_javascript with the introduction of
    wp_enqueue_script
    instead of
    echo "\n" . '<script type="text/javascript" src="...
    Guy

  10. Alex Rabe
    Member
    Posted 2 years ago #

    Check if your theme contain the wp_footer() call, you can test it with the plugin check at the overview page.

    or you test it with the default theme

  11. gl38
    Member
    Posted 2 years ago #

    I use the theme twentyten which has a footer.php with a wp_footer(); at the end with the comment
    /* Always have wp_footer() just before the closing </body>
    * tag of your theme, or you will break many plugins, which
    * generally use this hook to reference JavaScript files.
    */

    So to have everything working, I have installed on my sites the 1.9.0-version
    and I have copied the file lib/media-rss.php of the version 1.8.4.
    Guy

  12. Alex Rabe
    Member
    Posted 2 years ago #

    Strange, here it works

  13. gl38
    Member
    Posted 2 years ago #

    Here, my systems are Linux Ubuntu 9.10 or 10.04 at home, I tried the browsers Firefox 8.0.1, Opera and Midori with the same result : they do not like the function wp_enqueue_script since it is the single difference between the 2 files lib/media-rss.php.
    Guy

  14. Tittis
    Member
    Posted 2 years ago #

    Also here Piclens works only with the previous 1.8.4 version of media-rss.php file.

  15. dimonaco
    Member
    Posted 2 years ago #

    @Alex

    I's possible to have a 1.9.1 update that solves the problem for everyone?

  16. Alex Rabe
    Member
    Posted 2 years ago #

    I moved the call to this script to a different position, hope this work for you :

    http://code.google.com/p/nextgen-gallery/source/detail?r=1039

  17. Tittis
    Member
    Posted 2 years ago #

    Hi Alex,
    First I reinstalled the media-rss.php file vers. 1.9.0, right?
    Then I uploaded the nggallery.php file vers. 1.9.1 from your link, but doesn't work.
    For me, now the link opens to the PicLens' dark wall, but no photos or thumbnails are loaded.

  18. Alex Rabe
    Member
    Posted 2 years ago #

    Please post a link

  19. Tittis
    Member
    Posted 2 years ago #

    Unfortunately I'm doing these tests on a non-indexed site, because it's a copy of the one in production. Actually I don't even use PicLens at the moment, I'm only interested in the issue by chance, so it's not so important to me.
    However, there are errors in the back-end too, in wp-login.php file and wp-includes/pluggable.php file: Can not modify header information - headers already sent by (output started at ... path to / nggallery.php: 544), and I can't access the administration pages.
    The front-side is OK, except for the PicLens visualization.
    Like I said before, this question doesn't interest me directly, it was only to make sense of it. I would say that we all can use the previous media-rss file solution, which is fine, and you can take time to fix this issue, if anyone else is interested in it.
    My only question is: restore the old media-rss.php file version in the next plugin version, would give problems to someone?
    Thanks

  20. Christian Ries
    Member
    Posted 2 years ago #

    I had the same problem on many sites where I upgraded NectGen Gallery and now I uploaded the old version of media-rss.php as described above and PicLens works on all the sites.

  21. dimonaco
    Member
    Posted 2 years ago #

    @Christian Ries

    I too

  22. Alex Rabe
    Member
    Posted 2 years ago #

    It would be great you tested the bugfix, thx

  23. Tittis
    Member
    Posted 2 years ago #

    @Christian Ries, dimonaco
    Yes, test the bugfix on your sites too, because my test site isn't well configured since I don't use it.

  24. gl38
    Member
    Posted 2 years ago #

    I tested the file nggallery.php given by Alex: with the 2 versions of media-rss.php, I obtain a black rectangle without images nor thumbnails.
    Guy

  25. Alex Rabe
    Member
    Posted 2 years ago #

    Can you post a link ?

  26. gl38
    Member
    Posted 2 years ago #

    I tryied again: now things seem to work, I have cancelled the Cache-folder, I suppose that I had a mixture of new files and old files because of the Cache.
    Here is my blog to make tests:

    http://www.gl38.fr/blog/

    with 1.9.1 for nggallery.php and 1.9.0 for lib/media-rss.php

    So for me the problem is solved.
    Thank you.
    Guy

  27. Alex Rabe
    Member
    Posted 2 years ago #

    Thanks !

  28. Tittis
    Member
    Posted 2 years ago #

    Works for me too in production site, not in the development one, but it's not a plugin issue.
    Thanks

  29. Tittis
    Member
    Posted 2 years ago #

    Sorry, I'm here again for the same issue. Today I realized that comment field in editor page wasn't visible, even with default theme. So, after disabling all plugins and reactivated one by one it turns out that's Nextgen to give the "undefined error" in that field. Everything in frontend is OK, and backend works, only comment field isn't visible.
    Soon after Nextgen reactivation a message appear, I try to translate it:

    The plugin has generated 1 unexpected output character during the activation. If there are "headers already sent" warning message, problems with the feed or any other problem, try disabling or removing this plugin.

    So, I've tried to restore old nggallery.php (1.9.0) and old lib/media-rss.php (1.8.4), and everything's fine, comments are visible in editor page.

  30. dreadv1ew
    Member
    Posted 2 years ago #

    Yesterday I successfully upgraded WordPress and Nextgen to the latest versions. I needed to do the Media-rss v1.8.4 trick to get piclens to work.

    I have one further problem. I have a photo gallery page http://www.sambadoc.org.uk/gallery/?show=gallery
    that shows 7 photo galleries with 5 thumbnails per gallery showing. If I, for example, click on page 2 to view the next 5 thumbnails all 7 galleries move on to page 2 and not just the gallery selected. This didn't happen before the upgrade.
    Is there a cure for this?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.