PHP warning getimagesize(http://img.youtube.com/vi/qE2uDcU5VTo/0.jpg): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found /home/uwvcrt1r/domains/bacci.com/public_html/protected/views/site/tags/videohub.php(126) 114 </div> 115 116 117 <br /> 118 119 <div id="results" data-ajax="<?php echo Yii::app()->createAbsoluteUrl('ajax/tags'); ?>" data-ajax-search="<?php echo Yii::app()->createAbsoluteUrl('ajax/search'); ?>"> 120 <?php 121 $i = 0; 122 foreach ($video as $value): $i++; 123 ?> 124 <?php if ($i == 1) echo '<div class="row">'; ?> 125 <div class="col-sm-3" data-codice="<?php echo $value->codice; ?>"> 126 <?php $size = getimagesize('http://img.youtube.com/vi/' . $value->codice . '/0.jpg'); ?> 127 <div style="position: relative;"> 128 <img src="http://img.youtube.com/vi/<?php echo $value->codice; ?>/0.jpg" class="img-responsive" width="<?php echo $size[0]; ?>" height="<?php echo $size[1]; ?>" /> 129 <img src="/assets/images/play-button.png" style="position: absolute; left: 50%; top: 50%; z-index: 2; margin-left: -40px; margin-top: -40px;" width="80" height="80" /> 130 </div> 131 132 <br /> 133 <p><?php echo $value->durata; ?></p> 134 <p><?php 135 //if($this->lingua=="it") 136 echo $value->titolo; 137 /*else 138 echo $value->titolo_en;//http://baccicms.greenbubbleweb.it/green-cms/index.php?r=canale_you_tube/update&id=82*/ Stack Trace #0 – /home/uwvcrt1r/domains/bacci.com/public_html/protected/views/site/tags/videohub.php(126): getimagesize("http://img.youtube.com/vi/qE2uDcU5VTo/0.jpg") 121 $i = 0; 122 foreach ($video as $value): $i++; 123 ?> 124 <?php if ($i == 1) echo '<div class="row">'; ?> 125 <div class="col-sm-3" data-codice="<?php echo $value->codice; ?>"> 126 <?php $size = getimagesize('http://img.youtube.com/vi/' . $value->codice . '/0.jpg'); ?> 127 <div style="position: relative;"> 128 <img src="http://img.youtube.com/vi/<?php echo $value->codice; ?>/0.jpg" class="img-responsive" width="<?php echo $size[0]; ?>" height="<?php echo $size[1]; ?>" /> 129 <img src="/assets/images/play-button.png" style="position: absolute; left: 50%; top: 50%; z-index: 2; margin-left: -40px; margin-top: -40px;" width="80" height="80" /> 130 </div> 131 #1 + /home/uwvcrt1r/domains/bacci.com/public_html/framework/web/CBaseController.php(126): require("/home/uwvcrt1r/domains/bacci.com/public_html/protected/views/sit...") #2 + /home/uwvcrt1r/domains/bacci.com/public_html/framework/web/CBaseController.php(95): CBaseController->renderInternal("/home/uwvcrt1r/domains/bacci.com/public_html/protected/views/sit...", array("video" => array(Canale_you_tube, Canale_you_tube, Canale_you_tube, Canale_you_tube, ...)), true) #3 + /home/uwvcrt1r/domains/bacci.com/public_html/framework/web/CController.php(869): CBaseController->renderFile("/home/uwvcrt1r/domains/bacci.com/public_html/protected/views/sit...", array("video" => array(Canale_you_tube, Canale_you_tube, Canale_you_tube, Canale_you_tube, ...)), true) #4 – /home/uwvcrt1r/domains/bacci.com/public_html/protected/controllers/SiteController.php(453): CController->renderPartial("tags/videohub", array("video" => array(Canale_you_tube, Canale_you_tube, Canale_you_tube, Canale_you_tube, ...)), true) 448 //$criteria->order = 'data_creazione DESC'; 449 $criteria->order = 'ordine ASC'; 450 $video = Canale_you_tube::model()->findAll($criteria); 451 //$video = array_slice($video, 0, 16); 452 453 $rest = $this->renderPartial('tags/' . $layout, array('video'=>$video), true); 454 break; 455 case "referenze": 456 $titolo = Pagine::model()->findByPk($this->pagina->idp)->{$this->lingua.'_titolo'}; 457 $descrizione = Pagine::model()->findByPk($this->pagina->idp)->{$this->lingua.'_contenuto'}; 458 $loghi = array(); #5 – /home/uwvcrt1r/domains/bacci.com/public_html/protected/controllers/SiteController.php(133): SiteController->setLayout("videohub") 128 echo CJSON::encode($rest); // '{"url":"bind","pagetitle":"Bind - AJAX SEO","title":"Bind","content":"<h1>Bind event</h1>\n<p>Bind on Ajax loaded <a class=js-as href=test/nested.html>content</a> with class=js-as.</p>\n"}'; 129 } else { 130 // Avoid XSS attacks with Content Security Policy (CSP) https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification.dev.html 131 header("Content-Security-Policy: script-src 'self' 'unsafe-inline' 'unsafe-eval' http://www.google-analytics.com https://*.googleapis.com https://*.gstatic.com http://cookie.greenbubbleweb.it"); 132 133 $rest['content'] = $this->setLayout($this->pagina->layout); 134 135 136 137 $criteria = new CDbCriteria(); 138 $criteria->condition = 'idp != 1169'; #6 unknown(0): SiteController->actionIndex("it", "f/video-hub") #7 + /home/uwvcrt1r/domains/bacci.com/public_html/framework/web/actions/CAction.php(108): ReflectionMethod->invokeArgs(SiteController, array("it", "f/video-hub")) #8 + /home/uwvcrt1r/domains/bacci.com/public_html/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(SiteController, ReflectionMethod, array("lingua" => "it", "path" => "f/video-hub")) #9 + /home/uwvcrt1r/domains/bacci.com/public_html/framework/web/CController.php(308): CInlineAction->runWithParams(array("lingua" => "it", "path" => "f/video-hub")) #10 + /home/uwvcrt1r/domains/bacci.com/public_html/framework/web/CController.php(286): CController->runAction(CInlineAction) #11 + /home/uwvcrt1r/domains/bacci.com/public_html/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, array()) #12 + /home/uwvcrt1r/domains/bacci.com/public_html/framework/web/CWebApplication.php(282): CController->run("index") #13 + /home/uwvcrt1r/domains/bacci.com/public_html/framework/web/CWebApplication.php(141): CWebApplication->runController("site/index") #14 + /home/uwvcrt1r/domains/bacci.com/public_html/framework/base/CApplication.php(180): CWebApplication->processRequest() #15 + /home/uwvcrt1r/domains/bacci.com/public_html/index.php(13): CApplication->run() 2021-11-27 06:56:22 Apache/2 Yii Framework/1.1.14