Compartir en: Facebook Twitter

Este anuncio no existe.

PHP Error

PHP Error

Undefined variable: primerafoto

/home/aviso21/public_html/themes/classified/views/Ads/ad/view_details.php(713)

701     </script> 
702     <script type="text/javascript">
703   (function() {
704     var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
705     po.src = 'https://apis.google.com/js/plusone.js';
706     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
707   })();
708 </script>  
709 <?php else : ?>
710     <p><?php echo Language::t(Yii::app()->language,'Frontend.Ads.Message','Sorry! This ad does not exist.'); ?></p>
711 <?php endif; ?>
712 <?php 
713  cs()->registerMetaTag(Yii::app()->request->getBaseUrl(TRUE).'/image.php?thumb='.FlexImage::createThumbFilename($primerafoto,180,180),null,null,array('property'=>'og:image'));
714   ?>
715 
716   <?php endif; ?>
717 

Stack Trace

#0
+
 /home/aviso21/public_html/themes/classified/views/Ads/ad/view_details.php(713): CApplication->handleError(8, "Undefined variable: primerafoto", "/home/aviso21/public_html/themes/classified/views/Ads/ad/view_de...", 713, ...)
708 </script>  
709 <?php else : ?>
710     <p><?php echo Language::t(Yii::app()->language,'Frontend.Ads.Message','Sorry! This ad does not exist.'); ?></p>
711 <?php endif; ?>
712 <?php 
713  cs()->registerMetaTag(Yii::app()->request->getBaseUrl(TRUE).'/image.php?thumb='.FlexImage::createThumbFilename($primerafoto,180,180),null,null,array('property'=>'og:image'));
714   ?>
715 
716   <?php endif; ?>
717 
#3
+
 /home/aviso21/public_html/protected/modules/Core/extensions/web/FController.php(101): CBaseController->renderFile("/home/aviso21/public_html/themes/classified/views/Ads/ad/view_de...", array("model" => null, "adCat" => null), true)
096     
097     public function renderFile($viewFile,$data=null,$return=false)
098     {
099         //Track the current view file so the InlineViewWidget knows which view it belong to
100         $this->CurrentViewFile = $viewFile;
101         return parent::renderFile($viewFile, $data, $return);
102     }    
103 
104     /**
105     * Get message of current page and also previous page
106     * 
#6
+
 /home/aviso21/public_html/protected/modules/Ads/controllers/AdController.php(306): CController->render("view_details", array("model" => null, "adCat" => null))
301             {
302                 $this->adTitle .= ' - '.$model->area;
303                 $this->descriptionMetaTagContent .= ' '.$model->area;
304             }        
305         }
306         $this->render('view_details', array('model'=>$model,'adCat'=>$adCat));  
307     }
308     
309     public function actionSelectCategory()
310     {
311         $this->pageTitle = Settings::SITE_NAME.' - '.Language::t(Yii::app()->language,'Frontend.Common.Layout','Select a category');
2018-09-22 14:32:22 Apache Yii Framework/1.1.7