we had an iframe for surveys in different domains. since the last update (after 3.18) the iframed survey gives 400error.
looking through forums and also this bug report:
bugs.limesurvey.org/view.php?id=9634
we tried solutions in config.php but nothing worked. can somebody help?
thanx in advance
debug code:
Code:
CHttpException
Ήταν αδύνατη η επαλήθευση του συμβόλου CSRF./home/prorataonlinesur/public_html/framework/web/CHttpRequest.php(1378)13661367if(!empty($maskedUserToken)&&$cookies->contains($this->csrfTokenName))1368{1369$securityManager=Yii::app()->getSecurityManager();1370$maskedCookieToken=$cookies->itemAt($this->csrfTokenName)->value;1371$cookieToken=$securityManager->unmaskToken($maskedCookieToken);1372$userToken=$securityManager->unmaskToken($maskedUserToken);1373$valid=$cookieToken===$userToken;1374}1375else1376$valid=false;1377if(!$valid)1378thrownew CHttpException(400,Yii::t('yii','The CSRF token could not be verified.'));1379}1380}138113821383/**
1384 * Returns the version of the HTTP protocol used by client.
1385 *
1386 * @return string the version of the HTTP protocol.
1387 * @since 1.1.16
1388 */1389publicfunction getHttpVersion()1390{
Stack Trace
#0
+/home/prorataonlinesur/public_html/framework/base/CComponent.php(561): CHttpRequest->validateCsrfToken(CEvent)#1
+/home/prorataonlinesur/public_html/framework/base/CApplication.php(212): CComponent->raiseEvent("onbeginrequest", CEvent)#2
+/home/prorataonlinesur/public_html/framework/base/CApplication.php(183): CApplication->onBeginRequest(CEvent)#3
–
/home/prorataonlinesur/public_html/index.php(194): CApplication->run()189require_once APPPATH .'core/LSYii_Application'. EXT;190191$config=require_once(APPPATH .'config/internal'. EXT);192193 Yii::$enableIncludePath=false;194 Yii::createApplication('LSYii_Application',$config)->run();195196/* End of file index.php */197/* Location: ./index.php */2020-02-2515:28:21 Apache Yii Framework/1.1.22-dev