Derek Rivers Jersey CDbException

CDbException

CDbCommand failed to execute the SQL statement: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'eventimilanoen.AuthAssignment' doesn't exist. The SQL statement executed was: SELECT *
FROM `AuthAssignment`
WHERE userid=:userid

/mounted-storage/home22/sub027/sc74574-QDSX/eventplannermilano.com/framework/db/CDbCommand.php(543)

531         {
532             if($this->_connection->enableProfiling)
533                 Yii::endProfile('system.db.CDbCommand.query('.$this->getText().$par.')','system.db.CDbCommand.query');
534 
535             $errorInfo=$e instanceof PDOException ? $e->errorInfo : null;
536             $message=$e->getMessage();
537             Yii::log(Yii::t('yii','CDbCommand::{method}() failed: {error}. The SQL statement executed was: {sql}.',
538                 array('{method}'=>$method, '{error}'=>$message, '{sql}'=>$this->getText().$par)),CLogger::LEVEL_ERROR,'system.db.CDbCommand');
539 
540             if(YII_DEBUG)
541                 $message.='. The SQL statement executed was: '.$this->getText().$par;
542 
543             throw new CDbException(Yii::t('yii','CDbCommand failed to execute the SQL statement: {error}',
544                 array('{error}'=>$message)),(int)$e->getCode(),$errorInfo);
545         }
546     }
547 
548     /**
549      * Builds a SQL SELECT statement from the given query specification.
550      * @param array $query the query specification in name-value pairs. The following
551      * query options are supported: {@link select}, {@link distinct}, {@link from},
552      * {@link where}, {@link join}, {@link group}, {@link having}, {@link order},
553      * {@link limit}, {@link offset} and {@link union}.
554      * @throws CDbException if "from" key is not present in given query parameter
555      * @return string the SQL statement

Stack Trace

#4
+
 /mounted-storage/home22/sub027/sc74574-QDSX/eventplannermilano.com/protected/views/page/view.php(21): CWebUser->checkAccess("administrator")
16     
17     <div class="absolute share-box">
18         <?php $this->renderPartial('//addthis/toolbox'); ?>
19     </div>
20 
21     <?php if (Yii::app()->user->checkAccess('administrator')) : ?>
22         <div class="edit-link absolute right bottom">
23             <?php echo CHtml::link('Modifica', array('/admin/page/update', 'id'=>$model->id), array('class'=>'external-link')); ?>
24         </div>
25     <?php endif; ?>
26 
#9
+
 /mounted-storage/home22/sub027/sc74574-QDSX/eventplannermilano.com/protected/controllers/PageController.php(38): CController->render("view", array("model" => Page))
33 
34         $id = $this->_getIdFromSlug($id);
35 
36         $this->render('view',array(
37             'model'=>$this->loadModel($id),
38         ));
39     }
40 
41     /**
42      * Returns the data model based on the primary key given in the GET variable.
43      * If the data model is not found, an HTTP exception will be raised.
#17
+
 /mounted-storage/home22/sub027/sc74574-QDSX/eventplannermilano.com/protected/controllers/LanguageController.php(9): CWebApplication->runController("page/view/id/24")
04 
05     public function actionView($lang) {
06 
07         switch($lang) {
08             case 'en':
09                 Yii::app()->runController('page/view/id/24');
10                 break;
11             case 'ar':
12                 Yii::app()->runController('page/view/id/25');
13                 break;
14             case 'cn':
2019-03-26 14:04:14 Apache Yii Framework/1.1.14