前台正常,后台无法登陆,提示mysql无法连接,何故?
2016-07-07 15:18 来源:www.chinab4c.com 作者:ecshop专家
独立服务器,PHP和mysql运行正常, ECSHOP运行了很长时间,近日突然出现奇怪的现象: 1、前台一切正常 2、后台登陆页面出错,提示信息如下: Warning: include() [function.include]: Unable to access ../includes/config.php in D:\WWWROOT\ecshop\wwwroot\admin\includes\init.php on line 53 Warning: include(../includes/config.php) [function.include]: failed to open stream: Permission denied in D:\WWWROOT\ecshop\wwwroot\admin\includes\init.php on line 53 Warning: include() [function.include]: Failed opening '../includes/config.php' for inclusion (include_path='.;ROOT_PATH') in D:\WWWROOT\ecshop\wwwroot\admin\includes\init.php on line 53 Notice: Undefined variable: db_name in D:\WWWROOT\ecshop\wwwroot\admin\includes\init.php on line 115 Notice: Undefined variable: prefix in D:\WWWROOT\ecshop\wwwroot\admin\includes\init.php on line 115 Notice: Undefined variable: db_host in D:\WWWROOT\ecshop\wwwroot\admin\includes\init.php on line 121 Notice: Undefined variable: db_user in D:\WWWROOT\ecshop\wwwroot\admin\includes\init.php on line 121 Notice: Undefined variable: db_pass in D:\WWWROOT\ecshop\wwwroot\admin\includes\init.php on line 121 Notice: Undefined variable: db_name in D:\WWWROOT\ecshop\wwwroot\admin\includes\init.php on line 121 ECSHOP info: Can't Connect MySQL Server()! 初看之下,以为是mysql的账号密码有误,遂将mysql和ecshop的配置文件(data/config.php)中数据库账号密码部分重新设置配置,前台仍然正常显示,后台还是显示上面的错误信息。 我的理解是,前台都能正常连接到mysql,说明mysql的账号密码无误,那是后台有单独的配置文件吗?看到includes/init.php文件中有说到include('../includes/config.php'); 可是在根目录includes目录下和admin目录下的includes目录,均未找到有config.php目录,是这个文件被删除了吗? 求教! |
回答:
真冷场啊…… |
数据库链接文件没有修改阿 |
除了config.php还有哪里有配置文件? |
最近更新
常用插件
- ecshop选择下单时间插件
ecshop选择下单时间插件主要是根据不同的下单配送要求,在ecshop购物车...
- ecshop二次开发售后维修卡
插件介绍: 本插件是用于专门从事电子,信息,软件等售后服务关键比...
- ecshop按分类筛选销售排行
ecshop按分类筛选销售排行...
- ecshop快递发货单打印商品
ecshop快递发货单打印商品信息,大家都知道ecshop快递单打印的时候,只能...
- ecshop供应商插件免费下载
ecshop供应商插件免费下载...
ecshop热门问答
ecshop热门资料
ecshopdll
ecshopAdult
ecshop知名度
ecshop如何更快修改网站?
ecshopmethod
ecshop客位
ecshopgoodbaby
ecshop增删改
ecshop商品品牌管理
ecshop老杨ECSSHOP二次开发
ecshop收货地址
ecshop备份
orm
ecshop反应
ecshop长长的
ecshop网店帮助
ecshop后台错误
ecshop新手导航
ecshop运费到付
ecshop每篇
ecshop收获
ecshop工作经验
ecshop河南
ecshop价格变化
ecshop对位
ecshop如何赚
邀请返利
ecshop手机购物
ecshop空隙
ecshopGzip