朕的大清完了
这个不是你的查询的问题,你可以将debug 设置为false,原因是发送或者修改 HTTP 头信息的方法必须在任何输出被输出之前被调用
<?php /** * @link http://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license http://www.yiiframework.com/license/ */ namespace yii\web; use yii\base\Exception; /** * HeadersAlreadySentException represents an exception caused by * any headers that were already sent before web response was sent. * * @author Dmitry Dorogin <dmirogin@ya.ru> * @since 2.0.14 */ class HeadersAlreadySentException extends Exception { /** * {@inheritdoc} */ public function __construct($file, $line) { $message = YII_DEBUG ? "Headers already sent in {$file} on line {$line}." : 'Headers already sent.'; parent::__construct($message); } }
学习了,感谢大佬回答
- 朕的大清完了 2018-12-24 已签到连续签到4天,获得了20个金钱
- 朕的大清完了 2018-12-23 已签到连续签到3天,获得了15个金钱
- 朕的大清完了 2018-12-22 已签到连续签到2天,获得了10个金钱
首页相关推荐居然没有yii框架差评
- 朕的大清完了 回答了问题 有ucenter会员接口整合相关经验的大佬吗
好坑,研究了一下午的开发文档,发现搜索的用户数据。居然是本地的数据库。
这有啥用,还不如直接拉取uc数据库的表,自己写个接口,
论坛和第三方 一样共用一个uc 用户库