/var/www/lime25/limesurvey/application/helpers/expressions/em_manager_helper.php(8774)
8762 } elseif(is_null($sLanguage)) { 8763 $sLanguage=$survey->language; 8764 } 8765 $oQuestionGroups=$survey->groups; 8766 8767 $qinfo = array(); 8768 $_order=0; 8769 $gid = array(); 8770 foreach ($oQuestionGroups as $oQuestionGroup) { 8771 $gid[$oQuestionGroup->gid] = array( 8772 'group_order' => $_order, 8773 'gid' => $oQuestionGroup->gid, 8774 'group_name' => $oQuestionGroup->questionGroupL10ns[$sLanguage]->group_name, 8775 'description' => $oQuestionGroup->questionGroupL10ns[$sLanguage]->description, 8776 'grelevance' => (!($this->sPreviewMode=='question' || $this->sPreviewMode=='group')) ? $oQuestionGroup->grelevance:1, 8777 'randomization_group' => $oQuestionGroup->randomization_group 8778 ); 8779 $qinfo[$_order] = $gid[$oQuestionGroup->gid]; 8780 ++$_order; 8781 } 8782 // Needed for Randomization group. 8783 $groupRemap= (!$this->sPreviewMode && !empty($_SESSION['survey_'.$surveyid]['groupReMap']) && !empty($_SESSION['survey_'.$surveyid]['grouplist'])); 8784 if ($groupRemap) 8785 { 8786 $_order=0;
#0 |
+
–
/var/www/lime25/limesurvey/application/helpers/expressions/em_manager_helper.php(3705): LimeExpressionManager->getGroupInfoForEM("872677", "de") 3700 'I' => $this->gT("Increase"), 3701 'S' => $this->gT("Same"), 3702 'D' => $this->gT("Decrease"), 3703 ); 3704 3705 $this->gseq2info = $this->getGroupInfoForEM($surveyid,$_SESSION['LEMlang']); 3706 foreach ($this->gseq2info as $aGroupInfo) 3707 { 3708 $this->groupId2groupSeq[$aGroupInfo['gid']] = $aGroupInfo['group_order']; 3709 } 3710 |
#1 |
+
–
/var/www/lime25/limesurvey/application/helpers/expressions/em_manager_helper.php(4973): LimeExpressionManager->setVariableAndTokenMappingsForExpressionManager("872677") 4968 $LEM->em->StartProcessingGroup( 4969 isset($_SESSION['LEMsid']) ? $_SESSION['LEMsid'] : NULL, 4970 '', 4971 true 4972 ); 4973 $LEM->setVariableAndTokenMappingsForExpressionManager($_SESSION['LEMsid']); 4974 } 4975 4976 } 4977 4978 /** |
#2 |
+
–
/var/www/lime25/limesurvey/application/helpers/expressions/em_manager_helper.php(853): LimeExpressionManager::StartProcessingPage(true, true) 848 public static function getLEMqcode2sgqa($iSurveyId){ 849 $LEM =& LimeExpressionManager::singleton(); 850 851 $LEM->SetEMLanguage(Survey::model()->findByPk($iSurveyId)->language); 852 $LEM->SetSurveyId($iSurveyId); 853 $LEM->StartProcessingPage(true,true); 854 return $LEM->qcode2sgqa; 855 } 856 857 /** 858 * If $qid is set, returns the relevance equation generated from conditions (or NULL if there are no conditions for that $qid) |
#3 |
+
–
/var/www/lime25/limesurvey/application/helpers/expressions/em_manager_helper.php(868): LimeExpressionManager::getLEMqcode2sgqa("872677") 863 */ 864 public static function ConvertConditionsToRelevance($surveyId, $qid=NULL) 865 { 866 $aDictionary=array(); 867 if (!is_null($surveyId)) { 868 $aDictionary = LimeExpressionManager::getLEMqcode2sgqa($surveyId); 869 if (!is_null($aDictionary)) { 870 $aDictionary = array_flip($aDictionary); 871 } 872 } 873 $query = LimeExpressionManager::getConditionsForEM($surveyId,$qid); |
#4 |
+
–
/var/www/lime25/limesurvey/application/helpers/expressions/em_manager_helper.php(825): LimeExpressionManager::ConvertConditionsToRelevance("872677", null) 820 * @return int 821 */ 822 public static function RevertUpgradeConditionsToRelevance($surveyId=NULL, $qid=NULL) 823 { 824 LimeExpressionManager::SetDirtyFlag(); // set dirty flag even if not conditions, since must have had a DB change 825 $releqns = self::ConvertConditionsToRelevance($surveyId,$qid); 826 if(!is_array($releqns)) { 827 return NULL; 828 } 829 $num = count($releqns); 830 if ($num == 0) { |
#5 |
+
–
/var/www/lime25/limesurvey/application/helpers/admin/import_helper.php(2004): LimeExpressionManager::RevertUpgradeConditionsToRelevance("872677") 1999 translateInsertansTags($iNewSID, $iOldSID, $aOldNewFieldmap); 2000 replaceExpressionCodes($iNewSID, $aQuestionCodeReplacements); 2001 if (count($aQuestionCodeReplacements)) { 2002 array_unshift($results['importwarnings'], "<span class='warningtitle'>".gT('Attention: Several question codes were updated. Please check these carefully as the update may not be perfect with customized expressions.').'</span>'); 2003 } 2004 LimeExpressionManager::RevertUpgradeConditionsToRelevance($iNewSID); 2005 LimeExpressionManager::UpgradeConditionsToRelevance($iNewSID); 2006 return $results; 2007 } 2008 2009 /** |
#6 |
+
–
/var/www/lime25/limesurvey/application/helpers/admin/import_helper.php(1052): XMLImportSurvey("/var/www/lime25/limesurvey/tmp/7c4d9gsjm9vuph5xn9xxnd5iuxwxec.ls...", "<?xml version="1.0" encoding="UTF-8"?>
<document>
<LimeSurveyDo...", null, null, ...) 1047 } else { 1048 $sExtension = ""; 1049 } 1050 switch ($sExtension) { 1051 case 'lss': 1052 $aImportResults = XMLImportSurvey($sFullFilePath, null, $sNewSurveyName, $DestSurveyID, $bTranslateLinksFields); 1053 if (!empty($aImportResults['newsid'])) { 1054 TemplateConfiguration::checkAndcreateSurveyConfig($aImportResults['newsid']); 1055 } 1056 return $aImportResults; 1057 case 'txt': |
#7 |
+
–
/var/www/lime25/limesurvey/application/controllers/admin/surveyadmin.php(1059): importSurveyFile("/var/www/lime25/limesurvey/tmp/7c4d9gsjm9vuph5xn9xxnd5iuxwxec.ls...", true) 1054 1055 // Now, we have the survey : start importing 1056 Yii::app()->loadHelper('admin/import'); 1057 1058 if ($action == 'importsurvey' && !$aData['bFailed']) { 1059 $aImportResults = importSurveyFile($sFullFilepath, (Yii::app()->request->getPost('translinksfields') == '1')); 1060 if (is_null($aImportResults)) { 1061 $aImportResults = array( 1062 'error'=>gT("Unknown error while reading the file, no survey created.") 1063 ); 1064 } |
#8 |
unknown(0): SurveyAdmin->copy()
|
#9 |
+
–
/var/www/lime25/limesurvey/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(SurveyAdmin, 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 } |
#10 |
+
–
/var/www/lime25/limesurvey/application/core/Survey_Common_Action.php(83): CAction->runWithParamsInternal(SurveyAdmin, ReflectionMethod, array("sa" => "copy")) 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 |
#11 |
+
–
/var/www/lime25/limesurvey/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("sa" => "copy")) 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; |
#12 |
+
–
/var/www/lime25/limesurvey/framework/web/CController.php(286): CController->runAction(SurveyAdmin) 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(); |
#13 |
+
–
/var/www/lime25/limesurvey/framework/web/CController.php(265): CController->runActionWithFilters(SurveyAdmin, 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); |
#14 |
+
–
/var/www/lime25/limesurvey/application/controllers/AdminController.php(158): CController->run("survey") 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 * |
#15 |
+
–
/var/www/lime25/limesurvey/framework/web/CWebApplication.php(282): AdminController->run("survey") 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))); |
#16 |
+
–
/var/www/lime25/limesurvey/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/survey/sa/copy") 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. |
#17 |
+
–
/var/www/lime25/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 /** |
#18 |
+
–
/var/www/lime25/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 */ |