CDbException

The table "rsslog" for active record class "Rsslog" cannot be found in the database.

/mnt/volume-fra1-01/www/photonews.ru/framework/yiilite.php(7611)

7599 class CActiveRecordMetaData
7600 {
7601     public $tableSchema;
7602     public $columns;
7603     public $relations=array();
7604     public $attributeDefaults=array();
7605     private $_model;
7606     public function __construct($model)
7607     {
7608         $this->_model=$model;
7609         $tableName=$model->tableName();
7610         if(($table=$model->getDbConnection()->getSchema()->getTable($tableName))===null)
7611             throw new CDbException(Yii::t('yii','The table "{table}" for active record class "{class}" cannot be found in the database.',
7612                 array('{class}'=>get_class($model),'{table}'=>$tableName)));
7613         if($table->primaryKey===null)
7614         {
7615             $table->primaryKey=$model->primaryKey();
7616             if(is_string($table->primaryKey) && isset($table->columns[$table->primaryKey]))
7617                 $table->columns[$table->primaryKey]->isPrimaryKey=true;
7618             else if(is_array($table->primaryKey))
7619             {
7620                 foreach($table->primaryKey as $name)
7621                 {
7622                     if(isset($table->columns[$name]))
7623                         $table->columns[$name]->isPrimaryKey=true;

Stack Trace

#3
+
 /mnt/volume-fra1-01/www/photonews.ru/protected/components/views/rss/index.php(6): CActiveRecord->__construct()
01 <?
02 header('Content-Type: text/xml; charset=utf-8');
03 ?>
04 <?='<?xml version="1.0" encoding="UTF-8"?>'; ?>
05 <?
06 $r= new Rsslog;
07 $r->string= $_SERVER['HTTP_USER_AGENT'];
08 $r->save();
09 ?>
10 
11 <rss version="2.0">    
#7
+
 /mnt/volume-fra1-01/www/photonews.ru/protected/components/Rss.php(98): CWidget->render("rss/index", array("arr" => array(News, Article, Article, Article, ...)))
093             $this->date=array_merge($this->date,$date3);
094            
095            
096             uksort($this->date,array($this, "cmp"));
097             $this->date=array_reverse($this->date);
098             $this->render('rss/index', array('arr' => $this->date));
099             
100             }
101         }
102     }
103     
#10
+
 /mnt/volume-fra1-01/www/photonews.ru/protected/controllers/frontend/NewsController.php(160): CBaseController->widget("Rss", array("config" => array("big" => "News")))
155     $this->widget('Rss', 
156                 array(
157                     'config' => array(
158                         'big' => "News",
159                     ))
160     ); 
161 }
162 public function actionBigRss2() {
163     $this->widget('Rss', 
164                 array(
165                     'config' => array(
2024-03-19 05:33:40 Apache/2.4.18 (Ubuntu) mpm-itk/2.4.7-04 PHP/5.6.30-10+deb.sury.org~xenial+2 OpenSSL/1.0.2g Yii Framework/1.1.8