WordPress.org

Ready to get started?Download WordPress

Forums

Theme Switcher (14 posts)

  1. aquiline
    Member
    Posted 8 years ago #

    I keep getting errors...

    Fatal error: Call to undefined function: wp_theme_switcher() in /home/httpd/vhosts/aurorel-skies.net/subdomains/aquiline/httpdocs/wordpress/wp-content/themes/default/sidebar.php on line 56

    on my site aquiline.aurorel-skies.net

    I completely unistalled WP thinking it would help b.c I cant see what I have done wrong...but it hasnt...:-/

  2. Beel
    Member
    Posted 8 years ago #

    Either activate the plugin or remove the call in the file.

  3. aquiline
    Member
    Posted 8 years ago #

    I clicked activate and what does the call mean?

  4. Beel
    Member
    Posted 8 years ago #

    It means the theme you are using calls the function and since the plugin which contains the function is not activated, it is not available. As a result the page fails with an error of "undefined function". Remove the theme_switcher call in sidebar.php on the line indicated.

  5. aquiline
    Member
    Posted 8 years ago #

    but then how do i use the theme switcher?

  6. Beel
    Member
    Posted 8 years ago #

    To repeat my first post, either activate the plugin or remove the call. Remove the call... no workie no theme switcher. Activate the plugin... workie theme switcher.

  7. vkaryl
    Member
    Posted 8 years ago #

    Sometimes a local install of wp on apache borks bigtime on plugins such as theme-switcher.

    Best thing to do is just (as Beel suggests above) comment out the call to that plugin in your sidebar.

    Hmmmm. Nope.... yours ISN'T a local install, is it? Could you post the code you're using to call the plugin? And 'nother question: which theme-switcher are you using?

  8. aquiline
    Member
    Posted 8 years ago #

    http://boren.nu/archives/2004/10/13/theme-switcher-plugin/

    Im using that ^^ and the code there to call it

  9. vkaryl
    Member
    Posted 8 years ago #

    Okay, that's good, 'cause Ryan's is the only one I know anything about....

    So if you're using the code included with the plugin in your sidebar, that's okay. Then, what happens when you activate it? Do you get the "plugin activated" message?

    I'm trying to load your page but getting a not found error. Are you using the latest version of WP? And the latest version of theme-switcher available at http://dev.wp-plugins.org/wiki/ThemeSwitcher....

  10. aquiline
    Member
    Posted 8 years ago #

    yes i am getting the plugin activated message and I think I am...I got the plugin from that site...and WP from wordpress.org...

  11. vkaryl
    Member
    Posted 8 years ago #

    I think it may have something to do with the "subdomain" setup (as shown in the error message) then. Have you done whatever DNS twitching you need to do to make the subdomain fully active for all folders etc?

    I've not used a host with a setup like yours; mine simply makes folders under the main folder without a "subdomain" in the path....

    You might need to verify with your host that you've got the subdomain setup right.

  12. aquiline
    Member
    Posted 8 years ago #

    that really confuses me?!? what exactly do I ask her??

  13. vkaryl
    Member
    Posted 8 years ago #

    Well, you explain the error message you're getting, and ask her if that "subdomains" should be in the path; you ask her if there's anything special you should have done when setting up the subdomain, and is there anything unusual about using WP in that subdomain on her servers.

    As I said, my hosts haven't ever had that sort of path setup, so I don't really know - I'm just providing comments to maybe get you thinking about various aspects. My hosts always use /username/public_html/folder sort of pathing. And subdomains are just other folders.

  14. aquiline
    Member
    Posted 8 years ago #

    well she doesnt use WP...so she had no clue how to fix it :-/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags