The shopex host reported an error requesting the solution of No such file or directory

  • 2020-05-10 17:52:14
  • OfStack

1. shopex host environment
1. windows 2003 R2
2. iis6.0 + php5.0
3. mysql 5.0 or above
If you would like to know the php environment collocation, please refer to:
How to configure and set up iis+php+mysql environment under windows2003
2. shopex host problem description
 
Warning: 
require(/core/include_v5/adminCore.php) [function.require]: failed to open stream :  
No such file or directory in D:\wwwroot\beisoso\shopadmin\index.php on line 13 
Fatal error: 
require() [function.require]: 
Failed opening required "/core/include_v5/adminCore.php" (include_path=".;C:\php5\pear") 

3. shopex host solution
Give D:\ and D:\wwwroot 1 everyone readable permissions, just add permissions to these two locations, do not attach to the next level directory!
The command is as follows:
cacls d:\ /e /g everyone:r
cacls d:\wwwroot /e /g everyone:r

4. Additional
If you have a better solution to this problem, you are welcome to correct and discuss it

Because it is a permission issue, it can also be resolved by placing 1 into a subdirectory.

Related articles: