Mocha Theme Error, missing switcher.php

3 posts
  1. JLeuze

    offline
    Member

    Hey Ryan, I was checking out your theme, Mocha, and I ran into an error.

    I'm using it on my local workstation using XAMPP, so I wonder if it isn't a file path issue and not anything in your theme. But I have an install of WordPress MU on my local machine with Mocha that runs just fine.

    When I try to use the Mocha Theme with an install of regular WordPress though, I get this error:

    Warning: include(C:\xampp\htdocs\blog.test.com/wp-content/themes/mocha-theme/custom/switcher.php) [function.include]: failed to open stream: No such file or directory in C:\xampp\htdocs\blog.test.com\wp-content\themes\mocha-theme\footer.php on line 15
    
    Warning: include() [function.include]: Failed opening 'C:\xampp\htdocs\blog.test.com/wp-content/themes/mocha-theme/custom/switcher.php' for inclusion (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\blog.test.com\wp-content\themes\mocha-theme\footer.php on line 15

    It seems to be looking for switcher.php, which as far as I can tell, doesn't exist.

    Am I missing anything obvious here?

    Posted 7 months ago #
  2. robblatt

    offline
    Member

    I've got the same issue. Removing the line of code removed the error message. Was it important?

    Posted 7 months ago #
  3. JLeuze

    offline
    Member

    I've got the same issue. Removing the line of code removed the error message. Was it important?

    I'm guessing it is important, but I couldn't tell you how important!

    I still haven't figured out how to fix this problem with switcher.php, but I'm really digging the Mocha Theme. I started poking around and figured out how to add custom color schemes, it was super easy to crank out more color schemes.

    Posted 6 months ago #

Tags:

RSS feed for this topic

Reply

You must log in to post. Sign up if you’re new.