/var/www/html/limesurvey/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 |
+
–
/var/www/html/limesurvey/framework/db/CDbCommand.php(1445): CDbCommand->execute() 1440 * @return integer number of rows affected by the execution. 1441 * @since 1.1.6 1442 */ 1443 public function alterColumn($table, $column, $type) 1444 { 1445 return $this->setText($this->getConnection()->getSchema()->alterColumn($table, $column, $type))->execute(); 1446 } 1447 1448 /** 1449 * Builds a SQL statement for adding a foreign key constraint to an existing table. 1450 * The method will properly quote the table and column names. |
#1 |
+
–
/var/www/html/limesurvey/application/helpers/update/updatedb_helper.php(3962): CDbCommand->alterColumn("{{surveys_languagesettings}}", "surveyls_welcometext", "text") 3957 $sType .= ' NOT NULL'; 3958 } 3959 if ($sDefault != 'NULL') { 3960 $sType .= " DEFAULT '{$sDefault}'"; 3961 } 3962 $oDB->createCommand()->alterColumn($sTable, $sColumn, $sType); 3963 break; 3964 case 'dblib': 3965 case 'sqlsrv': 3966 case 'mssql': 3967 dropDefaultValueMSSQL($sColumn, $sTable); |
#2 |
+
–
/var/www/html/limesurvey/application/helpers/update/updatedb_helper.php(2417): alterColumn("{{surveys_languagesettings}}", "surveyls_welcometext", "text", true) 2412 if ($iOldDBVersion < 359) { 2413 $oTransaction = $oDB->beginTransaction(); 2414 alterColumn('{{notifications}}','message',"text",false); 2415 alterColumn('{{settings_user}}','stg_value',"text",true); 2416 alterColumn('{{surveys_languagesettings}}','surveyls_description',"text",true); 2417 alterColumn('{{surveys_languagesettings}}','surveyls_welcometext',"text",true); 2418 alterColumn('{{surveys_languagesettings}}','surveyls_endtext',"text",true); 2419 alterColumn('{{surveys_languagesettings}}','surveyls_policy_notice',"text",true); 2420 alterColumn('{{surveys_languagesettings}}','surveyls_policy_error',"text",true); 2421 alterColumn('{{surveys_languagesettings}}','surveyls_url',"text",true); 2422 alterColumn('{{surveys_languagesettings}}','surveyls_email_invite',"text",true); |
#3 |
+
–
/var/www/html/limesurvey/application/controllers/AdminController.php(126): db_upgrade_all(358, true) 121 $sDBVersion = getGlobalSetting('DBVersion'); 122 } 123 if ((int) $sDBVersion < Yii::app()->getConfig('dbversionnumber') && $action != 'databaseupdate') { 124 // Try a silent update first 125 Yii::app()->loadHelper('update/updatedb'); 126 if (!db_upgrade_all(intval($sDBVersion), true)) { 127 $this->redirect(array('/admin/databaseupdate/sa/db')); 128 } 129 } 130 131 |
#4 |
+
–
/var/www/html/limesurvey/framework/web/CWebApplication.php(282): AdminController->run("") 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))); |
#5 |
+
–
/var/www/html/limesurvey/framework/web/CWebApplication.php(141): CWebApplication->runController("admin") 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. |
#6 |
+
–
/var/www/html/limesurvey/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 /** |
#7 |
+
–
/var/www/html/limesurvey/index.php(194): CApplication->run() 189 require_once APPPATH . 'core/LSYii_Application' . EXT; 190 191 $config = require_once(APPPATH . 'config/internal' . EXT); 192 193 Yii::$enableIncludePath = false; 194 Yii::createApplication('LSYii_Application', $config)->run(); 195 196 /* End of file index.php */ 197 /* Location: ./index.php */ |