WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. jazbek
    Member
    Posted 1 year 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:

    http://cl.ly/image/2Q3N0R2M3A0k

    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.

    http://wordpress.org/extend/plugins/wp-filebase/

  2. cetusMexCoder
    Member
    Posted 1 year 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