/var/www/limesurvey/application/controllers/admin/tokens.php(198)
186 $iSurveyIdBounce = explode(": ", $item); 187 } 188 if (preg_match('/^X-tokenid/', $item)) 189 { 190 $tokenBounce = explode(": ", $item); 191 if ($iSurveyId == $iSurveyIdBounce[1]) 192 { 193 $aData = array( 194 'emailstatus' => 'bounced' 195 ); 196 $condn = array('token' => $tokenBounce[1]); 197 $record = Token::model($iSurveyId)->findByAttributes($condn); 198 if ($record->emailstatus != 'bounced') 199 { 200 $record->emailstatus = 'bounced'; 201 $record->save(); 202 $bouncetotal++; 203 } 204 $readbounce = imap_body($mbox, $count); // Put read 205 if (isset($thissurvey['bounceremove']) && $thissurvey['bounceremove']) // TODO Y or just true, and a imap_delete 206 { 207 $deletebounce = imap_delete($mbox, $count); // Put delete 208 } 209 } 210 }
#0 |
unknown(0): tokens->bounceprocessing("468744")
|
#1 |
+
–
/var/www/limesurvey/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(tokens, array("468744")) 104 elseif($param->isDefaultValueAvailable()) 105 $ps[]=$param->getDefaultValue(); 106 else 107 return false; 108 } 109 $method->invokeArgs($object,$ps); 110 return true; 111 } 112 } |
#2 |
+
–
/var/www/limesurvey/application/core/Survey_Common_Action.php(88): CAction->runWithParamsInternal(tokens,
ReflectionMethod, array("YII_CSRF_TOKEN" =>
"708d2ded010d0a73c2d3c96151e78a928ac84805", "surveyid" => "468744",
"sa" => "bounceprocessing", "iSurveyId" => "468744", ...)) 83 $oMethod = new ReflectionMethod($this, $sDefault); 84 } 85 86 // We're all good to go, let's execute it 87 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params 88 return parent::runWithParamsInternal($this, $oMethod, $params); 89 } 90 91 /** 92 * Some functions have different parameters, which are just an alias of the 93 * usual parameters we're getting in the url. This function just populates |
#3 |
+
–
/var/www/limesurvey/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("YII_CSRF_TOKEN"
=> "708d2ded010d0a73c2d3c96151e78a928ac84805", "surveyid" =>
"468744", "sa" => "bounceprocessing", "iSurveyId" => "468744",
...)) 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; |
#4 |
+
–
/var/www/limesurvey/framework/web/CController.php(286): CController->runAction(tokens) 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(); |
#5 |
+
–
/var/www/limesurvey/framework/web/CController.php(265): CController->runActionWithFilters(tokens, 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); |
#6 |
+
–
/var/www/limesurvey/application/controllers/AdminController.php(159): CController->run("tokens") 154 $this->redirect(array('/admin/authentication/sa/login')); 155 } 156 157 } 158 159 return parent::run($action); 160 } 161 162 /** 163 * Routes all the actions to their respective places 164 * |
#7 |
+
–
/var/www/limesurvey/framework/web/CWebApplication.php(282): AdminController->run("tokens") 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))); |
#8 |
+
–
/var/www/limesurvey/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/tokens/sa/bounceprocessing") 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. |
#9 |
+
–
/var/www/limesurvey/framework/base/CApplication.php(184): CWebApplication->processRequest() 179 public function run() 180 { 181 if($this->hasEventHandler('onBeginRequest')) 182 $this->onBeginRequest(new CEvent($this)); 183 register_shutdown_function(array($this,'end'),0,false); 184 $this->processRequest(); 185 if($this->hasEventHandler('onEndRequest')) 186 $this->onEndRequest(new CEvent($this)); 187 } 188 189 /** |
#10 |
+
–
/var/www/limesurvey/index.php(211): CApplication->run() 206 die (sprintf('%s should be writable by the webserver (766 or 776).', $runtimePath)); 207 } 208 } 209 210 Yii::$enableIncludePath = false; 211 Yii::createApplication('LSYii_Application', $config)->run(); 212 213 /* End of file index.php */ 214 /* Location: ./index.php */ |