WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Update v 0.3.0.04 – "WP-Filebase not active" when editing posts

[Resolved] Update v 0.3.0.04 – "WP-Filebase not active" when editing posts

  • Hansaplastique
    Member

    @hansaplastique

    After todays update, I get the “WP-Filebase not active.” message when trying to insert a short-code into a post.

    WP-Filebase version: 0.3.0.04
    Wordpress version: 3.8.1

    Since I’m not in need of the new features, does anyone know how to get 2 versions back? (I noticed two updates in the past few days)

    https://wordpress.org/plugins/wp-filebase/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Fabian
    Member

    @fabifott

    In editor_plugin.php replace

    // check if WP-Filebase is active
    if(!in_array(basename(untrailingslashit(dirname(__FILE__))).'/wp-filebase.php',get_option('active_plugins')))
    	wp_die('WP-Filebase not active.<!-- FATAL ERROR: WP-Filebase DISABLED -->');

    with

    include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    // check if WP-Filebase is active
    $wpfb_rpath = basename(untrailingslashit(dirname(__FILE__))).'/wp-filebase.php';
    if(!is_plugin_active($wpfb_rpath))
    	wp_die("WP-Filebase not active. ($wpfb_rpath not in [".implode(',',get_option('active_plugins'))."]) <!-- FATAL ERROR: WP-Filebase DISABLED -->");

    This should at least give some debug output.

    Are you running a multisite WordPress?

    Hansaplastique
    Member

    @hansaplastique

    Hi Fabian,

    thank you so much for the quick response.
    Yes I’m running multisite (need a site per language that my website supports: http://www.tweaking4all.com (English) and http://www.tweaking4all.nl (Dutch) ).

    I tried your changes, and the dialog now appears …
    However NONE of my files or categories are listed …

    When I go into the admin pages (WP-Filebase – Files) then I do still see all my files and categories. So it’s not like they are lost … just the editor plugin is not picking them up.

    Would you recommend going one or 2 versions back?
    And if so: where would I find those?

    Hansaplastique
    Member

    @hansaplastique

    I just installed v0.3.0.05, and this fixes the issue – everything works fine again!

    Excellent support! Thanks again Fabian!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Update v 0.3.0.04 – "WP-Filebase not active" when editing posts’ is closed to new replies.