解决ecshop动态ip出现session失效无法下单、登录自动退出等问题
2016-09-07 22:02 来源:www.chinab4c.com 作者:ecshop专家
管理员如果超过24小时进入 ecshop 管理中心会自动执行版本检查,但有时网路品质不良,连线速度异常时,容易拖慢网页速度,因此,去掉版本检查有其必要性。 删除后请自己随时关注版本升级以及漏洞,建议一定要更改默认的后台目录!
经chinab4c搜寻结果共找到四处:
1、admin\\index.php 约519行
$api_comment = $t->request(‘http://api.ecshop.com/checkver.php’, $apiget);
改为
// $api_comment = $t->request('http://api.ecshop.com/checkver.php', $apiget);
2、admin\\shop_config.php 约231行
将
$spt = ‘<script type="text/javascript" src="http://api.ecshop.com/record.php?’;
$spt .= "url=" .urlencode($ecs->url());
$spt .= "&shop_name=" .urlencode($_CFG['shop_name']);
$spt .= "&shop_title=".urlencode($_CFG['shop_title']);
$spt .= "&shop_desc=" .urlencode($_CFG['shop_desc']);
$spt .= "&shop_keywords=" .urlencode($_CFG['shop_keywords']);
$spt .= "&country=".urlencode($shop_country)."&province=".urlencode($shop_province)."&city=".urlencode($shop_city);
$spt .= "&address=" .urlencode($_CFG['shop_address']);
$spt .= "&qq=$_CFG[qq]&ww=$_CFG[ww]&ym=$_CFG[ym]&msn=$_CFG[msn]";
$spt .= "&email=$_CFG[service_email]&phone=$_CFG[service_phone]&icp=".urlencode($_CFG['icp_number']);
$spt .= "&version=".VERSION."&language=$_CFG[lang]&php_ver=" .PHP_VERSION. "&mysql_ver=" .$db->version();
$spt .= "&charset=".EC_CHARSET;
$spt .= ‘"></script>’;
加上注解
/*$spt = ‘<script type="text/javascript" src="http://api.ecshop.com/record.php?’;
$spt .= "url=" .urlencode($ecs->url());
$spt .= "&shop_name=" .urlencode($_CFG['shop_name']);
$spt .= "&shop_title=".urlencode($_CFG['shop_title']);
$spt .= "&shop_desc=" .urlencode($_CFG['shop_desc']);
$spt .= "&shop_keywords=" .urlencode($_CFG['shop_keywords']);
$spt .= "&country=".urlencode($shop_country)."&province=".urlencode($shop_province)."&city=".urlencode($shop_city);
$spt .= "&address=" .urlencode($_CFG['shop_address']);
$spt .= "&qq=$_CFG[qq]&ww=$_CFG[ww]&ym=$_CFG[ym]&msn=$_CFG[msn]";
$spt .= "&email=$_CFG[service_email]&phone=$_CFG[service_phone]&icp=".urlencode($_CFG['icp_number']);
$spt .= "&version=".VERSION."&language=$_CFG[lang]&php_ver=" .PHP_VERSION. "&mysql_ver=" .$db->version();
$spt .= "&charset=".EC_CHARSET;
$spt .= ‘"></script>’;*/
3、admin\\templates\\index.htm 约26行
<frame src="http://api.ecshop.com/record.php?mod=login&url={$shop_url}" id="hidd-frame" name="hidd-frame" frameborder="no" scrolling="no">
加上注解
<!– <frame src="http://api.ecshop.com/record.php?mod=login&url={$shop_url}" id="hidd-frame" name="hidd-frame" frameborder="no" scrolling="no"> –>
4、admin\\templates\\menu.htm 约143行
<script language="JavaScript" src="http://api.ecshop.com/menu_ext.php?charset={$charset}&lang={$help_lang}"></script>
加上注解
<!– <script language="JavaScript" src="http://api.ecshop.com/menu_ext.php?charset={$charset}&lang={$help_lang}"></script> –>
完成! (责任编辑:chinab4c) |
最近更新
常用插件
- ecshop2.7.1邮件发送插件
ecshop2.7.1邮件发送插件:该插件主要的开发思想是源于ecshop短信发送系统...
- ecshop没登陆情况下订单查
ecshop没登陆情况下订单查询插件,主要是针对ecshop在没有登陆的情况下...
- ecshop最小购买数量控制插
ecshop最小购买数量控制插件,这个插件主要是为我们提供一个十分方便...
- ecshop二次开发商品购买增
图片1香...
- ecshop2.7.2生成虚拟订单2.
以前我们开发过ecshop下的虚拟订单,就是客户在访问的时候,会自动生...
ecshop热门问答
ecshop热门资料
ecshop上门取货
ecshopbonus
ecshop作者
ecshop 玛萨玛索
ecshop百度有啊
ecshop危险
ecshoppretsashop
ecshop单引号
ecshop开发网站
ecshop动态网页
ecshop语言管理
ecshop机器
ecshop老杨ECSSHOP二次开发
ecshop报错
ecshop欧宝
ecshopADDR
ecshop闹心
ecshop短袖
ecshop烟台
ecshop登录框
ecshop帮帮忙。如图
ecshop内容优化
ecshopopen
ecshop服务台
ecshop骗子
ecshop商品导入
ecshop赋予
ecshop无法付款
ecshop左旋肉碱
ecshopmicoland