Hello,
I have an issue since I moved a site to a new development server Xammp light.
The site uses $_SERVER["DOCUMENT_ROOT"] in many of the require(); lines and the new server gives an error
Should I change the $_SERVER["DOCUMENT_ROOT"] value? If so, what is the best way to this? If not, what is the best route to take?
This all worked fine until the copy to the new development server.
Thank you for your time.
I have an issue since I moved a site to a new development server Xammp light.
The site uses $_SERVER["DOCUMENT_ROOT"] in many of the require(); lines and the new server gives an error
<br /> <b>Warning</b>: require(C:/xampplite/htdocs/core/connect.inc.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in <b>C:\xampplite\htdocs\Jinglle\scripts\sec_questions\get_user_security_question.php</b> on line <b>2</b><br /> <br /> <b>Fatal error</b>: require() [<a href='function.require'>function.require</a>]: Failed opening required 'C:/xampplite/htdocs/core/connect.inc.php' (include_path='.;C:\xampplite\php\PEAR') in <b>C:\xampplite\htdocs\Jinglle\scripts\sec_questions\get_user_security_question.php</b> on line <b>2</b><br />
Should I change the $_SERVER["DOCUMENT_ROOT"] value? If so, what is the best way to this? If not, what is the best route to take?
This all worked fine until the copy to the new development server.
Thank you for your time.