PHP warning

file_get_contents(http://qandme.net/wordpress/ベトナムec市場の現状について): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found

/var/www/qandme.net/protected/controllers/HomeController.php(538)

526         }
527 
528         //$postId        = $_GET['column'];
529         //$link        = 'http://'.$_SERVER['SERVER_NAME'].'/wordpress/?p='. $postId .'&lang='. $language;
530 
531         if (!isset($_GET['title'])) {
532              $this->redirect(array('column'));
533         }
534 
535         $title    = $_GET['title'];
536         $link    = 'http://'.$_SERVER['SERVER_NAME'].'/wordpress/'.$title;
537 
538         $json        = file_get_contents(html_entity_decode($link));
539         $arrJson    = json_decode($json);
540 
541         $adata['title']            = $arrJson->title;
542         $adata['decription']    = $arrJson->title.$suffixDecription.$arrJson->decription;
543         $adata['keyword']        = $prefixKeyword.$arrJson->keyword;
544         $adata['content']        = $arrJson->content;
545         $adata['postid']        = $arrJson->postid;
546 
547         $this->render('columnsingle', $adata);
548     }
549 
550     public function actionChangeLanguage() {

Stack Trace

#0
+
 /var/www/qandme.net/protected/controllers/HomeController.php(538): file_get_contents()
533         }
534 
535         $title    = $_GET['title'];
536         $link    = 'http://'.$_SERVER['SERVER_NAME'].'/wordpress/'.$title;
537 
538         $json        = file_get_contents(html_entity_decode($link));
539         $arrJson    = json_decode($json);
540 
541         $adata['title']            = $arrJson->title;
542         $adata['decription']    = $arrJson->title.$suffixDecription.$arrJson->decription;
543         $adata['keyword']        = $prefixKeyword.$arrJson->keyword;
#8
+
 /var/www/qandme.net/index.php(17): CApplication->run()
12 // remove the following line when in production mode
13 defined('YII_DEBUG') or define('YII_DEBUG',true);
14 
15 require_once($yii);
16 
17 Yii::createWebApplication($config)->run();
2024-03-28 16:23:23 nginx/1.18.0 Yii Framework/1.1.15