升级507补丁后出错,,
2016-07-07 15:12 来源:www.chinab4c.com 作者:ecshop专家
Warning: Cannot modify header information - headers already sent by (output started at D:\web\mall\includes\lib_base.php:1) in D:\web\mall\includes\cls_template.php on line 58 Warning: Cannot modify header information - headers already sent by (output started at D:\web\mall\includes\lib_base.php:1) in D:\web\mall\admin\includes\init.php on line 357 Warning: Cannot modify header information - headers already sent by (output started at D:\web\mall\includes\lib_base.php:1) in D:\web\mall\admin\includes\init.php on line 358 Warning: Cannot modify header information - headers already sent by (output started at D:\web\mall\includes\lib_base.php:1) in D:\web\mall\admin\includes\init.php on line 359 Warning: Cannot modify header information - headers already sent by (output started at D:\web\mall\includes\lib_base.php:1) in D:\web\mall\admin\includes\init.php on line 360 Warning: Cannot modify header information - headers already sent by (output started at D:\web\mall\includes\lib_base.php:1) in D:\web\mall\admin\includes\init.php on line 361 |
回答:
Warning: Missing argument 3 for write_static_cache(), called in ....index.php on line 532 and defined in.....lib_base.php on line 1287 Warning: Missing argument 4 for write_static_cache(), called in .....index.php on line 532 and defined in ....includes\lib_base.php on line 1287 |
如何搞啊,,, |
为什么我更新5.07的补丁没问题,你们的模版是不是经过二次开发 |
应该没有。。。 文字都变成正方形了,,后台进不去,。 |
是不是编码问题?下载的编码不对? |
我升级以后也出现这种问题。 |
来看看来看看来看看来看看 |
出现同样的问题。 重新覆盖回1106版本的admin、includes两个文件夹。就好了。。 下载的包里,估计有问题。。。 我测试了几次。 |
我解决的办法吗/ |
看帖子的都发表一下看法 |
官方又乱来了。 |
function write_static_cache($cache_name,$caches,$newname='',$newfile='') { $cache_file_path = ROOT_PATH . '/temp/static_caches/' . $cache_name . '.php'; if(empty($newname)) $newname = $cache_name; if(empty($newfile)) $newfile = $cache_file_path; if (!empty($cache_name)){ if ((DEBUG_MODE & 2) == 2) { return false; } $content = "<?php\r\n"; $content .= "\$data = " . var_export($caches, true) . ";\r\n"; $content .= "?>"; file_put_contents($cache_file_path, $content, LOCK_EX); }else{ @file_put_contents($newfile, $newname); } } 改为此代码即可,是由于没有加默认值,且老程序只写了两个参数的问题。不知道我写的对不对哈,PHP不支持函数的重载。。。郁闷! |
根据你的方法,问题解决了 |
Warning: Missing argument 3 for write_static_cache(), called in ....index.php on line 532 and define ... 我也是这个问题,安装5.7补丁这样,退回1106还是这个问题。我来回测试好几次了。我是php5.3.23+mysql5.5.30 |
最近更新
常用插件
- ecshop二次商品订购人信息
ecshop二次商品订购人信息填写插件,有时候给朋友送花,或者是送礼品的...
- ecshop注册推荐送现金插件
ecshop中的促销售功能还不是很完善,随着电子商务系统的发展和进步,...
- ecshop二次开发商品购买备
ecshop销售统计 插件介绍:ecshop二次开发订单销售统计和商品购买备注服...
- ecshop2.7.2退换货申请插件
ecshop2.7.2退换货申请插件,主要是在 ecshop 现在的基础上,对ecshop的订单处...
- ecshop会员中心订单excel倒出
ecshop会员中心订单excel倒出...
ecshop热门问答
ecshop热门资料
ecshop新手模板使用
ecshop老杨ECSHOP
ecshop来源地
ecshop选项
ecshop自由变色
ecshop女人
ecshopaddToCart
ecshop多城市版
ecshop京东模板
ecshop支付功能
ecshop客位
ecshop搞活动设置
ecshop首页商品显示
ecshop商品栏目
ecshop属性规格
ecshop注册送积分
ecshopwicktian
zencart销售排行
ecshop语言自动选择
ecshopASPX
ecshop默认
ecshop后台订单系统
ecshop请教
ecshop支持软件
ecshop安装程序幕
ecshop大杂烩
ecshop大图预览
ecshop淘客
ecshop淘宝分类
ecshoppayment