PHP Error

file_get_contents(http://es.lumaale.com/hoteles/destinations): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error

/home/auto531/new/es/inc/views/layouts/redisenio.php(56)

44         <![endif]-->
45 
46 
47         <script src="/js/base2.js"></script>
48         <script src="/js/redisenio.js"></script>
49         
50         <script type="text/javascript">
51             var urlFlightsXML = "<?= Yii::app()->createUrl("vuelos/destinations"); ?>";
52             var urlFlightsHotelsXML = "<?= Yii::app()->createUrl("paquetes/destinations"); ?>";
53             var urlTransfersXML = "<?= Yii::app()->createUrl("traslados/destinations"); ?>";
54             var dateFormat = "<?= ((Yii::app()->language == "es") ? "dd/mm/yy" : "mm/dd/yy"); ?>";
55 
56             var HotelsData = <?= file_get_contents("http://" . $_SERVER["SERVER_NAME"] . "/hoteles/destinations"); ?>;
57             var ToursData = <?= file_get_contents("http://" . $_SERVER["SERVER_NAME"] . "/tours/destinations"); ?>;
58             var urlTourssXML = "<?= Yii::app()->createUrl("tours/destinations"); ?>";
59         </script>
60 
61 
62         
63 
64 <!-- Facebook Pixel Code -->
65 <!--<script>
66 !function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
67 n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
68 n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;

Stack Trace

#0
+
 /home/auto531/new/es/inc/views/layouts/redisenio.php(56): file_get_contents("http://es.lumaale.com/hoteles/destinations")
51             var urlFlightsXML = "<?= Yii::app()->createUrl("vuelos/destinations"); ?>";
52             var urlFlightsHotelsXML = "<?= Yii::app()->createUrl("paquetes/destinations"); ?>";
53             var urlTransfersXML = "<?= Yii::app()->createUrl("traslados/destinations"); ?>";
54             var dateFormat = "<?= ((Yii::app()->language == "es") ? "dd/mm/yy" : "mm/dd/yy"); ?>";
55 
56             var HotelsData = <?= file_get_contents("http://" . $_SERVER["SERVER_NAME"] . "/hoteles/destinations"); ?>;
57             var ToursData = <?= file_get_contents("http://" . $_SERVER["SERVER_NAME"] . "/tours/destinations"); ?>;
58             var urlTourssXML = "<?= Yii::app()->createUrl("tours/destinations"); ?>";
59         </script>
60 
61 
#4
+
 /home/auto531/new/es/inc/controllers/SiteController.php(14): CController->render("index_redisenio")
09             $this->pageKeywords = "tours en cancun,tours en cancun economicos,tours en playa del carmen,tours en riviera maya,tours en cancun,atracciones en cancun,excursiones a cancun todo incluido,tours para grupos xcaret plus,xcaret tours,tours en tulum,que hacer en cancun,xelha tours";
10 
11             //$this->layout = 'lumale';
12             //$this->render("test");
13             $this->layout = 'redisenio';
14             $this->render("index_redisenio");
15         }
16         
17         public function actionnotfound(){
18 19 
#12
+
 /home/auto531/new/es/index.php(80): CApplication->run()
75     $Config = dirname(__FILE__) . "/inc/config/Main.php";
76     
77     defined("YII_DEBUG") or define("YII_DEBUG",true);
78     
79     require_once($Yii);
80     Yii::createWebApplication($Config)->run();    
81 ?>
2024-03-19 10:15:54 Apache Yii Framework/1.1.8