shopex用户在网站根目录安装后,前台和后台会提示错误,放到子目录就正常。
错误提示:
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") in D:\wwwroot\beisoso\shopadmin\index.php on line 13
PHP 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 PHP Fatal error: require() [function.require]: Failed opening required "/core/include_v5/adminCore.php" (include_path=".;C:\php5\pear") in D:\wwwroot\beisoso\shopadmin\index.php on line 13
解决办法,给D:\和D:\wwwroot 一个everyone可读权限,只在这两个位置加权限就可以了,不要附加到下一级目录!
命令如下:
cacls d:\ /e /g everyone:r
cacls d:\wwwroot /e /g everyone:r