Error while discovering dynamic related files

Hi all,
I tried many times and now i can’t get through it. i have installed a new instance of wp on my system and using DreamWeaver to see it in live view but when i do ‘Dynamic Discover’ it shows no file (of course it didn’t find any) and when i go into live view i get error which says
Fatal error: Call to undefined function get_header() in C:\wamp\www\StuffedOlivesCafe\wp-content\ hemes\ wentyeleven\index.php on line 15
Now as u remember i said its a fresh install and every time a create a instancei get this error.why?
p/s i am using wamp

I don’t understand if it’s a problem only in DW or also on http://localhost in any browser?
Show us the source code.

It work fine on localhost. i just wanna fix the error of dynamic related discovery in DW. it gives a easy WYIWYG on wordpress. but its unable to discover them

I’ll not help you. In DW I just code and then check the site in browser.
But if there’s sth wrong with the code it’ll not be displayed properly in browser and then I can repair the code in DW.