WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WP-Filebase Download Manager] Admin SSL

[Plugin: WP-Filebase Download Manager] Admin SSL

Viewing 7 replies - 1 through 7 (of 7 total)
  • 509tyler
    Member

    @509tyler

    Anyone else had this same issue? I thought this might be a browser based issue, but alas it is not. Forcing the admin to SSL makes the AJAX file browser (in the admin) break.

    Anyone else looking for this plugin to work while the admin is under SSL?

    Plugin Author Fabian
    Member

    @fabifott

    Never tested SSL with WP-Filebase. I just did and discovered that scripts and CSS are loaded neither.
    Found an easy fix:
    Edit wp-filebase.php, replace

    define('WPFB_PLUGIN_URI', str_replace(str_replace('\\','/',ABSPATH),get_option('siteurl').'/',WPFB_PLUGIN_ROOT));

    with

    define('WPFB_PLUGIN_URI', plugins_url('/',__FILE__));

    Fix will be included next release.

    Hmm … thanks for the followup. When I make this code change on Line 19 as you suggested …
    FROM:
    define('WPFB_PLUGIN_URI', str_replace(str_replace('\\','/',ABSPATH),get_option('siteurl').'/',WPFB_PLUGIN_ROOT));
    TO:
    define('WPFB_PLUGIN_URI', plugins_url('/',__FILE__));

    … then the WYSIWYG text editor no longer displays on the screen when editing pages or posts. When I switch back to original code the WSYIWYG editor DOES appear as expected.

    I tested this in BOTH https and http.

    Plugin Author Fabian
    Member

    @fabifott

    With the code change, can you select a Post for File Browser in WP-Filebase Settings?
    And does the AJAX File browser work?

    I will let you know.

    Thank you for this Plug-in! I have been having problems with it as well. I have a VM test site that works with your plug-in. But when I set it up on my live site it takes over 2 mins for each page to load. With any browser. I have SSL running on my site and not on my VM test site is what I think maybe my problem.

    I get this error with chrome Developer tool.
    Failed to load resource
    https://lindencrestbilling.com/wp-content/plugins/wp-filebase/wp-filebase_css.php?rp=wp-content%2Fuploads%2Ffilebase&ver=0.2.9.23

    I did add the code you have on this post. It didn’t change anything.
    I have to turn off the plug-in. My site is live now.
    Thank you,
    Steve

    plug-in Version 0.2.9.23
    WordPress Version 3.4.2
    Site: lindencrestbilling.com

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: WP-Filebase Download Manager] Admin SSL’ is closed to new replies.