Ok resolved
If your config file is set up to display notices then to stop a notice like the following:
Notice: Use of undefined constant SIDE_BAR_FILE - assumed 'SIDE_BAR_FILE' in C:\Apache2\htdocs\***\admin\html_includes\dsp_html_top.php on line 25
Stick an '@' in front of the constant
The code i was struggling with was
$dir = RP . ITEM_DIRECTORY . 'html_includes/' . SIDE_BAR_FILE ;
if (is_file($dir)) require_once $dir;
So using the method explained above; all is resolved using the '@' like so:
$dir = RP . ITEM_DIRECTORY . 'html_includes/' . @SIDE_BAR_FILE ;
if (is_file($dir)) require_once $dir;