升级0507后 lib_base.php 出错,求帮助

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

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

回答:
把警告关闭就可以。估计是版本问题

警告关闭在哪里关闭。。。

怎么关警告?

把警告关闭就可以。估计是版本问题
web667 发表于 2013-5-9 10:37



什么警告关掉?

我也出现。。。
后台访问不了,前台乱码。

谁知道这个怎么解决? ECShop_mobile.png

我的也是这样子的警告:
Warning: Missing argument 3 for write_static_cache(), called in D:\wwwroot\lch104838\web\admin\index.php on line 532 and defined in D:\wwwroot\lch104838\web\includes\lib_base.php on line 1288

- -.......

这个东西我好像也没有。

\includes\lib_base.php
1284行,改成这样
function write_static_cach($cache_name,$caches,$newname='',$newfile='')
改了就可以了

官方怎么能这样草率呢?

write_static_cach写缓存的东东

更新后打开后台管理页面admin:

Warning: Cannot modify header information - headers already sent by (output started at /www/users/dj.com/includes/lib_base.php:1) in /www/users/dj.com/includes/cls_template.php on line 58

Warning: Cannot modify header information - headers already sent by (output started at /www/users/dj.com/includes/lib_base.php:1) in /www/users/dj.com/admin/includes/init.php on line 357

Warning: Cannot modify header information - headers already sent by (output started at /www/users/dj.com/includes/lib_base.php:1) in /www/users/dj.com/admin/includes/init.php on line 358

Warning: Cannot modify header information - headers already sent by (output started at /www/users/dj.com/includes/lib_base.php:1) in /www/users/dj.com/admin/includes/init.php on line 359

Warning: Cannot modify header information - headers already sent by (output started at /www/users/dj.com/includes/lib_base.php:1) in /www/users/dj.com/admin/includes/init.php on line 360

Warning: Cannot modify header information - headers already sent by (output started at /www/users/dj.com/includes/lib_base.php:1) in /www/users/dj.com/admin/includes/init.php on line 361

都是出现这个问题。。但官方竟然没有一句说明。。。