raybet雷竞技靠谱不-类似雷竞技的网站-雷竞技登不上去

CDbCommand 无法执行 SQL 语句: SQLSTATE[HY000]: General error: 2013 Lost connection to MySQL server during query. The SQL statement executed was: SHOW CREATE TABLE `nodecatalog`

/media/data/websites/html/protected/framework/db/CDbCommand.php(528)

516             return $result;
517         }
518         catch(Exception $e)
519         {
520             if($this->_connection->enableProfiling)
521                 Yii::endProfile('system.db.CDbCommand.query('.$this->getText().$par.')','system.db.CDbCommand.query');
522             $errorInfo = $e instanceof PDOException ? $e->errorInfo : null;
523             $message = $e->getMessage();
524             Yii::log(Yii::t('yii','CDbCommand::{method}() failed: {error}. The SQL statement executed was: {sql}.',
525                 array('{method}'=>$method, '{error}'=>$message, '{sql}'=>$this->getText().$par)),CLogger::LEVEL_ERROR,'system.db.CDbCommand');
526             if(YII_DEBUG)
527                 $message .= '. The SQL statement executed was: '.$this->getText().$par;
528             throw new raybet雷竞技靠谱不-类似雷竞技的网站-雷竞技登不上去(Yii::t('yii','CDbCommand failed to execute the SQL statement: {error}',
529                 array('{error}'=>$message)),(int)$e->getCode(),$errorInfo);
530         }
531     }
532 
533     /**
534      * Builds a SQL SELECT statement from the given query specification.
535      * @param array $query the query specification in name-value pairs. The following
536      * query options are supported: {@link select}, {@link distinct}, {@link from},
537      * {@link where}, {@link join}, {@link group}, {@link having}, {@link order},
538      * {@link limit}, {@link offset} and {@link union}.
539      * @return string the SQL statement
540      * @since 1.1.6

Stack Trace

#10
+
 /media/data/websites/html/protected/modules/wfbase/node/WfBaseNode.php(194): CActiveRecord->__isset("node_catalog")
189       return $this->_catalogClass;    
190     }
191     public function getNodeCatalogModel()
192     {
193       $field=$this->_catalogRelation;
194       return isset($this->$field)?$this->$field:null;
195     }
196     public function getNodeTypeModel()
197     {
198       $field=$this->_typeRelation;
199       return isset($this->_typeClass)?$this->$field:null;
#11
+
 /media/data/websites/html/themes/basic/views/site/news_detail.php(3): WfBaseNode->getNodeCatalogModel()
1 <?php WfConfigHelper::set('url','/site/news/1');?>
2 <?php
3 $catalog=$model->getNodeCatalogModel();
4 $path=WfPageHelper::getPath();
5 $path[$catalog->getNodeListTitle()]=array('/site/news','id'=>$catalog->id);
6 WfPageHelper::setPath($path);
7 ?>
8 <div id="newsdetail" class="section">
#16
+
 /media/data/websites/html/protected/modules/wfbase/wftactions/WFTAction.php(121): CController->render("news_detail", array("model" => Node, "forms" => array(), "data" => null))
116         {
117       if ($this->layout===false)
118       {
119         $controller->renderPartial($viewFile,$viewData);       
120       }else{
121             $controller->render($viewFile,$viewData); 
122           }
123         }
124         $this->onAfterRender(new CEvent($this)); 
125     } 
126 
2020-05-27 07:32:43 Apache/2.2.15 (CentOS) Yii Framework/1.1.12