I have a major problem that seems to have no solution.
I am receiving this warning "Warning: require_once(/includes/con
p) [function.require-once]: failed to open stream No such file or directory in /home/user/public_html/ind
ex.php on line 2" and this error "Fatal error: require_once() [function.require]: Failed opening required '/includes/config.inc.php'
(include_path='.:') in /home/user/public_html/ind
ex.php on line 2"
1. The path to the website is /home/user/public_html AND the folder Includes is located within this location.
2. The website location IS accessible because I can point my browser to a test file www.testsite.com/index.html
and it works.
3. SERVER["DOCUMENT_ROOT"] is set to /home/user/public_html
require_once($_SERVER["DOCUMENT_ROOT"] . "/includes/config.inc.php");