I know this question keeps getting asked, but as far as i can see its just a syntax error and I cant see it. The code is as follows
on index.php:
<?php
error_reporting(E_ALL);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE); ?>
<? require($_SERVER["DOCUMENT_ROOT"] . '/WestAncroftSettings.php' ); ?>
<?php include("$ACCESS_PATH" . "/WestAncroft2/Pages/Main/Main.php");?>
and on WestAncroftSettings.php:
<?php $ACCESS_PATH = 'http://' . $_SERVER['HTTP_HOST'].'/WestAncroft2'; ?>
<?php $IMAGE_PATH = 'http://' . $_SERVER['HTTP_HOST'].'/WestAncroft2/images'; ?>
and on Main.php:
<? require($_SERVER[DOCUMENT_ROOT] . '/WestAncroftSettings.php' ); ?>
If you want the rest of the content on the pages just ask.