CHttpException

A pesquisa em que você está tentando participar parece não existir.

/var/www/html/application/controllers/survey/index.php(49)

37         $surveyid    = $param['sid'];
38         $thisstep    = $param['thisstep'];
39         $move        = getMove();
40         $clienttoken = trim($param['token']);
41 
42         $oSurvey = Survey::model()->findByPk($surveyid);
43 
44         if (empty($oSurvey)) {
45             $event = new PluginEvent('onSurveyDenied');
46             $event->set('surveyId', $surveyid);
47             $event->set('reason', 'surveyDoesNotExist');
48             App()->getPluginManager()->dispatchEvent($event);
49             throw new CHttpException(404, gT("The survey in which you are trying to participate does not seem to exist."));
50             /* Alt solution */
51             //~ header("HTTP/1.0 404 Not Found",true,404);
52             //~ Yii::app()->twigRenderer->renderTemplateFromFile("layout_errors.twig",
53                 //~ array('aSurveyInfo' =>array(
54                     //~ 'aError'=>array(
55                         //~ 'error'=>gT('404: Not Found'),
56                         //~ 'title'=>gT('This survey does not seem to exist'),
57                         //~ 'message'=>gT("The survey in which you are trying to participate does not seem to exist. It may have been deleted or the link you were given is outdated or incorrect.")
58                     //~ ),
59                 //~ )), false);
60         }
61 

Stack Trace

#0
+
 /var/www/html/application/controllers/survey/index.php(26): index->action()
21     public $oTemplate;
22 
23     public function run()
24     {
25         useFirebug();
26         $this->action();
27     }
28 
29     public function action()
30     {
31         global $surveyid;
#8
+
 /var/www/html/index.php(200): CApplication->run()
195 require_once APPPATH . 'core/LSYii_Application' . EXT;
196 
197 $config = require_once(APPPATH . 'config/internal' . EXT);
198 
199 Yii::$enableIncludePath = false;
200 Yii::createApplication('LSYii_Application', $config)->run();
201 
202 /* End of file index.php */
203 /* Location: ./index.php */
2024-03-28 19:57:53 Apache/2.4.6 (CentOS) PHP/7.2.34 Yii Framework/1.1.24-dev