• Hello,

    Version 2.0.66.37 has broken the ability to display galleries on my site. Even though the galleries are still there in Manage Galleries, the Display Galleries section is broken.

    *The list of display types is missing
    *Under ‘What would you like to display?’, the source search says ‘No results’ and continues to do so even if you put in the exact name of a gallery.
    *In ‘Customise the display settings’ all of the dropdown options are missing.

    Every gallery on my site now just says ‘Invalid Displayed Gallery’

    Please help!

    https://www.ads-software.com/plugins/nextgen-gallery/

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

    (@photocrati)

    @kmcharityteam – What troubleshooting steps have you already tried?

    – Cais.

    Thread Starter kmcharityteam

    (@kmcharityteam)

    – WordPress is up to date
    – NextGEN is up to date
    – Upgraded from the one before 2.0.66.37 to 2.0.66.37

    (please confirm the following, with your server host tech) :
    – MySQL up to date (at least 5.0)? Yes
    – PHP up to date (at least 5.2.4)? Yes
    – The mod_rewrite Apache module activated? Yes
    – PHP Safe Mode OFF? Yes

    Additional information that will help us find a solution:
    – Who are you hosted with?
    Heart Internet UK

    – What theme are you running?
    Goodlayers Worldwide

    – Which plugins do you have installed and activated?
    Google Analytics by Yoast, Gravity Forms, iThemes Security, NextGEN Gallery by Photocrati, NextGEN Plus Gallery by Photocrati, Widget Logic, Wordfence Security

    – Does this error still occur if you switch your theme to a WordPress Twenty series theme and deactivate all plugins except NextGEN Gallery?
    Yes, with multiple Twenty_x themes and only the Nextgen Gallery plugin, after a refresh the error still occurs.

    I’ve noticed two other threads that have popped up with the same problem today

    Plugin Contributor photocrati

    (@photocrati)

    @kmcharityteam – You are noting you use two different “security” plugins … have you ensured that your .htaccess file is returned to a “default” after they are deactivated?

    – Cais.

    Thread Starter kmcharityteam

    (@kmcharityteam)

    Hi Cais,

    That doesn’t make any difference unfortunately. I haven’t changed the htaccess for months so should not have been a factor anyway.

    The only thing that has worked, briefly, before bringing the site down, was the beta. The menus started working again and I was able to re-enable each gallery by going through the menus and resaving them. In the <img class=”ngg_displayed_gallery mceItem” for each displayed gallery it changed the id in ‘/nextgen-attach_to_post/preview/id–xxxx’ and added <img class=”ngg_displayed_gallery mceItem” to the end. The galleries then worked. But each time I did this to fix all the galleries, the menus became slower and slower, until the website went down. I then had to rename the plugin folder via ftp and edit functions to get the plugin to stop and the website is now back up, with the beta plugin still disabled.

    Plugin Contributor photocrati

    (@photocrati)

    @kmcharityteam – Although I did not see any specific caching plugin, are you using a caching functionality / service on your site?

    For everything to work but then progressively become worse until it finally fails points to something not working correctly but I cannot specifically tell as is what that may be.

    As to the .htaccess changing, “security” plugins are notorious for making those changes … sometimes without clear notice they are.

    – Cais.

    Thread Starter kmcharityteam

    (@kmcharityteam)

    Hi Cais

    No, we don’t use a caching service and the htaccess file has not had anything added to it and I did test it with a ‘blank’ one with only the ‘begin wordpress’ part in it so that WordPress loads.

    Here is a snippet of the error logs for when the site was brought down, some sensitive info replaced with an x

    [Tue Feb 10 08:49:48 2015] [warn] [client x:40257] AH01220: Timeout waiting for output from CGI script /home/sites/x/public_html/wp-admin/admin-ajax.php
    [Tue Feb 10 08:49:48 2015] [error] [client x:40257] Script timed out before returning headers: admin-ajax.php
    [Tue Feb 10 08:49:55 2015] [warn] [client x:43582] AH01220: Timeout waiting for output from CGI script /home/sites/x/public_html/wp-admin/index.php
    [Tue Feb 10 08:49:55 2015] [error] [x:43582] Script timed out before returning headers: index.php
    [Tue Feb 10 08:52:31 2015] [warn] [client x:34313] AH01220: Timeout waiting for output from CGI script /home/sites/x/public_html/wp-admin/post.php

    then when the plugin directory was removed by ftp but it was still causing the website to be down

    [Tue Feb 10 08:59:02 2015] [error] [client x:38925] AH01215: PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /home/sites/x/public_html/wp-includes/functions.php on line 4189
    [Tue Feb 10 08:59:37 2015] [error] [client x:57010] AH01215: PHP Warning: fopen(/home/sites/x/public_html/wp-content/plugins/nextgen-gallery/nggallery.php): failed to open stream: No such file or directory in /home/sites/x/public_html/wp-includes/functions.php on line 4183
    [Tue Feb 10 08:59:37 2015] [error] [client x:57010] AH01215: PHP Warning: fread() expects parameter 1 to be resource, boolean given in /home/sites/x/public_html/wp-includes/functions.php on line 4186

    Plugin Contributor photocrati

    (@photocrati)

    @kmcharityteam – What are you seeing under Gallery > Overview for your Server Settings?

    – Cais.

    Thread Starter kmcharityteam

    (@kmcharityteam)

    Hello Cais,

    Here are the statistics:

    Operating System : Linux (64 Bit)
    Server : Apache/2.4.9 (Unix)
    Memory usage : 59.55 MByte
    MYSQL Version : 5.5.35
    SQL Mode : Not set
    PHP Version : 5.5.20
    PHP Safe Mode : Off
    PHP Allow URL fopen : On
    PHP Memory Limit : 256
    PHP Max Upload Size : 64M
    PHP Max Post Size : 64M
    PCRE Backtracking Limit : 1000000
    PHP Max Script Execute Time : 300s
    PHP Exif support : Yes ( V1.4 )
    PHP IPTC support : Yes
    PHP XML support : Yes
    Graphic Library

    GD Version : bundled (2.1.0 compatible)
    FreeType Support : Yes
    FreeType Linkage : with freetype
    T1Lib Support : Yes
    GIF Read Support : Yes
    GIF Create Support : Yes
    JPEG Support : Yes
    PNG Support : Yes
    WBMP Support : Yes
    XPM Support : Yes
    XBM Support : Yes
    JIS-mapped Japanese Font Support : No

    Plugin Contributor photocrati

    (@photocrati)

    @kmcharityteam – I suspected a server setting issue but the Overview display does not support that (although it is entirely possible those details are not being reported correctly as some web hosts will use restrictions that are not reported at the site level).

    As it is, all I can suggest at the moment if for you to submit a Bug Report (https://nextgen-gallery.com/report-bug … please reference this topic) so we can get a closer look at your site and hopefully see what’s going on under the page.

    We will likely need log in and FTP credentials for your WordPress installation as well, please include those with your Bug Report.

    Thanks!

    – Cais.

    I am also having the same issue as she is with the invalid display and I am using nextgen plus. I deactivated plus and the problem still existed. I deactivated all plugins and the problem still existed. It was working just fine last night and this morning, I didn’t check the photos, but I installed better delete revision, deleted my revision posts and checked the site and got that “invalid displayed gallery” message on every page of the site. Everything WAS fine yesterday, and today I have over 20+ pages that need fixed.

    Here is my gallery overview:

    The placeholder text is missing for all my img codes.
    <img class=”ngg_displayed_gallery mceItem” src=”https://sunriserock.com/dev/nextgen-attach_to_post/preview/id–6529&#8243; alt=”” />

    This is what a page looked like yesterday:
    <img class=”ngg_displayed_gallery mceItem” src=”https://sunriserock.com/dev/nextgen-attach_to_post/preview/id–7141&#8243; alt=”” data-mce-placeholder=”1″ />

    Operating System : Linux (64 Bit)
    Server : Apache/2.2
    Memory usage : 15.95 MByte
    MYSQL Version : 5.1.70-log
    SQL Mode : Not set
    PHP Version : 5.3.20
    PHP Safe Mode : Off
    PHP Allow URL fopen : On
    PHP Memory Limit : 200
    PHP Max Upload Size : 200M
    PHP Max Post Size : 200M
    PCRE Backtracking Limit : 1000000
    PHP Max Script Execute Time : 1200s
    PHP Exif support : Yes ( V1.4 )
    PHP IPTC support : Yes
    PHP XML support : Yes
    Graphic Library

    GD Version : bundled (2.0.34 compatible)
    FreeType Support : Yes
    FreeType Linkage : with freetype
    T1Lib Support : Yes
    GIF Read Support : Yes
    GIF Create Support : Yes
    JPEG Support : Yes
    PNG Support : Yes
    WBMP Support : Yes
    XPM Support : Yes
    XBM Support : Yes
    JIS-mapped Japanese Font Support : No

    Plugin Contributor photocrati

    (@photocrati)

    @ravenousravendesign – Please start your own topic so we can try to help you with your specific issue on your specific site.

    See https://codex.www.ads-software.com/Forum_Welcome#Where_To_Post

    Thanks!

    – Cais.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Invalid Displayed Gallery’ is closed to new replies.