• Resolved DR Yuill-Kirkwood

    (@dr-yuill-kirkwood)


    Greetings Space Cadets, I am having a major issue with NextGEN as of 23:00 GMT 28/11/2017. All galleries are showing either ‘We cannot display this gallery’ or the page is giving a 500 server error. I have tried the usual, plugins off, default theme etc.

    All I was getting was 500 servers error on gallery pages until I deleted the NextGEN plugin and manually uploaded it now it’s a mix of 500’s or cannot display.
    There have been no updates to my website or plugins since the 25/11/2017 and that was just ‘WPSSO Core’ and ‘WPSSO Schema JSON-LD Markup’ and 4 posts on the 25th that included 2 galleries.

    I did have an issue with these 2 galleries as have not made any new ones for several months and one of your updates had changed the setting, such as the default storage are for the pictures. But I corrected this, and it was all fine until last night.

    Looking at some of the other posts from today it looks like it’s a PHP version issue. My website was down for 30 minuets yesterday and looking at the info for my site it is now running PHP Version 7.0.26 but I do not know if that was why my site was down as 123-reg are useless or for how long PHP Version 7.0.26 has been running, and it not possible to roll it back.

    Any help to fix this quickly would be greatly appreciated, we have a lot of new photoshoots coming up in December. I will list some links below to some gallery pages and the website info, if it helps.

    Newcastle Film & Comic-Con 2015 Cosplay
    https://transparent-aluminium.net/2015/04/06/newcastle-film-comic-con-2015-cosplay/

    Tales From The Coop: Enjoying The Sun
    https://transparent-aluminium.net/2017/09/17/tales-from-the-coop-enjoying-the-sun/

    South Park: The Fractured But Whole – Collector’s Edition Photos
    https://transparent-aluminium.net/2017/11/25/south-park-the-fractured-but-whole-collectors-edition-photos/

    PHP Version Info
    https://transparent-aluminium.net/info.php

    The page I need help with: [log in to see the link]

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter DR Yuill-Kirkwood

    (@dr-yuill-kirkwood)

    I was able to get it rolled back to PHP Version 5.6.32 but this is just a temporarily fix.

    @dr-yuill-kirkwood, in gallery settings select “no” in “show slideshow link”.

    Edit: OK, I’m not at all mad. The user has deleted the question about the slideshow link after my reply.

    • This reply was modified 7 years, 3 months ago by tizz.
    • This reply was modified 7 years, 3 months ago by tizz.

    The error 500 is a problem if you’re running PHP 7.0 or 7.1 with CPanel. Putting the version of PHP back to 5.6 sorts it, but it’s not a long-term solution.

    What is NextGEN doing about this please?

    @dr-yuill-kirkwood, how have you managed to change your php version via 123-reg? I can only find an option for switching between 5.2 – 5.5, but Heath Check reports my site as running 7.0.26!

    OK, found it, for fellow 123-reg users:
    There is a cpanel page that let’s you change your php version, but it’s limited to 5.2-5.5 and actually doesn’t necessarily reflect what’s going on!
    The answer is the reverse of the start of this guide: https://www.123-reg.co.uk/support/answers/how-to-switch-the-php-version-4235/

    Edit your .htaccess file and comment out (add a # before) the line
    # SetEnv DEFAULT_PHP_VERSION 7

    This will now allow the cpanel’s changes to have an affect.

    Thread Starter DR Yuill-Kirkwood

    (@dr-yuill-kirkwood)

    @petert2 in addition for editing the .htaccess file for 123-reg(ular-failure) users, edit the .htaccess file in the directory above the public_html directory not within like there article suggests.

    Plugin Contributor Imagely

    (@imagely)

    I’m reposting this in a few relevant threads:

    Hey all – CEO of Imagely here. I wanted to post an additional note on this. The root cause for this is a bug in two specific versions of PHP. The powers that be have already patched this on the PHP side, though have not yet released it.

    The nature of the bug means that it would be an epic task for us to ‘fix’ it in NextGEN Gallery. The bug relates to PHP logic that we use throughout the plugin.

    All that means that we do not intend to fix it on our side, but rather wait for PHP to release its own patch.

    In the meantime, we are going to push a release that deactivates most NextGEN Gallery functionality on any servers that are running the two problem versions of PHP. This fix is being tested now, and will be released in the next couple of hours.

    As a side note, I should emphasize that the PHP bugs have ramifications well beyond NextGEN Gallery. Mixed with a variety of other products or environments, the PHP bugs can cause server crashes. We know from internal conversations that Cloudways, for example, tried updating to 7.1.12 and then rolled back due to related issues. So if your servers are running the problem versions, they *should* be rolled back, or upgraded once the patches are released – in general and not just because of NextGEN Gallery.

    If you have further questions, let us know.

    – Erick

    Hi all. Update: From what we can see, including a test to confirm on our side, this issue is fixed in PHP 7.2.0, released this morning. We’ve also just released a NextGEN release that deactivates most functionality of NGG when it’s run on the two problem versions of PHP.

    Thanks for your efforts @edanzer and @imagely! Nothing worse than an issue in someone else’s code breaking yours! Thanks for the quick fixes ??

    Plugin Contributor Imagely

    (@imagely)

    @petert2 – You’re welcome!

    – Cais.

    Hi all – We’ve been working on this and finally have a work around for the PHP bug.

    The following copy of NextGEN 2.2.20 should run with any version of PHP (including the bugged versions: 7.0.26, 7.1.12, 7.2RC6, and 7.2.0). Feel free to give it a try and let us know if you have issues.

    https://imagely.com/wp-content/staging/nextgen-gallery.2.2.20.zip

    We’d like to get a few confirmations before we release it officially.

    Thread Starter DR Yuill-Kirkwood

    (@dr-yuill-kirkwood)

    @edanzer Greetings Space Cadets, I have installed your new version at set my site back to ‘SetEnv DEFAULT_PHP_VERSION 70’ and the galleries are loading fine. Then when I checked the PHP Version Info https://transparent-aluminium.net/info.php my hosting provider has put PHP Version 7.0.25 back on all their servers, so my test is invalid ??

    Plugin Contributor Imagely

    (@imagely)

    @dr-yuill-kirkwood – thanks for the effort. Yes, many hosts have rolled back from the problem versions of PHP because of the associated issues (of which the NextGEN issues are just one example).

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Major Issue – 500 Internal Server Error or ‘We cannot display this gallery’’ is closed to new replies.