Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • @supersonic This plugin is not made by me, I just noticed this small bug. If you want those features implemented you should contact the developer.

    The issue is caused by the way windows paths are made up. You can fix it by opening /wp-content/plugins/fluency-admin/css/load-styles.php and on line 12 change the code from:

    /** Set ABSPATH for execution */
    $abspath = dirname(dirname(__FILE__)) . '/';
    define( 'THISABSPATH' ,substr($abspath,strpos($abspath,'wp-content/')));
    define( 'ABSPATH' ,substr($abspath,0,strpos($abspath,'/wp-content/')) . '/');

    To:

    /** Set ABSPATH for execution */
    $abspath = str_replace('\\','/',dirname(dirname(__FILE__))) . '/';
    define( 'THISABSPATH' ,substr($abspath,strpos($abspath,'wp-content/')));
    define( 'ABSPATH' ,substr($abspath,0,strpos($abspath,'/wp-content/')) . '/');

    This will change the backward slashes in the file path to forward slashes, so the /wp-content/ substring will work again.

    The issue is caused by the way windows paths are made up. You can fix it by opening /wp-content/plugins/fluency-admin/css/load-styles.php and on line 12 change the code from:

    /** Set ABSPATH for execution */
    $abspath = dirname(dirname(__FILE__)) . '/';
    define( 'THISABSPATH' ,substr($abspath,strpos($abspath,'wp-content/')));
    define( 'ABSPATH' ,substr($abspath,0,strpos($abspath,'/wp-content/')) . '/');

    To:

    /** Set ABSPATH for execution */
    $abspath = str_replace('\\','/',dirname(dirname(__FILE__))) . '/';
    define( 'THISABSPATH' ,substr($abspath,strpos($abspath,'wp-content/')));
    define( 'ABSPATH' ,substr($abspath,0,strpos($abspath,'/wp-content/')) . '/');

    This will change the backward slashes in the file path to forward slashes, so the /wp-content/ substring will work again.

Viewing 3 replies - 1 through 3 (of 3 total)