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

首页 >后端开发 >php教程 >ECshop237开源程序 php56报错

ECshop237开源程序 php56报错

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB原创
2016-07-28 08:28:221416浏览

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,刷新” 

以上就介绍了 ECshop237开源程序 php56报错,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn