array(10) { ["www.yousheng8.com"]=> object(Verify_ysb)#11 (11) { ["address":"Verify_ysb":private]=> string(13) "220.243.235.3" ["uri":"Verify_ysb":private]=> string(24) "/yousheng/26100/101.html" ["root":"Verify_ysb":private]=> string(20) "D:/wwwroot/yousheng8" ["referer":"Verify_ysb":private]=> NULL ["host":"Verify_ysb":private]=> string(17) "www.yousheng8.com" ["script":"Verify_ysb":private]=> string(10) "/index.php" ["query":"Verify_ysb":private]=> string(29) "r=novel/play&id=26100&pid=101" ["method":"Verify_ysb":private]=> string(3) "GET" ["isSafe":"Verify_ysb":private]=> bool(false) ["without":"Verify_ysb":private]=> array(3) { [0]=> string(14) "^\/index\.php$" [1]=> string(22) "^\/indexzhuomian\.php$" [2]=> string(22) "^\/player\/index\.php$" } ["withadmin":"Verify_ysb":private]=> array(0) { } } ["lol.xingli.com"]=> object(Verify_xixi)#12 (11) { ["address":"Verify_xixi":private]=> string(13) "220.243.235.3" ["uri":"Verify_xixi":private]=> string(24) "/yousheng/26100/101.html" ["root":"Verify_xixi":private]=> string(20) "D:/wwwroot/yousheng8" ["referer":"Verify_xixi":private]=> NULL ["host":"Verify_xixi":private]=> string(17) "www.yousheng8.com" ["script":"Verify_xixi":private]=> string(10) "/index.php" ["query":"Verify_xixi":private]=> string(29) "r=novel/play&id=26100&pid=101" ["method":"Verify_xixi":private]=> string(3) "GET" ["isSafe":"Verify_xixi":private]=> bool(false) ["without":"Verify_xixi":private]=> array(5) { [0]=> string(41) "^\/e\/search\/(index|result\/index)\.php$" [1]=> string(22) "^\/e\/config\/js\.php$" [2]=> string(34) "^\/e\/public\/onclick\/index\.php$" [3]=> string(22) "^\/e\/tmp\/alive\.php$" [4]=> string(20) "^\/testpay\/.*\.php$" } ["withadmin":"Verify_xixi":private]=> array(1) { [0]=> string(14) "^\/e\/.*\.php$" } } ["www.beilunse.com"]=> object(Verify_bls)#13 (12) { ["address":"Verify_bls":private]=> string(13) "220.243.235.3" ["uri":"Verify_bls":private]=> string(24) "/yousheng/26100/101.html" ["root":"Verify_bls":private]=> string(20) "D:/wwwroot/yousheng8" ["referer":"Verify_bls":private]=> NULL ["host":"Verify_bls":private]=> string(17) "www.yousheng8.com" ["script":"Verify_bls":private]=> string(10) "/index.php" ["query":"Verify_bls":private]=> string(29) "r=novel/play&id=26100&pid=101" ["method":"Verify_bls":private]=> string(3) "GET" ["isSafe":"Verify_bls":private]=> bool(false) ["without":"Verify_bls":private]=> array(6) { [0]=> string(14) "^\/index\.php$" [1]=> string(12) "^\/tag\.php$" [2]=> string(18) "^\/digg_ajax\.php$" [3]=> string(13) "^\/list\.php$" [4]=> string(11) "^\/so\.php$" [5]=> string(16) "^\/baoming\.php$" } ["withadmin":"Verify_bls":private]=> array(1) { [0]=> string(18) "^\/blszx\/.*\.php$" } ["datadir":"Verify_bls":private]=> string(21) "D:/data/beilunse/data" } ["doudou.xingli.com"]=> object(Verify_any)#14 (9) { ["address":"Verify_any":private]=> string(13) "220.243.235.3" ["uri":"Verify_any":private]=> string(24) "/yousheng/26100/101.html" ["root":"Verify_any":private]=> string(20) "D:/wwwroot/yousheng8" ["referer":"Verify_any":private]=> NULL ["host":"Verify_any":private]=> string(17) "www.yousheng8.com" ["script":"Verify_any":private]=> string(10) "/index.php" ["query":"Verify_any":private]=> string(29) "r=novel/play&id=26100&pid=101" ["method":"Verify_any":private]=> string(3) "GET" ["isSafe":"Verify_any":private]=> bool(false) } ["doudouadmin.xingli.com"]=> object(Verify_any)#15 (9) { ["address":"Verify_any":private]=> string(13) "220.243.235.3" ["uri":"Verify_any":private PHP warning

PHP warning

Cannot modify header information - headers already sent by (output started at D:\server\php5\db\safe.php:34)

D:\wwwroot\yousheng8\protected\controllers\NovelController.php(71)

59     }
60 
61     public function actionpopularity() {
62         $this->popularity_calculate('Ys_Main');
63     }
64 
65     public function actionplay() {
66         $_REQUEST['id'] = intval($this->_gets->getParam('id'));
67         $pid = intval($this->_gets->getParam('pid'));
68         $this->checkDate($_REQUEST['id'], 1, 'Ys_Main', $pid);
69 
70         $content = $this->_dataOne('Ys_Main', array('t.id' => array('eq', intval($_REQUEST['id']))), 0, 1, 1);
71         header("Cache-Control: max-age=43200");
72         header( 'Last-Modified: ' . gmdate('D, d M Y H:i:s', strtotime($content['retime'])).' GMT');
73         if(isset($_SERVER['HTTP_IF_MODIFIED_SINCE']) && strtotime($_SERVER['HTTP_IF_MODIFIED_SINCE']) >= $content['retime']){
74             header("HTTP/1.1 304 Not Modified"); 
75             exit(0);
76         }
77 
78         $this->addNovelHistory();
79 
80         $tong = array('click'=>0, 'mon_click'=>0, 'week_click'=>0, 'cang'=>0, 'mon_cang'=>0, 'week_cang'=>0, 'score'=>0, 'pingren'=>0);
81         $remenzhang = array();
82         // 单个统计
83         $datatong = Ys_tongji::model()->find('tableid=:tableid and contentid=:contentid and playid=:playid', array(':tableid'=>1, ':contentid'=>intval($_REQUEST['id']), ':playid'=>$pid));

Stack Trace

#0
+
 D:\wwwroot\yousheng8\protected\controllers\NovelController.php(71): header("Cache-Control: max-age=43200")
66         $_REQUEST['id'] = intval($this->_gets->getParam('id'));
67         $pid = intval($this->_gets->getParam('pid'));
68         $this->checkDate($_REQUEST['id'], 1, 'Ys_Main', $pid);
69 
70         $content = $this->_dataOne('Ys_Main', array('t.id' => array('eq', intval($_REQUEST['id']))), 0, 1, 1);
71         header("Cache-Control: max-age=43200");
72         header( 'Last-Modified: ' . gmdate('D, d M Y H:i:s', strtotime($content['retime'])).' GMT');
73         if(isset($_SERVER['HTTP_IF_MODIFIED_SINCE']) && strtotime($_SERVER['HTTP_IF_MODIFIED_SINCE']) >= $content['retime']){
74             header("HTTP/1.1 304 Not Modified"); 
75             exit(0);
76         }
#8
+
 D:\wwwroot\yousheng8\index.php(13): CApplication->run()
08 $framework = dirname(__FILE__) . DS. 'framework'.DS.'yiilite.php';
09 $config = WWWPATH . DS .'protected'.DS.'config'.DS.'main.php';
10 defined('YII_DEBUG') or define('YII_DEBUG',true);
11 require_once ($framework);
12 
13 Yii::createWebApplication($config)->run();
2017-06-28 22:24:20 nginx/1.8.0 Yii Framework/1.1.14