Jump to content
Larry Ullman's Book Forums

Fatal error: Uncaught Error: Failed opening required '../mysqli_connect.php' (include_path='D:\xampp\php\PEAR') in D:\xampp\htdocs\phpmysql4_scripts\ch09\view_users.php:10


Recommended Posts

http://127.0.0.1/phpmysql4_scripts/ch09/view_users.php

 

Your Website

catchy slogan...

Registered Users


Warning: require(../mysqli_connect.php): Failed to open stream: No such file or directory in D:\xampp\htdocs\phpmysql4_scripts\ch09\view_users.php on line 10

Fatal error: Uncaught Error: Failed opening required '../mysqli_connect.php' (include_path='D:\xampp\php\PEAR') in D:\xampp\htdocs\phpmysql4_scripts\ch09\view_users.php:10 Stack trace: #0 {main} thrown in D:\xampp\htdocs\phpmysql4_scripts\ch09\view_users.php on line 10

 

 

 

 

Other tag works, just View Users have errors

 

I have put the mysqli_connect.php into php\pear folder

but it still fails

 

i have tried many times, please give me a help !!

Thanks!!

Link to comment
Share on other sites

So you have the script D:\xampp\htdocs\phpmysql4_scripts\ch09\view_users.php which is including ../mysqli_connect.php. The ../ bit means "go up one directory from the current directory". Up one directory from D:\xampp\htdocs\phpmysql4_scripts\ch09 is D:\xampp\htdocs\phpmysql4_scripts, so the code is looking to include D:\xampp\htdocs\phpmysql4_scripts\mysqli_connect.php. 

Link to comment
Share on other sites

 Share

×
×
  • Create New...