[Plugin: Dynamic "To Top" Plugin] dynamic css not working with custom wp paths
-
I get an error when my browsers requests:
/wp-content/plugins/dynamic-to-top/css/dynamic-to-top-css.php?ver=3.1.7Warning: require_once(../../../../wp-load.php): failed to open stream: No such file or directory in /srv/codemat/web/wp-content/plugins/dynamic-to-top/css/dynamic-to-top-css.php on line 13 Fatal error: require_once(): Failed opening required '../../../../wp-load.php' (include_path='.:/usr/share/php:/usr/share/pear') in /srv/codemat/web/wp-content/plugins/dynamic-to-top/css/dynamic-to-top-css.php on line 13
This is because my WordPress installation has the WP_CONTENT_DIR setting set to a directory (/srv/codemat/web/wp-content/) that is not one level below the main wordpress directory (/usr/share/wordpress/). So assuming that “../../../..” will bring you to the wordpress directory is wrong.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: Dynamic "To Top" Plugin] dynamic css not working with custom wp paths’ is closed to new replies.