WordPress.org

Ready to get started?Download WordPress

Forums

Newbie prob with Style-Switcher (5 posts)

  1. bex
    Member
    Posted 10 years ago #

    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 :)

  2. Beel
    Member
    Posted 10 years ago #

    You need a subdirectory where WP is located called "wp-style" and within that, directories for each style.

  3. Ozh
    Member
    Posted 10 years ago #

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

  4. Beel
    Member
    Posted 10 years ago #

    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)

  5. Beel
    Member
    Posted 10 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.