• Resolved blasher

    (@blasher)


    my sidebar.php has several include calls in it. i.e. include (TEMPLATEPATH.'/includes/banner.php');

    this works just fine on the main development server (LAMP), but doesn’t work on my local WAMP server. i’ve noticed that if i get rid of the slash in front of includes, then it works on my WAMP server, but not on the LAMP server.

    anyone have a really good way to fix this?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Try using get_template_directory() . '/includes/banner.php'

    Thread Starter blasher

    (@blasher)

    i’ve done that. i get the exact same results i’ve also tried get_bloginfo(‘template_dir’).

    Sounds like there’s an issue on your local WAMP server. It’s adding an unwanted slash.

    just a thought but is the WAMP server in a folder with a space in it? like ‘my documents’?

    Thread Starter blasher

    (@blasher)

    turns out it was something else and just manifesting itself like it was a difference in the values of TEMPLATEPATH.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘issues with TEMPLATEPATH when migrating site’ is closed to new replies.