Help For Alex’s Style Switcher / Root
-
I searched first for a hack that changed the wp-style-switcher.php from “siteurl” to “home” but couldn’t get it to work. I’m a novice at php.
I think the problem is that WordPress is installed in my /wordpress folder, and my url is my root. If I put the wp-style under /wordpress, the style loads fine, but I get the following error:Warning: opendir(): SAFE MODE Restriction in effect. The script whose uid/gid is 21055/21056 is not allowed to access /home/content/c/h/a/chasingthewind/html owned by uid/gid 0/0 in /home/content/c/h/a/chasingthewind/html/wordpress/wp-content/plugins/wp-style-switcher.php on line 66
Warning: opendir(wp-style/): failed to open dir: No such file or directory in /home/content/c/h/a/chasingthewind/html/wordpress/wp-content/plugins/wp-style-switcher.php on line 66
Warning: closedir(): supplied argument is not a valid Directory resource in /home/content/c/h/a/chasingthewind/html/wordpress/wp-content/plugins/wp-style-switcher.php on line 73
Style:If I move the wp-style folder off the root, the error goes away, but then the style doesn’t load.
If I put it in *both* locations, the default loads fine, but trying to switch styles gives a 404 Error. I set the default using this mod to the index.php file:@import url( <?php wp_stylesheet(“Blue Swirly”); ?> );
The wp-style-switcher is in the plugins folder, unmodified.
- The topic ‘Help For Alex’s Style Switcher / Root’ is closed to new replies.