/home/cecnieto/public_html/encuestas.cecinasnieto.com/framework/db/CDbCommand.php(543)
531 { 532 if($this->_connection->enableProfiling) 533 Yii::endProfile('system.db.CDbCommand.query('.$this->getText().$par.')','system.db.CDbCommand.query'); 534 535 $errorInfo=$e instanceof PDOException ? $e->errorInfo : null; 536 $message=$e->getMessage(); 537 Yii::log(Yii::t('yii','CDbCommand::{method}() failed: {error}. The SQL statement executed was: {sql}.', 538 array('{method}'=>$method, '{error}'=>$message, '{sql}'=>$this->getText().$par)),CLogger::LEVEL_ERROR,'system.db.CDbCommand'); 539 540 if(YII_DEBUG) 541 $message.='. The SQL statement executed was: '.$this->getText().$par; 542 543 throw new CDbException(Yii::t('yii','CDbCommand failed to execute the SQL statement: {error}', 544 array('{error}'=>$message)),(int)$e->getCode(),$errorInfo); 545 } 546 } 547 548 /** 549 * Builds a SQL SELECT statement from the given query specification. 550 * @param array $query the query specification in name-value pairs. The following 551 * query options are supported: {@link select}, {@link distinct}, {@link from}, 552 * {@link where}, {@link join}, {@link group}, {@link having}, {@link order}, 553 * {@link limit}, {@link offset} and {@link union}. 554 * @throws CDbException if "from" key is not present in given query parameter 555 * @return string the SQL statement
#0 |
+
–
/home/cecnieto/public_html/encuestas.cecinasnieto.com/framework/db/CDbCommand.php(396): CDbCommand->queryInternal("fetchAll", array(2), array()) 391 * An empty array is returned if the query results in nothing. 392 * @throws CException execution failed 393 */ 394 public function queryAll($fetchAssociative=true,$params=array()) 395 { 396 return $this->queryInternal('fetchAll',$fetchAssociative ? $this->_fetchMode : PDO::FETCH_NUM, $params); 397 } 398 399 /** 400 * Executes the SQL statement and returns the first row of the result. 401 * This is a convenient method of {@link query} when only the first row of data is needed. |
#1 |
+
–
/home/cecnieto/public_html/encuestas.cecinasnieto.com/application/helpers/common_helper.php(1926): CDbCommand->queryAll() 1921 if ($questionid!==false) 1922 { 1923 $aquery.=" and questions.qid={$questionid} "; 1924 } 1925 $aquery.=" ORDER BY group_order, question_order"; 1926 $aresult = Yii::app()->db->createCommand($aquery)->queryAll(); 1927 $questionSeq=-1; // this is incremental question sequence across all groups 1928 $groupSeq=-1; 1929 $_groupOrder=-1; 1930 1931 foreach ($aresult as $arow) //With each question, create the appropriate field(s)) |
#2 |
+
–
/home/cecnieto/public_html/encuestas.cecinasnieto.com/application/helpers/frontend_helper.php(1285): createFieldMap("855596", "full", true, false, ...) 1280 { 1281 $_SESSION['survey_'.$surveyid]['insertarray'][]= "token"; 1282 } 1283 1284 $qtypes=getQuestionTypeList('','array'); 1285 $fieldmap=createFieldMap($surveyid,'full',true,false,$_SESSION['survey_'.$surveyid]['s_lang']); 1286 1287 1288 // Randomization groups for groups 1289 $aRandomGroups=array(); 1290 $aGIDCompleteMap=array(); |
#3 |
+
–
/home/cecnieto/public_html/encuestas.cecinasnieto.com/application/helpers/SurveyRuntimeHelper.php(251): buildsurveysession("855596") 246 else 247 { 248 //RUN THIS IF THIS IS THE FIRST TIME , OR THE FIRST PAGE ######################################## 249 if (!isset($_SESSION[$LEMsessid]['step'])) 250 { 251 buildsurveysession($surveyid); 252 $sTemplatePath = $_SESSION[$LEMsessid]['templatepath']; 253 254 if($surveyid != LimeExpressionManager::getLEMsurveyId()) 255 LimeExpressionManager::SetDirtyFlag(); 256 |
#4 |
+
–
/home/cecnieto/public_html/encuestas.cecinasnieto.com/application/controllers/survey/index.php(580): SurveyRuntimeHelper->run("855596", array("surveyid" => "855596", "thissurvey" => array("template" => "mint_idea", "language" => "es", "sid" => "855596", "owner_id" => "1", ...), "thisstep" => null, "tokensexist" => 0, ...)) 575 //Send local variables to the appropriate survey type 576 unset($redata); 577 $redata = compact(array_keys(get_defined_vars())); 578 Yii::import('application.helpers.SurveyRuntimeHelper'); 579 $tmp = new SurveyRuntimeHelper(); 580 $tmp->run($surveyid,$redata); 581 582 if (isset($_POST['saveall']) || isset($flashmessage)) 583 { 584 echo "<script type='text/javascript'> $(document).ready( function() { alert('".gT("Your responses were successfully saved.","js")."');}) </script>"; 585 } |
#5 |
+
–
/home/cecnieto/public_html/encuestas.cecinasnieto.com/application/controllers/survey/index.php(46): index->action() 41 App()->getClientScript()->render($buffer); 42 App()->getClientScript()->reset(); 43 return $buffer; 44 }); 45 ob_implicit_flush(false); 46 $this->action(); 47 ob_flush(); 48 } 49 50 function action() 51 { |
#6 |
+
–
/home/cecnieto/public_html/encuestas.cecinasnieto.com/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. |
#7 |
+
–
/home/cecnieto/public_html/encuestas.cecinasnieto.com/framework/web/CController.php(308): CAction->runWithParams(array("lang" => "ru", "sid" => "855596")) 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; |
#8 |
+
–
/home/cecnieto/public_html/encuestas.cecinasnieto.com/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(); |
#9 |
+
–
/home/cecnieto/public_html/encuestas.cecinasnieto.com/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); |
#10 |
+
–
/home/cecnieto/public_html/encuestas.cecinasnieto.com/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))); |
#11 |
+
–
/home/cecnieto/public_html/encuestas.cecinasnieto.com/framework/web/CWebApplication.php(141): CWebApplication->runController("survey/index/sid/855596") 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. |
#12 |
+
–
/home/cecnieto/public_html/encuestas.cecinasnieto.com/framework/base/CApplication.php(184): CWebApplication->processRequest() 179 public function run() 180 { 181 if($this->hasEventHandler('onBeginRequest')) 182 $this->onBeginRequest(new CEvent($this)); 183 register_shutdown_function(array($this,'end'),0,false); 184 $this->processRequest(); 185 if($this->hasEventHandler('onEndRequest')) 186 $this->onEndRequest(new CEvent($this)); 187 } 188 189 /** |
#13 |
+
–
/home/cecnieto/public_html/encuestas.cecinasnieto.com/index.php(211): CApplication->run() 206 die (sprintf('%s should be writable by the webserver (766 or 776).', $runtimePath)); 207 } 208 } 209 210 Yii::$enableIncludePath = false; 211 Yii::createApplication('LSYii_Application', $config)->run(); 212 213 /* End of file index.php */ 214 /* Location: ./index.php */ |