用支付宝快捷登录,登录成功后返回页面出现错误

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

用支付宝快捷登录,能登录成功但是在登录成功后返回页面出现如下提示:
Warning: Cannot modify header information - headers already sent by (output started at /home/ins******/domains/in****.com/public_html/login/alipaylogin/user_url.php:1) in /home/ins******/domains/in****.com/public_html/includes/init.php on line 166

Warning: Cannot modify header information - headers already sent by (output started at /home/ins******/domains/in****.com/public_html/login/alipaylogin/user_url.php:1) in /home/ins******/domains/in****.com/public_html/includes/init.php on line 167

Warning: Cannot modify header information - headers already sent by (output started at /home/ins******/domains/in****.com/public_html/login/alipaylogin/user_url.php:1) in /home/ins******/domains/in****.com/public_html/includes/cls_template.php on line 58

init.php on line 166167行的代码如下:

  1. header('Cache-control: private');
  2. header('Content-type: text/html; charset='.EC_CHARSET);
复制代码



希望各位高手能帮忙解决下,在下感激不尽
includes/cls_template.php online 58行的代码如下:
  1. header('Content-type: text/html; charset='.$charset);
复制代码


锘匡豢

回答:
有没有人知道

顶上去

看下init.php前面是什么

偶不会顶一下,

先看下你init.php的编码