CHttpException

The CSRF token could not be verified.

/var/www/html/LimeSurvey-develop/framework/web/CHttpRequest.php(1377)

1365 
1366             if (!empty($maskedUserToken) && $cookies->contains($this->csrfTokenName))
1367             {
1368                 $securityManager=Yii::app()->getSecurityManager();
1369                 $maskedCookieToken=$cookies->itemAt($this->csrfTokenName)->value;
1370                 $cookieToken=$securityManager->unmaskToken($maskedCookieToken);
1371                 $userToken=$securityManager->unmaskToken($maskedUserToken);
1372                 $valid=$cookieToken===$userToken;
1373             }
1374             else
1375                 $valid = false;
1376             if (!$valid)
1377                 throw new CHttpException(400,Yii::t('yii','The CSRF token could not be verified.'));
1378         }
1379     }
1380 
1381 
1382     /**
1383      * Returns the version of the HTTP protocol used by client.
1384      *
1385      * @return string the version of the HTTP protocol.
1386      * @since 1.1.16
1387      */
1388     public function getHttpVersion()
1389     {

Stack Trace

#3
+
 /var/www/html/LimeSurvey-develop/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 */
2019-01-03 17:43:14 Apache/2.4.29 (Ubuntu) Yii Framework/1.1.20