Warning: session_start(): open(/var/lib/php/fpm/session/sess_36c97d4c0fcaf05e7d97c2bb481fcc30, O_RDWR) failed: No space left on device (28) in /home/www/an24.org/index.php on line 3

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/fpm/session) in /home/www/an24.org/index.php on line 3
 Жилые комплексы Вверх
/home/www/an24.org/backend/framework/db/ar/CActiveRecord.php: 2385
Таблица "agent_users", упомянутая в записи active record класса "User", не найдена в базе данных. CDbException

CDbException

Таблица "houses", упомянутая в записи active record класса "House", не найдена в базе данных.

/home/www/an24.org/backend/framework/db/ar/CActiveRecord.php(2385)

2373 
2374     /**
2375      * Constructor.
2376      * @param CActiveRecord $model the model instance
2377      * @throws CDbException if specified table for active record class cannot be found in the database
2378      */
2379     public function __construct($model)
2380     {
2381         $this->_modelClassName=get_class($model);
2382 
2383         $tableName=$model->tableName();
2384         if(($table=$model->getDbConnection()->getSchema()->getTable($tableName))===null)
2385             throw new CDbException(Yii::t('yii','The table "{table}" for active record class "{class}" cannot be found in the database.',
2386                 array('{class}'=>$this->_modelClassName,'{table}'=>$tableName)));
2387                 
2388         if(($modelPk=$model->primaryKey())!==null || $table->primaryKey===null)
2389         {
2390             $table->primaryKey=$modelPk;
2391             if(is_string($table->primaryKey) && isset($table->columns[$table->primaryKey]))
2392                 $table->columns[$table->primaryKey]->isPrimaryKey=true;
2393             elseif(is_array($table->primaryKey))
2394             {
2395                 foreach($table->primaryKey as $name)
2396                 {
2397                     if(isset($table->columns[$name]))

Stack Trace

#3
+
 /home/www/an24.org/backend/protected/controllers/HousesController.php(108): CActiveRecord->findByAttributes(array("name_url" => "kolomenskiy"))
103         elseif (isset($GLOBALS['link']['name']))
104             $jkName = $GLOBALS['link']['name'];
105         else
106             $jkName='';
107 
108         $model = House::model()->with('city', 'area', 'childs.images', 'childs.cover')->findByAttributes(['name_url'=>$jkName]);
109         if ($model)
110         {
111             $condition = 't.geo_region = :geo_region';
112             $params=[':geo_region'=>$model->city_id];
113             if (Yii::app()->agent->byUrl->isDeveloper || Yii::app()->agent->byUrl->isContragent) {
#9
+
 /home/www/an24.org/site/templates/default.php(788): CWebApplication->runController("houses/viewJK")
783     {
784         // выполняем экшен(ы)
785         if ($GLOBALS['link']['name'] == 'kompleksy' && !$_GET['jk_name'])
786             Yii::app()->runController('houses/viewJKs');
787         if ($GLOBALS['link']['name'] != 'kompleksy' || $_GET['jk_name'])
788             Yii::app()->runController('houses/viewJK');
789     }
790     elseif ($GLOBALS['link']['name'] == 'pokupka_kvartiryi')
791         include "site/base/modules/buy_nedv/buy.php";
792     elseif ($GLOBALS['link']['name'] == 'orders')
793         include "site/base/modules/buy_nedv/buy.php";
#10
+
 /home/www/an24.org/index.php(69): include("/home/www/an24.org/site/templates/default.php")
64 if (is_numeric($_GET[rid]) AND !isset($_COOKIE[refer]))
65     inc_ref_count($_GET[rid], true);
66 if (is_numeric($_COOKIE[refer]))
67     inc_ref_count($_COOKIE[refer], false);
68     
69 include "site/templates/default.php";
70 
71 
72 
73 
74 
2025-07-17 11:12:21 nginx/1.12.2 Yii Framework/1.1.16