/mnt/data/shnoulle/nginx/www/develop/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 |
+
–
/mnt/data/shnoulle/nginx/www/develop/framework/db/CDbCommand.php(1352): CDbCommand->execute() 1347 * @return integer 0 is always returned. See {@link http://php.net/manual/en/pdostatement.rowcount.php} for more information. 1348 * @since 1.1.6 1349 */ 1350 public function createTable($table, $columns, $options=null) 1351 { 1352 return $this->setText($this->getConnection()->getSchema()->createTable($table, $columns, $options))->execute(); 1353 } 1354 1355 /** 1356 * Builds and executes a SQL statement for renaming a DB table. 1357 * @param string $table the table to be renamed. The name will be properly quoted by the method. |
#1 |
+
–
/mnt/data/shnoulle/nginx/www/develop/application/libraries/PluginManager/LimesurveyApi.php(64): CDbCommand->createTable("lime_auditlog_log",
array("id" => "pk", "created" => "datetime", "uid" =>
"string", "entity" => "string", ...), " ENGINE = ") 59 * @return integer number of rows affected by the execution. 60 */ 61 public function createTable($plugin, $sTableName, $aColumns, $sOptions = null) 62 { 63 if (null !== $sTableName = $this->getTableName($plugin, $sTableName)) { 64 return App()->getDb()->createCommand()->createTable($sTableName, $aColumns, $sOptions); 65 } 66 return false; 67 } 68 69 /** |
#2 |
+
–
/mnt/data/shnoulle/nginx/www/develop/plugins/AuditLog/AuditLog.php(573): LimeSurvey\PluginManager\LimesurveyApi->createTable(AuditLog,
"lime_auditlog_log", array("id" => "pk", "created" => "datetime",
"uid" => "string", "entity" => "string", ...), " ENGINE = ") 568 'entity'=>'string', 569 'entityid'=>'string', 570 'action'=>'string', 571 'fields'=>'text', 572 'oldvalues'=>'text', 573 'newvalues'=>'text'), $options); 574 } 575 } 576 577 /** 578 * This event is fired by the administration panel to gather extra settings |
#3 |
unknown(0): AuditLog->beforeActivate()
|
#4 |
+
–
/mnt/data/shnoulle/nginx/www/develop/application/libraries/PluginManager/PluginManager.php(258): call_user_func(array(AuditLog, "beforeActivate")) 253 if (isset($this->subscriptions[$eventName])) { 254 foreach ($this->subscriptions[$eventName] as $subscription) { 255 if (!$event->isStopped() 256 && (empty($target) || in_array(get_class($subscription[0]), $target))) { 257 $subscription[0]->setEvent($event); 258 call_user_func($subscription); 259 } 260 } 261 } 262 263 return $event; |
#5 |
+
–
/mnt/data/shnoulle/nginx/www/develop/application/controllers/admin/PluginManagerController.php(152): LimeSurvey\PluginManager\PluginManager->dispatchEvent(PluginEvent, array("AuditLog")) 147 if ($oPlugin && $oPlugin->active == 0) { 148 // Load the plugin: 149 App()->getPluginManager()->loadPlugin($oPlugin->name, $pluginId); 150 $result = App()->getPluginManager()->dispatchEvent( 151 new PluginEvent('beforeActivate', $this), 152 $oPlugin->name 153 ); 154 if ($result->get('success', true)) { 155 $oPlugin->active = 1; 156 $oPlugin->save(); 157 Yii::app()->user->setFlash('success', gT('Plugin was activated.')); |
#6 |
unknown(0): PluginManagerController->activate()
|
#7 |
+
–
/mnt/data/shnoulle/nginx/www/develop/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(PluginManagerController, array()) 104 elseif($param->isDefaultValueAvailable()) 105 $ps[]=$param->getDefaultValue(); 106 else 107 return false; 108 } 109 $method->invokeArgs($object,$ps); 110 return true; 111 } 112 } |
#8 |
+
–
/mnt/data/shnoulle/nginx/www/develop/application/core/Survey_Common_Action.php(83): CAction->runWithParamsInternal(PluginManagerController, ReflectionMethod, array("r" => "admin/pluginmanager", "sa" => "activate")) 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 |
+
–
/mnt/data/shnoulle/nginx/www/develop/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("r" => "admin/pluginmanager", "sa" => "activate")) 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 |
+
–
/mnt/data/shnoulle/nginx/www/develop/framework/web/CController.php(286): CController->runAction(PluginManagerController) 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 |
+
–
/mnt/data/shnoulle/nginx/www/develop/framework/web/CController.php(265): CController->runActionWithFilters(PluginManagerController, 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 |
+
–
/mnt/data/shnoulle/nginx/www/develop/application/controllers/AdminController.php(158): CController->run("pluginmanager") 153 $this->redirect(array('/admin/authentication/sa/login')); 154 } 155 } 156 } 157 158 return parent::run($action); 159 } 160 161 /** 162 * Routes all the actions to their respective places 163 * |
#13 |
+
–
/mnt/data/shnoulle/nginx/www/develop/framework/web/CWebApplication.php(282): AdminController->run("pluginmanager") 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 |
+
–
/mnt/data/shnoulle/nginx/www/develop/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/pluginmanager") 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 |
+
–
/mnt/data/shnoulle/nginx/www/develop/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 |
+
–
/mnt/data/shnoulle/nginx/www/develop/index.php(195): CApplication->run() 190 require_once APPPATH . 'core/LSYii_Application' . EXT; 191 192 $config = require_once(APPPATH . 'config/internal' . EXT); 193 194 Yii::$enableIncludePath = false; 195 Yii::createApplication('LSYii_Application', $config)->run(); 196 197 /* End of file index.php */ 198 /* Location: ./index.php */ |