PHP notice

Undefined variable: headerurl1

/var/www/vhosts/znuweb/protected/views/pg/view.php(21)

09             $qjrnltm = Themes::model()->findByAttributes(array('id' => $qjrnl->tmid ));
10             $headerurl1=$qjrnltm->theme_address;
11             $headerurl2=$qjrnltm->name;
12         */    
13 ?>
14 <!DOCTYPE html>
15 <html dir="rtl" lang="en-US"><head><!-- 4.0.0.58475 -->
16     <meta charset="utf-8">
17     <title>پایگاه خبری دانشگاه زنجان</title>
18     <meta name="viewport" content="initial-scale = 1.0, maximum-scale = 1.0, user-scalable = no, width = device-width">
19 
20     <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
21     <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/themes/<?php echo $headerurl1?>/<?php echo $headerurl2?>/blank/style_fa.css" media="screen">
22     <!--[if lte IE 7]><link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/themes/<?php echo $headerurl1?>/<?php echo $headerurl2?>/blank/style.ie7_fa.css" media="screen" /><![endif]-->
23     <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/themes/<?php echo $headerurl1?>/<?php echo $headerurl2?>/blank/style.responsive_fa.css" media="all">
24 
25 
26     <script src="<?php echo Yii::app()->request->baseUrl; ?>/css/themes/<?php echo $headerurl1?>/<?php echo $headerurl2?>/blank/jquery_fa.js"></script>
27     <script src="<?php echo Yii::app()->request->baseUrl; ?>/css/themes/<?php echo $headerurl1?>/<?php echo $headerurl2?>/blank/script_fa.js"></script>
28     <script src="<?php echo Yii::app()->request->baseUrl; ?>/css/themes/<?php echo $headerurl1?>/<?php echo $headerurl2?>/blank/script.responsive_fa.js"></script>
29 <meta name="description" content="Description">
30 <meta name="keywords" content="Keywords">
31 
32 
33 <style>.art-content .art-postcontent-0 .layout-item-0 { padding-right: 5px;padding-left: 5px;  }

Stack Trace

#4
+
 /var/www/vhosts/znuweb/protected/controllers/PgController.php(169): CController->render("view", array("model" => NewsContent, "t" => null, "newsyear" => "news_content"))
164           $model->saveCounters(array('counter'=>1));
165           $model->save();
166 
167         $this->render('view',array(
168             'model'=>$model,'t'=>$t, 'newsyear'=>$newsyear
169         ));
170         }
171         else
172             throw new CHttpException(404,'The requested page does not exist.');
173         //return $model;
174     
#18
+
 /var/www/vhosts/znuweb/index.php(13): CApplication->run()
08 defined('YII_DEBUG') or define('YII_DEBUG',true);
09 // specify how many levels of call stack should be shown in each log message
10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
11 
12 require_once($yii);
13 Yii::createWebApplication($config)->run();
2025-02-07 16:31:15 Apache Yii Framework/1.1.14