WP-Filebase Download Manager
Some bugs with images and css (2 posts)

  1. jazbek
    Posted 3 years ago #

    i just downloaded WP-Filebase to try it out and noticed a couple bugs right away after i installed it.

    1) The WPFB_PLUGIN_URI constant is wrong, and therefore the admin menu icon and admin CSS are broken. http://cl.ly/image/1X131j31002Z
    When I inspect it, I see:

    <img src="/Users/jessica/Sites/wp-sandbox/svn/trunk/wp-content/plugins/wp-filebase/images/admin_menu_icon.png" alt="">

    (i am testing the site out on my local wordpress testing site).

    Here is an example of the admin area with missing css: http://cl.ly/image/0g2b1q103I0N

    In wp-filebase.php, I found the following lines of code (lines 19-22):

    //define('WPFB_PLUGIN_URI', plugins_url('/',__FILE__));
    $wpfb_uri = str_replace(str_replace('\\','/',ABSPATH),get_option('siteurl').'/',WPFB_PLUGIN_ROOT);
    if(is_ssl()) $wpfb_uri = str_replace('http://', 'https://', $wpfb_uri);
    define('WPFB_PLUGIN_URI', $wpfb_uri);

    If I uncomment the first line in that block and comment out the last line, the image and CSS paths become fixed.

    2) On the Manage Templates page, most of the images are broken, and there is a shortcode showing that I assume should be translated to some code, here is an example screenshot:


    All of the images are broken if I don't fix the path as described in #1, only some are broken if I do.

    I should note that I am using a custom location for my wp-content directory; it's outside the wordpress root directory.


  2. cetusMexCoder
    Posted 3 years ago #

    i have the same problem but comenting out the code dont work for me, the file wp-file_css.php is throwing a 404 but the file is in that path and i changed the permision to 777 and 755 and no one of that work im istill getting 404, also i try downgrading but dident work

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic