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,刷新”
//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,刷新”
相关文章推荐
- 一个关于if else容易迷惑的问题
- PHP5.2.*防止Hash冲突拒绝服务攻击的Patch
- 深入理解PHP之匿名函数
- JSP/PHP基于Ajax的分页功能实现
- 关于PHP通过PDO用中文条件查询MySQL的问题。
- 什么是设计模式
- PHP数据库长连接mysql_pconnect的细节
- Php Installing An Expansion
- rem : web app适配的秘密武器
- jquery高级应用之Deferred对象
- php7 读取php.ini[4]
- PHP+Apache在Windows 9x下的安装和配置
- IIS 6 的 PHP 最佳配置方法
- 安装Apache和PHP的一些补充
- Linux Apache+MySQL+PHP
- 建立Apache+PHP+MySQL数据库驱动的动态网站
- PHP 5.3.0 安装分析心得
- apache 环境下 php 的配置注意事项