2017-11-10 103 views
0

錯誤消息超時:連接在simple_html_dom.php

PHP警告: 的file_get_contents(https://search.rakuten.co.jp/search/mall/%E3%81%B5%E3%82%8B%E3%81%95%E3%81%A8%E7%B4%8D%E7%A8%8E/): 未能打開流:連接在/root/apps/kpi_tool_poc/simple_html_dom.php超時上線76, Referer:http://test-dash.local/kpi_tool_poc/new_trend_word.php

+0

固定格式,使其更具可讀性,請添加更多的細節,並顯示你已經嘗試過。 – swa66

+0

錯誤實際上很明顯:打開遠程資源時,(TCP)連接超時。需要嘗試的是查看是否可以從另一臺機器(例如使用瀏覽器)和目標機器獲取資源(例如,使用unix計算機上的curl或wget或Windows盒子可能使用的任何方法) – swa66

回答

0

錯誤消息告訴您沒有找到想要打開的文件。嘗試創建一個如果與file_get_contents然後處理文件