菜鸟求救.改后台目录出错.

2016-07-07 15:22 来源:www.chinab4c.com 作者:ecshop专家

我把后台目录ADMIN改为 AD打开后台出错.. 请高手帮忙.如何才可以正常改目录?是不是不可以改的?

Warning: include(G:/APMServ/www/htdocs/ad/includes/init.phpincludes/config.php) [function.include]: failed to open stream: No such file or directory in G:\APMServ\www\htdocs\ad\includes\init.php on line 56

Warning: include() [function.include]: Failed opening 'G:/APMServ/www/htdocs/ad/includes/init.phpincludes/config.php' for inclusion (include_path='.;G:/APMServ/www/htdocs/ad/includes/init.php') in G:\APMServ\www\htdocs\ad\includes\init.php on line 56

Warning: require(G:/APMServ/www/htdocs/ad/includes/init.phpincludes/inc_constant.php) [function.require]: failed to open stream: No such file or directory in G:\APMServ\www\htdocs\ad\includes\init.php on line 78

Fatal error: require() [function.require]: Failed opening required 'G:/APMServ/www/htdocs/ad/includes/init.phpincludes/inc_constant.php' (include_path='.;G:/APMServ/www/htdocs/ad/includes/init.php') in G:\APMServ\www\htdocs\ad\includes\init.php on line 78

回答:
这里需要更改的文件很多,不是修改一个文件名

建议不更改

更改也是那样。修改相关文件目录...地址.



好像我把其它文件也有admin 的都改了,,后台可以正常显示..可是就是无法登陆是什么原因??

还请告知...谢谢~~~

这个修改不能只能修改这个文件夹名称,还要修改配置文件中针对后台路径的名称。你可以搜索下相关帖子。这个很简单。

data/config.php
define('ADMIN_PATH','admin');

这个我也碰到过, 但是不记得怎么解决去了