smelikecat

导航

[Chrome_Error] (failed) net::ERR_INCOMPLETE_CHUNKED_ENCODING 与 nginx 502 bad gateway

Chrome 浏览器出现这个错误,还出现 nginx 502 bad gateway .

 

查看 nginx 的 error.log :

 2015/12/18 14:34:44 [error] 1448#0: *26651 readv() failed (104: Connection reset by peer) while reading upstream, client: 192.168.2.112, server: xm.hinabian.com, request: "GET /qa_question.html HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "xm.hinabian.com"

查看 PHP 日志:

[18-Dec-2015 14:35:02 Asia/Chongqing] PHP Strict Standards:  Declaration of Hnb_Model_Qa_Specialists::select() should be compatible with Hnb_Common_Crud::select($tableName, $where = NULL, $order_by = NULL, $limit = NULL) in /data/www/hinabian-test/james/lib/Hnb/Model/Qa/Specialists.php on line 3

只需要将 php的错误修改好,前面的两个粗无就消失不见了。

posted on 2015-12-18 14:41  smelikecat  阅读(1856)  评论(0编辑  收藏  举报