E:\WebSite\limesurvey\framework\db\schema\CDbCommandBuilder.php(831)
819 } 820 if(count($values)===1) 821 { 822 $entries=array(); 823 foreach($values[0] as $name=>$value) 824 $entries[]=$prefix.$table->columns[$name]->rawName.($value===null?' IS NULL':'='.$value); 825 return implode(' AND ',$entries); 826 } 827 828 return $this->createCompositeInCondition($table,$values,$prefix); 829 } 830 else 831 throw new CDbException(Yii::t('yii','Column name must be either a string or an array.')); 832 } 833 834 /** 835 * Generates the expression for selecting rows with specified composite key values. 836 * @param CDbTableSchema $table the table schema 837 * @param array $values list of primary key values to be selected within 838 * @param string $prefix column prefix (ended with dot) 839 * @return string the expression for selection 840 */ 841 protected function createCompositeInCondition($table,$values,$prefix) 842 { 843 $keyNames=array();
#0 |
+
–
E:\WebSite\limesurvey\framework\db\schema\CDbCommandBuilder.php(624): CDbCommandBuilder->createInCondition(CMssqlTableSchema, null, array("16"), "[t].") 619 $prefix=$this->_schema->quoteTableName($criteria->alias).'.'; 620 if(!is_array($pk)) // single key 621 $pk=array($pk); 622 if(is_array($table->primaryKey) && !isset($pk[0]) && $pk!==array()) // single composite key 623 $pk=array($pk); 624 $condition=$this->createInCondition($table,$table->primaryKey,$pk,$prefix); 625 if($criteria->condition!='') 626 $criteria->condition=$condition.' AND ('.$criteria->condition.')'; 627 else 628 $criteria->condition=$condition; 629 |
#1 |
+
–
E:\WebSite\limesurvey\framework\db\ar\CActiveRecord.php(1493): CDbCommandBuilder->createPkCriteria(CMssqlTableSchema, array("16"), "", array(), ...) 1488 */ 1489 public function findByPk($pk,$condition='',$params=array()) 1490 { 1491 Yii::trace(get_class($this).'.findByPk()','system.db.ar.CActiveRecord'); 1492 $prefix=$this->getTableAlias(true).'.'; 1493 $criteria=$this->getCommandBuilder()->createPkCriteria($this->getTableSchema(),$pk,$condition,$params,$prefix); 1494 return $this->query($criteria); 1495 } 1496 1497 /** 1498 * Finds all active records with the specified primary keys. |
#2 |
+
–
E:\WebSite\limesurvey\application\helpers\expressions\em_manager_helper.php(5607): CActiveRecord->findByPk("16") 5602 } 5603 } 5604 5605 if (isset($_SESSION[$this->sessid]['srid']) && $this->surveyOptions['active']) 5606 { 5607 $oResponse = Response::model($this->sid)->findByPk($_SESSION[$this->sessid]['srid']); 5608 if (empty($oResponse)) { 5609 // This can happen if admin deletes incomple response while survey is running. 5610 $message = submitfailed('', $this->gT('Error on response update')); 5611 LimeExpressionManager::addFrontendFlashMessage('error', $message, $this->sid); 5612 return; |
#3 |
+
–
E:\WebSite\limesurvey\application\helpers\expressions\em_manager_helper.php(5321): LimeExpressionManager->_UpdateValuesInDatabase() 5316 continue; 5317 } 5318 else 5319 { 5320 // display new group 5321 $message .= $LEM->_UpdateValuesInDatabase(); 5322 $LEM->runtimeTimings[] = array(__METHOD__,(microtime(true) - $now)); 5323 $LEM->lastMoveResult = array( 5324 'finished'=>false, 5325 'message'=>$message, 5326 'gseq'=>$LEM->currentGroupSeq, |
#4 |
+
–
E:\WebSite\limesurvey\application\helpers\SurveyRuntimeHelper.php(828): LimeExpressionManager::NavigateForwards() 823 $this->aMoveResult = false; // so display welcome page again 824 } 825 } 826 827 if ($this->sMove == "movenext") { 828 $this->aMoveResult = LimeExpressionManager::NavigateForwards(); 829 } 830 831 if (($this->sMove == 'movesubmit')) { 832 if ($this->sSurveyMode == 'survey') { 833 $this->aMoveResult = LimeExpressionManager::NavigateForwards(); |
#5 |
+
–
E:\WebSite\limesurvey\application\helpers\SurveyRuntimeHelper.php(531): SurveyRuntimeHelper->setMoveResult() 526 $this->initFirstStep(); // If it's the first time user load this survey, will init session and LEM 527 $this->initTotalAndMaxSteps(); 528 $this->checkIfUseBrowserNav(); // Check if user used browser navigation, or relaoded page 529 if ($this->sMove != 'clearcancel' && $this->sMove != 'confirmquota') { 530 $this->checkPrevStep(); // Check if prev step is set, else set it 531 $this->setMoveResult(); 532 $this->checkClearCancel(); 533 $this->setPrevStep(); 534 $this->checkIfFinished(); 535 $this->setStep(); 536 |
#6 |
+
–
E:\WebSite\limesurvey\application\helpers\SurveyRuntimeHelper.php(104): SurveyRuntimeHelper->initMove() 099 if (!isset($_SESSION[$this->LEMsessid]['step'])) { 100 $this->showTokenOrCaptchaFormsIfNeeded(); 101 } 102 103 if (!$this->previewgrp && !$this->previewquestion) { 104 $this->initMove(); // main methods to init session, LEM, moves, errors, etc 105 $this->checkForDataSecurityAccepted(); // must be called after initMove to allow LEM to be initialized 106 $this->checkQuotas(); // check quotas (then the process will stop here) 107 $this->displayFirstPageIfNeeded(); 108 $this->saveAllIfNeeded(); 109 $this->saveSubmitIfNeeded(); |
#7 |
+
–
E:\WebSite\limesurvey\application\controllers\survey\index.php(595): SurveyRuntimeHelper->run("148366", array("surveyid" => "148366", "thissurvey" => array("htmlemail" => "Y", "format" => "G", "template" => "oecd", "language" => "en", ...), "thisstep" => "1", "tokensexist" => 0, ...)) 590 unset($redata); 591 $redata = compact(array_keys(get_defined_vars())); 592 Yii::import('application.helpers.SurveyRuntimeHelper'); 593 $tmp = new SurveyRuntimeHelper(); 594 // try { 595 $tmp->run($surveyid, $redata); 596 // } catch (WrongTemplateVersionException $ex) { 597 // echo $ex->getMessage(); 598 // } 599 } 600 |
#8 |
+
–
E:\WebSite\limesurvey\application\controllers\survey\index.php(24): index->action() 19 public $oTemplate; 20 21 public function run() 22 { 23 useFirebug(); 24 $this->action(); 25 } 26 27 public function action() 28 { 29 global $surveyid; |
#9 |
+
–
E:\WebSite\limesurvey\framework\web\actions\CAction.php(76): index->run() 71 { 72 $method=new ReflectionMethod($this, 'run'); 73 if($method->getNumberOfParameters()>0) 74 return $this->runWithParamsInternal($this, $method, $params); 75 76 $this->run(); 77 return true; 78 } 79 80 /** 81 * Executes a method of an object with the supplied named parameters. |
#10 |
+
–
E:\WebSite\limesurvey\framework\web\CController.php(308): CAction->runWithParams(array("r" => "survey/index", "sid" => "148366")) 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; |
#11 |
+
–
E:\WebSite\limesurvey\framework\web\CController.php(286): CController->runAction(index) 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(); |
#12 |
+
–
E:\WebSite\limesurvey\framework\web\CController.php(265): CController->runActionWithFilters(index, 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); |
#13 |
+
–
E:\WebSite\limesurvey\framework\web\CWebApplication.php(282): CController->run("index") 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\framework\web\CWebApplication.php(141): CWebApplication->runController("survey/index") 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\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(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 */ |