WordPress.org

Ready to get started?Download WordPress

Forums

WP-Filebase Download Manager
[resolved] Update v 0.3.0.04 - "WP-Filebase not active" when editing posts (4 posts)

  1. Hansaplastique
    Member
    Posted 4 months ago #

    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/

  2. Fabian
    Member
    Plugin Author

    Posted 4 months ago #

    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?

  3. Hansaplastique
    Member
    Posted 4 months ago #

    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?

  4. Hansaplastique
    Member
    Posted 4 months ago #

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

    Excellent support! Thanks again Fabian!

Reply

You must log in to post.

About this Plugin

About this Topic