日期:2014-05-17  浏览次数:20468 次

zen cart迁移空间后add to cart空白页
添加到购物车出现空白页,
错误日志:[15-Dec-2011 19:17:08] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/yongc/public_html/store/includes/classes/class.smtp.php:2039) in /home/yongc/public_html/store/includes/functions/sessions.php on line 114
[15-Dec-2011 19:17:08] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/yongc/public_html/store/includes/classes/class.smtp.php:2039) in /home/yongc/public_html/store/includes/init_includes/init_templates.php on line 152
[15-Dec-2011 19:17:09] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/yongc/public_html/store/includes/classes/class.smtp.php:2039) in Unknown on line 0
[15-Dec-2011 19:17:09] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/yongc/public_html/store/includes/classes/class.smtp.php:2039) in Unknown on line 0


进后台出现空白页:
错误日志:a:622:{i:0;a:2:{s:6:"cfgkey";s:10:"STORE_NAME";s:8:"cfgvalue";s:26:"Oil Painting Gallery - OPG";}i:1;a:2:{s:6:"cfgkey";s:11:"STORE_OWNER";s:8:"cfgvalue";s:9:"York Chen";}i:2;a:2:{s:6:"cfgkey";s:13:"STORE_COUNTRY";s:8:"cfgvalue";s:3:"223";}i:3;a:2:{s:6:"cfgkey";s:10:"STORE_ZONE";s:8:"cfgvalue";s:1:"4";}i:4;a:2:{s:6:"cfgkey";s:22:"EXPECTED_PRODUCTS_SORT";s:8:"cfgvalue";s:4:"desc";}i:5;a:2:{s:6:"cfgkey";s:23:"EXPECTED_PRODUCTS_FIELD";s:8:"cfgvalue";s:13:"date_expected";}i:6;a:2:{s:6:"cfgkey";s:29:"USE_DEFAULT_LANGUAGE_CURRENCY";s:8:"cfgvalue";s:5:"false";}i:7;a:2:{s:6:"cfgkey";s:25:"LANGUAGE_DEFAULT_SELECTOR";s:8:"cfgvalue";s:7:"Default";}i:8;a:2:{s:6:"cfgkey";s:27:"SEARCH_ENGINE_FRIENDLY_URLS";s:8:"cfgvalue";s:5:"false";}i:9;a:2:{s:6:"cfgkey";s:12:"DISPLAY_CART";s:8:"cfgvalue";s:4:"true";}i:10;a:2:{s:6:"cfgkey";s:32:"ADVANCED_SEARCH_DEFAULT_OPERATOR";s:8:"cfgvalue";s:3:"and";}i:11;a:2:

网址:http://www.kanpouten.com/store/


------解决方案--------------------
PHP code

说的很清楚了,在session_start()之前,页面已经有输出
headers already sent (output started at /home/yongc/public_html/store/includes/classes/class.smtp.php:2039)
你看看class.smtp.php 2039行,是什么代码

------解决方案--------------------
http://www.zen-cart.cn/forum/topic83944.html