PHP notice

Undefined variable: fileUrl

/var/www/vhosts/kcp.kz/httpdocs/protected/views/templates/reports/template.php(134)

122                                                     <div class="modal-download">
123                                                         <div class="modal-head">
124                                                             <h2 class="modal-head-title">
125                                                                 Скачать файл
126                                                             </h2> <button type="button" class="link-close" data-dismiss="modal" aria-label="Close">
127                                                                 <i class="icon icon-close"></i>
128                                                             </button> </div>
129                                                         <div class="modal-body">
130                                                             <div class="modal-file-desc"></div>
131                                                         </div>
132                                                         <div class="modal-footer clearfix modal-btn"> 
133                                                             <a href="#" class="btn-file-download" download>Скачать</a>
134                                                             <a href="<?php echo $fileUrl?>" target="_blank" class="btn-file-download">Просмотр</a>
135                                                             <!--<div class="file"> <span class="pdf-ico"></span> <span class="file-size"></span> </div>-->
136                                                         </div>
137                                                     </div>
138                                                 </div>
139                                             </div>
140 
141                                         </div>
142                     </div>
143                 </div>
144             </div>
145             <?php if(!$isMobile):?>
146             <div class="col-xs-3 offset-xs-1">

Stack Trace

#0
+
 /var/www/vhosts/kcp.kz/httpdocs/protected/views/category.php(10): include("/var/www/vhosts/kcp.kz/httpdocs/protected/views/templates/report...")
05 
06 // подгрузка шаблона
07 include Yii::app()->struct->getTemplatePath(
08     'category',
09     Yii::app()->struct->currentTemplate
10 );
#5
+
 /var/www/vhosts/kcp.kz/httpdocs/protected/extensions/extcore/ExtCoreController.php(215): CController->render("/category", array("category" => StructCategory), false)
210 
211     public function render($view, $data=null, $return=false)
212     {
213         if(Yii::app()->request->isAjaxRequest)
214              return $this->renderPartial($view, $data, $return);
215         else return parent::render($view, $data, $return);
216     }
217     
218 /*
219     public function render($view, $data=null, $return=false)
220     {
#6
+
 /var/www/vhosts/kcp.kz/httpdocs/protected/controllers/FirstChildrenController.php(24): ExtCoreController->render("/category", array("category" => StructCategory))
19             $this->category->alias == 'corporate' or
20             $this->category->alias == 'purchase' or
21             $this->category->alias == 'projects' or
22             sizeof($this->category->children)
23         ) $this->redirect($this->category->children['0']->createUrl());
24         $this->render('/category', array('category' => $this->category));
25     }
26 }
2024-03-28 19:18:40 Apache Yii Framework/1.1.13