我的商城经常出现一些莫名其妙的问题,高手请进!

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

我的商城经常出现一些莫名其妙的问题,但刷新一下就又正常了,都是提示少标点符号或语法错误之类的问题,请高手指点。。



Warning: Unexpected character in input: ' in /usr/vhome/9/7/5/97532.cnc-us1-g1.dns.com.cn/www/wlshop/includes/cls_ecshop.php on line 141

Warning: Cannot modify header information - headers already sent by (output started at /usr/vhome/9/7/5/97532.cnc-us1-g1.dns.com.cn/www/wlshop/includes/cls_ecshop.php:141) in /usr/vhome/9/7/5/97532.cnc-us1-g1.dns.com.cn/www/wlshop/includes/cls_session.php on line 116

Warning: Cannot modify header information - headers already sent by (output started at /usr/vhome/9/7/5/97532.cnc-us1-g1.dns.com.cn/www/wlshop/includes/cls_ecshop.php:141) in /usr/vhome/9/7/5/97532.cnc-us1-g1.dns.com.cn/www/wlshop/includes/cls_template.php on line 58

This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with Zend Extension Manager v1.0.6, Copyright (c) 2003-2004, by Zend Technologies with Zend Optimizer v2.5.7, Copyright (c) 1998-2004, by Zend Technologies


PHP Version 4.3.10
System FreeBSD us1-g1.dns.com.cn 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Mon Ju i386
Build Date May 8 2006 16:27:54
Configure Command './configure' '--with-openssl' '--with-zlib' '--enable-bcmath' '--enable-calendar' '--with-jpeg-dir' '--with-tiff-dir' '--with-freetype-dir=/usr/local' '--with-curl' '--enable-dba' '--with-gdbm' '--with-cdb' '--with-inifile' '--enable-ftp' '--with-gd' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local' '--with-zlib-dir=/usr/local' '--with-ttf=/usr/local' '--enable-gd-native-ttf' '--with-gettext=/usr/local' '--with-iconv=/usr/local' '--enable-mbstring' '--with-mysql' '--disable-ipv6' '--enable-sockets' '--with-zip' '--enable-memory-limit' '--enable-zend-multibyte' '--with-apxs=/usr/local/apache/bin/apxs'
Server API Apache
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/lib/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety disabled
Registered PHP Streams php, http, ftp, https, ftps, compress.zlib

This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with Zend Extension Manager v1.0.6, Copyright (c) 2003-2004, by Zend Technologies with Zend Optimizer v2.5.7, Copyright (c) 1998-2004, by Zend Technologies


Apache Version Apache/1.3.33 (Unix) PHP/4.3.10
gd
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
Zend Optimizer
Optimization Pass 1 enabled
Optimization Pass 2 enabled
Optimization Pass 3 enabled
Optimization Pass 4 enabled
Optimization Pass 9 disabled
Zend Loader enabled
License Path no value

apache
APACHE_INCLUDE no value
APACHE_TARGET no value
Apache Version Apache/1.3.33 (Unix) PHP/4.3.10
Apache Release 10333100
Apache API Version 19990320

回答:
但刷新一下就又正常了,都是提示少标点符号或语法错误之类的问题,请高手指点。。

我之前回答过类似的帖子,是因为session之前有输出

出错。或者是编码问题。

我之前回答过类似的帖子,是因为session之前有输出
qiyongdong 发表于 2009-9-15 17:45




老兄能否讲的详细些,小弟现在不知所错!谢谢!!!

对 session或者cookie前有输出就会报这样的错误

问题应该是你修改了程序 编码出了问题