无法修改标头信息 - 已经发送的标头(输出开始于

时间:2017-02-27 11:34:57

标签: php codeigniter

  

严重性:警告

     

消息:无法修改标头信息 - 已发送的标头   (输出始于   /home/aoiwb/public_html/annualconference/system/core/Exceptions.php:271)

     

文件名:controllers / Registration.php

     

行号:135

     

回溯:

     

文件:   /home/aoiwb/public_html/annualconference/application/controllers/Registration.php   行:135功能:标题

     

文件:/home/aoiwb/public_html/annualconference/index.php行:315   功能:require_once

我的代码是..

            $url = $xmlObjArray['url'];
            $postFields = "";
            $postFields .= "&ttype=" . $_POST['TType'];
            $postFields .= "&tempTxnId=" . $xmlObjArray['tempTxnId'];
            $postFields .= "&token=" . $xmlObjArray['token'];
            $postFields .= "&txnStage=1";
            $url = $payment->url . "?" . $postFields;
            $this->writeLog($url . "\n");
            header("Location:". $url);

1 个答案:

答案 0 :(得分:0)

在致电var res1 = filterQuery.Where(x => x.SessionId == searchSessionId).Tolist(); var res2 = filterQuery.Where(x => something).take(4).Tolist(); var res3 = res1.Union(res2);

之前,您已向浏览器发送了一些html