PHP Error

file_get_contents(https://legacy.lomastravel.com/hoteles/destinations): failed to open stream: Connection timed out

/opt/bitnami/apps/legacy.lomastravel.com/htdocs/inc/views/layouts/main.php(750)

738 <?php if (stripos($_SERVER['HTTP_USER_AGENT'],"Insights") === false) { ?>
739 
740 
741 <!-- This code must be installed within the body tags -->
742 <script type="text/javascript">
743 var lhnAccountN = "20895-1";
744 var lhnButtonN = 5798;
745 var lhnChatPosition = 'bottomright';
746 var lhnInviteEnabled = 38771;
747 var lhnWindowN = 23005;
748 var lhnDepartmentN = 23227;
749 
750 var HotelsData=<?=file_get_contents("https://legacy.lomastravel.com/hoteles/destinations", 0, $ctx); ?>;
751 var ToursData=<?= file_get_contents("https://legacy.lomastravel.com/tours/destinations", 0, $ctx); ?>;
752 var TourSaliendo=<?= file_get_contents("https://legacy.lomastravel.com/tours/saliendo", 0, $ctx); ?>;
753 
754 
755 </script>
756 <a <?=((Yii::app()->controller->id=="site" && Yii::app()->controller->action->id=="index") ? '' : 'rel="nofollow"'); ?> href="http://www.livehelpnow.net/products/live-chat-system" target="_blank" style="font-size:10px;" id="lhnHelp" alt="Chat Online">Live Chat Support  Software</a>
757 <script type="text/javascript"  src="//www.livehelpnow.net/lhn/widgets/chatbutton/lhnchatbutton-current.min.js" id="lhnscript"></script>
758 <?php } ?>
759 <!-- JS -->
760 <!--
761 lomasjs-en.min.js
762 suscripcion.js

Stack Trace

#0
+
 /opt/bitnami/apps/legacy.lomastravel.com/htdocs/inc/views/layouts/main.php(750): file_get_contents("https://legacy.lomastravel.com/hoteles/destinations", false, resource)
745 var lhnChatPosition = 'bottomright';
746 var lhnInviteEnabled = 38771;
747 var lhnWindowN = 23005;
748 var lhnDepartmentN = 23227;
749 
750 var HotelsData=<?=file_get_contents("https://legacy.lomastravel.com/hoteles/destinations", 0, $ctx); ?>;
751 var ToursData=<?= file_get_contents("https://legacy.lomastravel.com/tours/destinations", 0, $ctx); ?>;
752 var TourSaliendo=<?= file_get_contents("https://legacy.lomastravel.com/tours/saliendo", 0, $ctx); ?>;
753 
754 
755 </script>
#4
+
 /opt/bitnami/apps/legacy.lomastravel.com/htdocs/inc/controllers/ToursController.php(39): CController->render()
34             "_Banners"         => $_Banners,
35             "_masBuscados"     => $_masBuscados,
36             "_destinos"     => $_destinos, 
37             "_categorias"   => $_categorias, 
38             )
39         );
40     }
41 
42     public function actionBuscar()
43     {
44         $_act = new Activities();
#12
+
 /opt/bitnami/apps/legacy.lomastravel.com/htdocs/index.php(25): CApplication->run()
20     require_once($Yii);
21     ini_set("output_buffering",0);
22     ini_set("output_handler",null);
23     ini_set("implicit_flush",0);
24         
25     Yii::createWebApplication($Config)->run();
26         
27     /*
28     Yii::app()->onEndRequest = function($event){
29         return ob_end_flush();
30     };
2024-03-29 00:32:07 Apache Yii Framework/1.1.8