- Posts: 3
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
CHttpException Fehlerhafte Gruppenkennziffer /var/www/html/limesurvey/application/core/Survey_Common_Action.php(165) 153 $oQuestion = Question::model()->find("qid=:qid", array(":qid"=>$params['iQuestionId'])); //Move this in model to use cache 154 if (!$oQuestion) { 155 throw new CHttpException(404, gT("Question not found")); 156 } 157 if (!isset($params['iGroupId'])) { 158 $params['iGroupId'] = $params['gid'] = $oQuestion->gid; 159 } 160 } 161 // iSurveyId/iSurveyID/sid can be found with gid/iGroupId 162 if (!empty($params['iGroupId'])) { 163 if ((string) (int) $params['iGroupId'] !== (string) $params['iGroupId']) { 164 // pgsql need filtering before find 165 throw new CHttpException(403, gT("Invalid group id")); 166 } 167 $oGroup = QuestionGroup::model()->find("gid=:gid", array(":gid"=>$params['iGroupId'])); //Move this in model to use cache 168 if (!$oGroup) { 169 throw new CHttpException(404, gT("Group not found")); 170 } 171 if (!isset($params['iSurveyId'])) { 172 $params['iSurveyId'] = $params['iSurveyID'] = $params['surveyid'] = $params['sid'] = $oGroup->sid; 173 } 174 } 175 // Finally control validity of sid 176 if (!empty($params['iSurveyId'])) { 177 if ((string) (int) $params['iSurveyId'] !== (string) $params['iSurveyId']) {
Stack Trace #0 – /var/www/html/limesurvey/application/core/Survey_Common_Action.php(62): Survey_Common_Action->_addPseudoParams() 57 // If it doesn't, revert to default Yii method, that is run() which should reroute us somewhere else 58 $sSubAction = 'run'; 59 } 60 61 // Populate the params. eg. surveyid -> iSurveyId 62 $params = $this->_addPseudoParams($params); 63 64 if (!empty($params['iSurveyId'])) { 65 LimeExpressionManager::SetSurveyId($params['iSurveyId']); // must be called early - it clears internal cache if a new survey is being used 66 } 67 // Check if the method is public and of the action class, not its parents
#4 – /var/www/html/limesurvey/application/controllers/AdminController.php(165): CController->run() 160 $this->redirect(array('/admin/authentication/sa/login')); 161 } 162 } 163 } 164 165 return parent::run($action); 166 } 167 168 /** 169 * Routes all the actions to their respective places 170 * [code]#8 – /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 */