Copy link to clipboard
Copied
This is a beginner question.
I started to build a practice website in xampp/htdocs folder. however, when I preview a page "index.php" of the website, the browser goes to "localhost/index.php" and it displays an error message:
"Warning
: require_once(Connections/connQnpTest.php) [
function.require-once]: failed to open stream: No such file or directory in
C:\xampp\htdocs\index.php on line
1
Fatal error: require_once() [function.require]: Failed opening required 'Connections/connQnpTest.php' (include_path='.;\xampp\php\PEAR') in C:\xampp\htdocs\index.php on line 1"
It will display the correct webpage if I manually type in "localhost/"practiceWebsiteName"/index.php .
any idea, please?
It sounds like you might have your site definitions not set up correctly, from what I see, it should be:
Testing Server Folder C:\xampplite\htdocs\practiceWebsiteName\
URL Prefix http://localhost/practiceWebsiteName/
Check your settings.
Gary
Copy link to clipboard
Copied
It sounds like you might have your site definitions not set up correctly, from what I see, it should be:
Testing Server Folder C:\xampplite\htdocs\practiceWebsiteName\
URL Prefix http://localhost/practiceWebsiteName/
Check your settings.
Gary
Copy link to clipboard
Copied
Thanks, Gary. that is the cause!
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more