E:\WebSite\limesurvey\vendor\yiisoft\yii\framework\db\CDbCommand.php(358)
346 { 347 if($this->_connection->enableProfiling) 348 Yii::endProfile('system.db.CDbCommand.execute('.$this->getText().$par.')','system.db.CDbCommand.execute'); 349 350 $errorInfo=$e instanceof PDOException ? $e->errorInfo : null; 351 $message=$e->getMessage(); 352 Yii::log(Yii::t('yii','CDbCommand::execute() failed: {error}. The SQL statement executed was: {sql}.', 353 array('{error}'=>$message, '{sql}'=>$this->getText().$par)),CLogger::LEVEL_ERROR,'system.db.CDbCommand'); 354 355 if(YII_DEBUG) 356 $message.='. The SQL statement executed was: '.$this->getText().$par; 357 358 throw new CDbException(Yii::t('yii','CDbCommand failed to execute the SQL statement: {error}', 359 array('{error}'=>$message)),(int)$e->getCode(),$errorInfo); 360 } 361 } 362 363 /** 364 * Executes the SQL statement and returns query result. 365 * This method is for executing an SQL query that returns result set. 366 * @param array $params input parameters (name=>value) for the SQL execution. This is an alternative 367 * to {@link bindParam} and {@link bindValue}. If you have multiple input parameters, passing 368 * them in this way can improve the performance. Note that if you pass parameters in this way, 369 * you cannot bind parameters or values using {@link bindParam} or {@link bindValue}, and vice versa. 370 * Please also note that all values are treated as strings in this case, if you need them to be handled as
#0 |
+
–
E:\WebSite\limesurvey\vendor\yiisoft\yii\framework\db\CDbCommand.php(1278): CDbCommand->execute(array(":name" => "ComfortUpdateChecker", ":plugin_type" => "core", ":active" => 1, ":version" => "1.0.0", ...)) 1273 } 1274 } 1275 $sql='INSERT INTO ' . $this->_connection->quoteTableName($table) 1276 . ' (' . implode(', ',$names) . ') VALUES (' 1277 . implode(', ', $placeholders) . ')'; 1278 return $this->setText($sql)->execute($params); 1279 } 1280 1281 /** 1282 * Creates and executes an UPDATE SQL statement. 1283 * The method will properly escape the column names and bind the values to be updated. |
#1 |
+
–
E:\WebSite\limesurvey\application\helpers\update\updates\Update_430.php(12): CDbCommand->insert("{{plugins}}",
array("name" => "ComfortUpdateChecker", "plugin_type" => "core",
"active" => 1, "version" => "1.0.0", ...)) 07 public function up() 08 { 09 $this->db->createCommand()->insert( 10 "{{plugins}}", 11 [ 12 'name' => 'ComfortUpdateChecker', 13 'plugin_type' => 'core', 14 'active' => 1, 15 'version' => '1.0.0', 16 'load_error' => 0, 17 'load_error_message' => null |
#2 |
+
–
E:\WebSite\limesurvey\application\helpers\update\DatabaseUpdateBase.php(47): LimeSurvey\Helpers\Update\Update_430->up() 42 */ 43 public function safeUp() 44 { 45 $transaction = $this->db->beginTransaction(); 46 try { 47 $this->up(); 48 $this->updateVersion(); 49 $transaction->commit(); 50 } catch (Throwable $e) { 51 $transaction->rollback(); 52 throw $e; |
#3 |
+
–
E:\WebSite\limesurvey\application\helpers\update\updatedb_helper.php(88): LimeSurvey\Helpers\Update\DatabaseUpdateBase->safeUp() 83 try { 84 // Get all relevant files from updates/ folder 85 $updates = getRelevantUpdates($iOldDBVersion, Yii::app()->db, $options); 86 foreach ($updates as $update) { 87 // NB: safeUp() wraps up() inside a transaction and also updates DBVersion. 88 $update->safeUp(); 89 } 90 } catch (Exception $e) { 91 Yii::app()->setConfig('Updating', false); 92 // Activate schema caching 93 $oDB->schemaCachingDuration = 3600; |
#4 |
+
–
E:\WebSite\limesurvey\application\helpers\update\update_helper.php(33): db_upgrade_all(424) 28 Yii::app()->loadHelper('update/updatedb'); 29 if (isset($subaction) && $subaction == "yes") { 30 $header = Yii::app()->getController()->getAdminHeader(false, true); 31 $header = preg_replace('/<###begin###>/', '', $header); 32 echo $header; 33 $result = db_upgrade_all(intval($currentDBVersion)); 34 if ($result) { 35 $data = 36 '<div class="jumbotron message-box">' . 37 '<h2 class="">' . gT('Success') . '</h2>' . 38 '<p class="lead">' . |
#5 |
+
–
E:\WebSite\limesurvey\application\controllers\admin\DatabaseUpdate.php(35): CheckForDBUpgrades("yes") 30 public function db($continue = null) 31 { 32 Yii::app()->loadHelper("update/update"); 33 $aData = $aViewUrls = []; 34 if (isset($continue) && $continue == "yes") { 35 $aViewUrls['output'] = CheckForDBUpgrades($continue); 36 $aData['display']['header'] = false; 37 } else { 38 $aData['display']['header'] = true; 39 $aViewUrls['output'] = CheckForDBUpgrades(); 40 } |
#6 |
unknown(0): DatabaseUpdate->db("yes")
|
#7 |
+
–
E:\WebSite\limesurvey\vendor\yiisoft\yii\framework\web\actions\CAction.php(115): ReflectionMethod->invokeArgs(DatabaseUpdate, array("yes")) 110 elseif($param->isDefaultValueAvailable()) 111 $ps[]=$param->getDefaultValue(); 112 else 113 return false; 114 } 115 $method->invokeArgs($object,$ps); 116 return true; 117 } 118 } |
#8 |
+
–
E:\WebSite\limesurvey\application\core\SurveyCommonAction.php(83): CAction->runWithParamsInternal(DatabaseUpdate,
ReflectionMethod, array("r" =>
"admin/databaseupdate/sa/db/continue/yes", "sa" => "db", "continue"
=> "yes")) 78 $oMethod = new ReflectionMethod($this, $sDefault); 79 } 80 81 // We're all good to go, let's execute it 82 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params 83 return parent::runWithParamsInternal($this, $oMethod, $params); 84 } 85 86 /** 87 * Some functions have different parameters, which are just an alias of the 88 * usual parameters we're getting in the url. This function just populates |
#9 |
+
–
E:\WebSite\limesurvey\vendor\yiisoft\yii\framework\web\CController.php(308): SurveyCommonAction->runWithParams(array("r" => "admin/databaseupdate/sa/db/continue/yes", "sa" => "db", "continue" => "yes")) 303 { 304 $priorAction=$this->_action; 305 $this->_action=$action; 306 if($this->beforeAction($action)) 307 { 308 if($action->runWithParams($this->getActionParams())===false) 309 $this->invalidActionParams($action); 310 else 311 $this->afterAction($action); 312 } 313 $this->_action=$priorAction; |
#10 |
+
–
E:\WebSite\limesurvey\vendor\yiisoft\yii\framework\web\CController.php(286): CController->runAction(DatabaseUpdate) 281 * @see runAction 282 */ 283 public function runActionWithFilters($action,$filters) 284 { 285 if(empty($filters)) 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run(); |
#11 |
+
–
E:\WebSite\limesurvey\vendor\yiisoft\yii\framework\web\CController.php(265): CController->runActionWithFilters(DatabaseUpdate, array()) 260 { 261 if(($parent=$this->getModule())===null) 262 $parent=Yii::app(); 263 if($parent->beforeControllerAction($this,$action)) 264 { 265 $this->runActionWithFilters($action,$this->filters()); 266 $parent->afterControllerAction($this,$action); 267 } 268 } 269 else 270 $this->missingAction($actionID); |
#12 |
+
–
E:\WebSite\limesurvey\application\controllers\AdminController.php(202): CController->run("databaseupdate") 197 } 198 199 $this->runModuleController($action); 200 201 202 return parent::run($action); 203 } 204 205 /** 206 * Starting with LS4, 3rd party developer can extends any of the LimeSurve controllers. 207 * |
#13 |
+
–
E:\WebSite\limesurvey\vendor\yiisoft\yii\framework\web\CWebApplication.php(282): AdminController->run("databaseupdate") 277 { 278 list($controller,$actionID)=$ca; 279 $oldController=$this->_controller; 280 $this->_controller=$controller; 281 $controller->init(); 282 $controller->run($actionID); 283 $this->_controller=$oldController; 284 } 285 else 286 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 287 array('{route}'=>$route===''?$this->defaultController:$route))); |
#14 |
+
–
E:\WebSite\limesurvey\vendor\yiisoft\yii\framework\web\CWebApplication.php(141): CWebApplication->runController("admin/databaseupdate/sa/db/continue/yes") 136 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 137 $_GET[$name]=$value; 138 } 139 else 140 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 141 $this->runController($route); 142 } 143 144 /** 145 * Registers the core application components. 146 * This method overrides the parent implementation by registering additional core components. |
#15 |
+
–
E:\WebSite\limesurvey\vendor\yiisoft\yii\framework\base\CApplication.php(185): CWebApplication->processRequest() 180 public function run() 181 { 182 if($this->hasEventHandler('onBeginRequest')) 183 $this->onBeginRequest(new CEvent($this)); 184 register_shutdown_function(array($this,'end'),0,false); 185 $this->processRequest(); 186 if($this->hasEventHandler('onEndRequest')) 187 $this->onEndRequest(new CEvent($this)); 188 } 189 190 /** |
#16 |
+
–
E:\WebSite\limesurvey\index.php(161): CApplication->run() 156 require_once APPPATH . 'core/LSYii_Application' . EXT; 157 158 $config = require_once(APPPATH . 'config/internal' . EXT); 159 160 Yii::$enableIncludePath = false; 161 Yii::createApplication('LSYii_Application', $config)->run(); 162 163 /* End of file index.php */ 164 /* Location: ./index.php */ |