OK well I am officially dumb. I seem to be the only person to get stuck on BASE_URI in Chapter 2.
I have tried:
define('BASE_URI', 'c:/xampp/htdocs/site1/');
define('BASE_URL', 'http://localhost/site1/');
and
define('BASE_URI', 'c:\xampp\htdocs\site1');
define('BASE_URL', 'http://localhost/site1/');
etc but can get nothing to work.
The page comes up but does not find the CSS file (although some styling is picked up).
The links in the form
<li><a href="#">link 2</a></li>
work fine but those like
<li><a href="../index.php?p=this">This</a></li>
link to the htdocs not to htdocs\site1 as it "should".
Grateful for any pointers.
EDIT: OK well all seems "fine" now. Deleted C: from URI and links were as they should be. Then edited URI to sdags and that was fine too. I have a horrible feeling this may be some sort of caching problem but test echo messages were coming up as they should be so am more than a little flummoxed.
What exactly is the URI used for here? Surely all the browser navigation is done via the localhost reference.
Mahalo
Steve
PS think there is a tiny error. The link for the "logo" at the top goes to index.html and not .php