前几天在本地测试是好的,现在又不对了

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

Notice: unserialize() [function.unserialize]: Error at offset 5 of 30 bytes in D:\wwwroot\ecshop\includes\cls_session.php on line 163

Warning: Cannot modify header information - headers already sent by (output started at D:\wwwroot\ecshop\includes\cls_session.php:163) in D:\wwwroot\ecshop\includes\init.php on line 162

Warning: Cannot modify header information - headers already sent by (output started at D:\wwwroot\ecshop\includes\cls_session.php:163) in D:\wwwroot\ecshop\includes\init.php on line 163

Warning: Cannot modify header information - headers already sent by (output started at D:\wwwroot\ecshop\includes\cls_session.php:163) in D:\wwwroot\ecshop\includes\cls_template.php on line 58

Warning: ksort() expects parameter 1 to be array, null given in D:\wwwroot\ecshop\index.php on line 262

Warning: end() [function.end]: Passed variable is not an array or object in D:\wwwroot\ecshop\index.php on line 263

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in D:\wwwroot\ecshop\index.php on line 300

回答:
没人知道吗?

Notice: unserialize() [function.unserialize]: Error at offset 5 of 30 bytes in D:\wwwroot\ecshop\includes\cls_session.php on line 163

Warning: Cannot modify header information - headers already sent by (output started at D:\wwwroot\ecshop\includes\cls_session.php:163) in D:\wwwroot\ecshop\includes\init.php on line 162

Warning: Cannot modify header information - headers already sent by (output started at D:\wwwroot\ecshop\includes\cls_session.php:163) in D:\wwwroot\ecshop\includes\init.php on line 163

Warning: Cannot modify header information - headers already sent by (output started at D:\wwwroot\ecshop\includes\cls_session.php:163) in D:\wwwroot\ecshop\includes\cls_template.php on line 58

Warning: ksort() expects parameter 1 to be array, null given in D:\wwwroot\ecshop\index.php on line 262

Warning: end() [function.end]: Passed variable is not an array or object in D:\wwwroot\ecshop\index.php on line 263

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in D:\wwwroot\ecshop\index.php on line 300

Parse error: syntax error, unexpected T_STRING, expecting ']' in D:\wwwroot\ecshop\temp\compiled\index.dwt.php on line 28

您用源文件重新覆盖下这个几个提示的文件试下



我知道为什么 我也是这么个问题 基本解决

但是我的这些错刷新下就没了····end()array_merge()ksort()这些的错误 基本是因为第一次打开网页 没有值参数什么的是空造成的 ···刷新下就没了但是出现这问题是因为我改了模版 删模版里面的内容了··然后对应的php没有改动任何东西造成的然后我把对于的php里面的报错提示的行数 注释后 错误就没了···


可以参考的看下这个错误的部分解决方法:http://www.westphp.com/viewthread.php?tid=805&fromuid=7


技术支持 西部PHP :
http://www.westphp.com/?fromuser=aypoly