Heim  >  Artikel  >  Backend-Entwicklung  >  zen cart迁移空间后add to cart空白页解决思路

zen cart迁移空间后add to cart空白页解决思路

WBOY
WBOYOriginal
2016-06-13 13:53:01917Durchsuche

zen cart迁移空间后add to cart空白页
添加到购物车出现空白页,
错误日志:[15-Dec-2011 19:17:08] PHP Warning: session_start() [function.session-start]: 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行,是什么代码
<br><font color="#e78608">------解决方案--------------------</font><br>
http://www.zen-cart.cn/forum/topic83944.html <div class="clear">
                 
              
              
        
            </div>
Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn