您的位置:首页 > 编程语言 > PHP开发

ECshop2.37开源程序 php5.6报错

2016-07-01 14:37 561 查看
cls_template.php

//return preg_replace("/{([^\}\{\n]*)}/e", "\$this->select('\\1');", $source);改成

       return preg_replace_callback("/{([^\}\{\n]*)}/",
function($r) { return $this->select($r[1]); }, $source);

    }

 $tag_sel = array_shift(explode(' ', $tag)); 改成:
$tag_arr = explode(' ', $tag); $tag_sel = array_shift($tag_arr);

Warning: Cannot modify header information - headers already sent by (output started at D:\wamp\www\includes\lib_base.php:1) in D:\wamp\www\install\includes\init.php on line 40

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at D:\wamp\www\includes\lib_base.php:1) in D:\wamp\www\install\cloud.php on line 18
php.ini文件中修改output_buffering = on,重启Apache,刷新” 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  php ecshop