PHP solr message ''0'
2018-04-25 本文已影响62人
9682f4e55d71
最近由于研究PHP,
由于将allow_url_fopen = On
修改成了allow_url_fopen = Off
导致出现下面的错误,
恢复成 On 问题解决
2018/04/25 15:57:10 [error] 14392#14392: *35 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught exception 'Apache_Solr_HttpTransportException' with message ''0' Status: Communication Error' in /data/deploy_server/repos/zencart/website_release/includes/classes/phpSolrClient/Service.php:368
Stack trace:
#0 /data/deploy_server/repos/zencart/website_release/includes/classes/phpSolrClient/Service.php(1305): Apache_Solr_Service->_sendRawGet('http://192.168....')
#1 /data/deploy_server/repos/zencart/website_release/includes/classes/sl_search.php(518): Apache_Solr_Service->search(' product_status...', 0, 56, Array)
#2 /data/deploy_server/repos/zencart/website_release/includes/classes/sl_search.php(218): Sl_Search->solrAdvancedSearch(Array, 'AND')
#3 /data/deploy_server/repos/zencart/website_release/includes/modules/pages/products_all/header_php.php(19): Sl_Search->AdvancedSearch()
#4 /data/deploy_server/repos/zencart/website_release/index.php(44): require('/data/deploy_se...')
#5 /home/ssd/www/zencart/website/version_entry.inc.php(188): include('/data/deploy_se...')
#" while reading response header from upstream, client: 192.168.1.58, server: www.poplaser.com, request: "GET /products_all.html HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "www.poplaser.com"