WordPress.org

Forums

NextGEN Gallery
[resolved] Upgrade.php file is missing 1.9.12 (4 posts)

  1. Freedom Builders
    Member
    Posted 2 years ago #

    I've an error calling for upgrade.php

    wp-content/plugins/nextgen-gallery/admin/upgrade.php) [function.include-once]: failed to open stream: No such file or directory in /.../.../public_html/wp-content/plugins/nextgen-gallery/admin/settings.php on line 201

    Well that upgrade.php file is not in the zip. I checked by manually re-downloading and it's not in there, but it IS in the previous version.

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

  2. photocrati
    Member
    Plugin Author

    Posted 2 years ago #

    Hi @Freedom Builders , the upgrade.php file was removed as of v1.9.10 in preparation for v2.0 and is no longer needed. It is still mentioned in one file, causing the error that you saw, to show in some rare cases, which we are including a fix for in our next upgrade. Until we release the next upgrade, you can resolve this issue 1 of 2 ways:

    a) add "error_reporting(0);" to wp-config.php
    
    or 
    
    b) in settings/admin.php, remove line #201: include_once (dirname (__FILE__) . '/upgrade.php');

    That should do the trick! :)

  3. Freedom Builders
    Member
    Posted 2 years ago #

    The thought of this getting phased out had crossed my mind and yet I would have though any reference pertaining to it would have been eliminated already. Thanks for the reply and POA (plan of action)

  4. vemman
    Member
    Posted 2 years ago #

    Hi @photocrati,
    thanks for the great plugin. but does the answer you have happen to have a typo? shouldn't b be

    admin/settings.php, remove line #201: include_once (dirname (__FILE__) . '/upgrade.php');

    I could only find upgrade.php there

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • NextGEN Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.