Everything posted by stevehomer
@fingers mant MNAY thanks. Took 10 mins instead of two days for me I suspect. A couple of tiny points. On my XAMPP installation at least, the directory is Testing not test an edit might help some dense sod like me. Also I did wonder if the title might not mention XAMPP otherwise other poor souls might wander in here all hopeful. Thanks a million
OK solutions from multiple problems. First PHPStorm's Chrome plugin was broken causing some of the problems. Not sure how I sorted the link but suspect that might be related. I then made my life worse by copying over the style.css in the zip root thinking that that must be it - and it was not. Downloaded css from http://www.html5webtemplates.co.uk/and things started to look a lot better. Well there goes a couple of hours I will never see again but getting slightly more competent. BTW XAMPP puts AllowOverride for the htdocs folder in httpd.conf by default - just so you know!
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