Forums

broken with WP 2.9 (3 posts)

  1. Steve Taylor
    Member
    Posted 2 years ago #

    This problem seems to have broken the myGallery plugin in WP 2.9:

    http://www.evilzenscientist.com/blog/2009/10/21/fixing-weathericon-plugin-for-wordpress-2-9-rare-alpha-nightlies/

    Things seem to work OK if those 2 lines are commented out as directed.

  2. ddegner
    Member
    Posted 2 years ago #

    Yep, that worked for me.

    1) Open the file:
    your-blog/wp-content/plugins/mygallery/mygallery.php

    2) Find these two lines:

    require_once(ABSPATH . 'wp-includes/streams.php');
    require_once(ABSPATH . 'wp-includes/gettext.php');

    3) Add back-slashes in front of them so they look like this:

    // require_once(ABSPATH . 'wp-includes/streams.php');
    // require_once(ABSPATH . 'wp-includes/gettext.php');

    4) Save and reactivate the mygallery plugin.

    Thanks Gyrus for figuring this out.

  3. darmabum
    Member
    Posted 2 years ago #

    FYI, make sure to either use // with a *space* after it, or you can use a # instead. Either one works if done properly...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags