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?
Try using get_template_directory() . '/includes/banner.php'
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'?
turns out it was something else and just manifesting itself like it was a difference in the values of TEMPLATEPATH.