CException

Property "PgController.jrnl" is not defined.

/var/www/vhosts/znuweb/protected/controllers/PgController.php(387)

375     $jr2 = strstr($ad, '.', true); // As of PHP 5.3.0
376                   $fullURL='http://'.$jr2.'.znu.ac.ir';
377                   $sub=1;
378 }
379         $qjrnl = Journals::model()->findByAttributes(array('url' => $jr2, 'fullURL'=>$fullURL));
380          if ($qjrnl!=NULL)
381                  { 
382         $qjrnltm = Themes::model()->findByAttributes(array('id' => $qjrnl->tmid ,'active' => '1'));
383                     $id2= $qjrnl->Id;
384                  
385                  $jrnl=$jr2;
386 //MMMMMMMMM     jrnl faghat dar layout baraye tashkhise url lazem bood baraye ersal be layout e blank bala jrnl ra public tarif karadm inja meghdar dadfam va dar layout ham ba $jrnl=$this->jrnl; estefade kardam          
387 $this->jrnl = $jrnl;
388 $this->qjrnl = $qjrnl;
389 $this->qjrnltm = $qjrnltm;
390 $this->id2 = $id2;
391 $this->sub = $sub;
392 $this->fullURL = $fullURL;
393 //MMMMMMMMmm
394         } 
395          
396 /*         
397      if ($ad=='znu.ac.ir' OR $ad=='www.znu.ir' OR $ad=='znu.ir' OR $ad=='newweb.znu.ac.ir' OR $ad=='www.znu.ac.ir')
398         {
399            $ad2= $_SERVER['PHP_SELF'];

Stack Trace

#0
+
 /var/www/vhosts/znuweb/protected/controllers/PgController.php(387): CComponent->__set("jrnl", "research")
382         $qjrnltm = Themes::model()->findByAttributes(array('id' => $qjrnl->tmid ,'active' => '1'));
383                     $id2= $qjrnl->Id;
384                  
385                  $jrnl=$jr2;
386 //MMMMMMMMM     jrnl faghat dar layout baraye tashkhise url lazem bood baraye ersal be layout e blank bala jrnl ra public tarif karadm inja meghdar dadfam va dar layout ham ba $jrnl=$this->jrnl; estefade kardam          
387 $this->jrnl = $jrnl;
388 $this->qjrnl = $qjrnl;
389 $this->qjrnltm = $qjrnltm;
390 $this->id2 = $id2;
391 $this->sub = $sub;
392 $this->fullURL = $fullURL;
#1
+
 /var/www/vhosts/znuweb/protected/controllers/PgController.php(83): PgController->loadJournalName()
78     $jrnl = 'news'; // As of PHP 5.3.0
79             $qjrnl = Journals::model()->findByAttributes(array('url' => $jrnl));
80 */            
81             
82             
83             $jrnl=$this->loadJournalName();
84 
85 
86  $qjrnl=$this->qjrnl;
87  $qjrnltm=$this->qjrnltm;
88  $id2=$this->id2;
#7
+
 /var/www/vhosts/znuweb/protected/controllers/PgController.php(46): CFilterChain->run()
41           }
42 }              
43           Yii::app()->language = Yii::app()->request->cookies['lang']->value;
44 
45 
46         $filterChain->run();
47     }
48     
49       public function accessRules()
50     {
51         return array(
2025-02-07 15:40:59 Apache Yii Framework/1.1.14