CDbException

La table « {{survey_879912}} » associée à la classe Active record « SurveyDynamic » est introuvable dans la base de données.

/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/framework/db/ar/CActiveRecord.php(2390)

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

Stack Trace

#2
+
 /home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/helpers/expressions/em_manager_helper.php(5477): CActiveRecord->__construct()
5472                     $sdata['seed'] = $_SESSION[$this->sessid]['startingValues']['seed'];
5473                 }
5474 
5475                 $sdata = array_filter($sdata);
5476                 SurveyDynamic::sid($this->sid);
5477                 $oSurvey = new SurveyDynamic;
5478 
5479                 $iNewID = $oSurvey->insertRecords($sdata);
5480                 if ($iNewID)    // Checked
5481                 {
5482                     $srid = $iNewID;
#3
+
 /home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/helpers/expressions/em_manager_helper.php(5063): LimeExpressionManager->_UpdateValuesInDatabase()
5058                     $LEM->updatedValues[$knownVar['sgqa']]=array(
5059                         'type'=>$knownVar['type'],
5060                         'value'=>$value,
5061                     );
5062                 }
5063                 $LEM->_UpdateValuesInDatabase();
5064             }
5065 
5066             return array(
5067             'hasNext'=>true,
5068             'hasPrevious'=>false,
#4
+
 /home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_master/application/controllers/admin/database.php(1496): LimeExpressionManager::StartSurvey("879912", "survey", array("htmlemail" => "Y", "format" => "G", "template" => "copievanilla", "language" => "en", ...), true)
1491     private function _resetEM(){
1492         $oSurvey = Survey::model()->findByPk($this->iSurveyID);
1493         LimeExpressionManager::SetDirtyFlag();
1494         $oEM =& LimeExpressionManager::singleton();
1495         LimeExpressionManager::UpgradeConditionsToRelevance($this->iSurveyID);
1496         LimeExpressionManager::StartSurvey($oSurvey->sid,'survey',$oSurvey->attributes,true);
1497         LimeExpressionManager::StartProcessingPage(true,true); 
1498         $aGrouplist = QuestionGroup::model()->getGroups($this->iSurveyID);
1499         foreach ($aGrouplist as $iGID => $aGroup) {
1500             LimeExpressionManager::StartProcessingGroup($aGroup['gid'], $oSurvey->anonymized != 'Y', $this->iSurveyID);
1501             LimeExpressionManager::FinishProcessingGroup();
2018-07-24 09:11:04 Apache/2.2.22 (Debian) Yii Framework/1.1.19