Support » Plugins and Hacks » Newbie prob with Style-Switcher

Newbie prob with Style-Switcher

  • Hi, I’m probably missing something completely obvious, but I thought I’d ask anyway. I’ve tried to install the WP-Style-Switcher but when I view my blog (http://test.icklebug.net) I get the following error:
    Warning: opendir(wpstyle/): failed to open dir: No such file or directory in /home/icklebug/public_html/test/wp-style-switcher.php on line 58
    Warning: closedir(): supplied argument is not a valid Directory resource in /home/icklebug/public_html/test/wp-style-switcher.php on line 65
    I’d really appreciate any help you could offer 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • You need a subdirectory where WP is located called “wp-style” and within that, directories for each style.

    btw, any opinion on wp-style.php (server side) vs styleswitcher.js (client side) ?

    It is not looking for directory ‘wp-style’ (which is where you have your styles, but for ‘wpstyle’. Looks like you have incorrectly tweaked wp-style-switcher (which also does not go into wp-style the subdirectory)

    wp-style-swicher goes in the same directory as your index page for WP. If that is where you have it, then it should work. It cannot go in another directory as is. As for ‘wpstyle’ that was the error returned – something like, ‘cannot find directory ‘wpstyle’ in ‘test’ …
    I checked your page and it looks like you have gotten it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Newbie prob with Style-Switcher’ is closed to new replies.