Hi,
My following code :
require_once($_SERVER['DOCUMENT_ROOT'].'/conf/php_source.php');
give me the following error :
Warning: require_once(/usr/local/apache/htdocs/conf/conf_connexion.php): failed to open stream: No such file or directory in /home/mickaelm/public_html/cat-import.fr/conf/php_source.phpon line 17
Fatal error: require_once(): Failed opening required '/usr/local/apache/htdocs/conf/conf_connexion.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mickaelm/public_html/cat-import.fr/conf/php_source.php on line 17
Is it normal that the $_SERVER['DOCUMENT_ROOT'] give the value "/home/mickaelm/public_html/cat-import.fr"?
Is there a ways to fix this on the server side?
Thanks for your help,
Mickaël
My following code :
require_once($_SERVER['DOCUMENT_ROOT'].'/conf/php_source.php');
give me the following error :
Warning: require_once(/usr/local/apache/htdocs/conf/conf_connexion.php): failed to open stream: No such file or directory in /home/mickaelm/public_html/cat-import.fr/conf/php_source.phpon line 17
Fatal error: require_once(): Failed opening required '/usr/local/apache/htdocs/conf/conf_connexion.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mickaelm/public_html/cat-import.fr/conf/php_source.php on line 17
Is it normal that the $_SERVER['DOCUMENT_ROOT'] give the value "/home/mickaelm/public_html/cat-import.fr"?
Is there a ways to fix this on the server side?
Thanks for your help,
Mickaël