/usr/local/www/hosting/touradmin.ru/vendor/zhuravljov/yii2-debug/Yii2Debug.php(254)
242 $request = Yii::app()->getRequest(); 243 $manifest[$this->getTag()] = $data['summary'] = array( 244 'tag' => $this->getTag(), 245 'url' => $request->getHostInfo() . $request->getUrl(), 246 'ajax' => $request->getIsAjaxRequest(), 247 'method' => $request->getRequestType(), 248 'code' => $statusCode, 249 'ip' => $request->getUserHostAddress(), 250 'time' => time(), 251 ); 252 $this->resizeHistory($manifest); 253 254 file_put_contents("$path/{$this->getTag()}.data", serialize($data)); 255 file_put_contents($indexFile, serialize($manifest)); 256 } 257 258 /** 259 * Debug files rotation according to {@link ::$historySize}. 260 * @param $manifest 261 */ 262 protected function resizeHistory(&$manifest) 263 { 264 $tags = array_keys($manifest); 265 $count = 0; 266 foreach ($tags as $tag) {
#0 |
+
–
/usr/local/www/hosting/touradmin.ru/vendor/zhuravljov/yii2-debug/Yii2Debug.php(254): file_put_contents("/usr/local/www/hosting/touradmin.ru/app/runtime/debug/6606b0d5c4...", "a:6:{s:6:"config";a:4:{s:10:"phpVersion";s:6:"5.6.40";s:10:"yiiV...") 249 'ip' => $request->getUserHostAddress(), 250 'time' => time(), 251 ); 252 $this->resizeHistory($manifest); 253 254 file_put_contents("$path/{$this->getTag()}.data", serialize($data)); 255 file_put_contents($indexFile, serialize($manifest)); 256 } 257 258 /** 259 * Debug files rotation according to {@link ::$historySize}. |
#1 |
+
–
/usr/local/www/hosting/touradmin.ru/vendor/zhuravljov/yii2-debug/Yii2Debug.php(208): Yii2Debug->processDebug() 203 /** 204 * @param CEvent $event 205 */ 206 protected function onEndRequest($event) 207 { 208 $this->processDebug(); 209 } 210 211 /** 212 * Log processing routine. 213 */ |
#2 |
+
–
/usr/local/www/hosting/touradmin.ru/vendor/yiisoft/yii/framework/base/CComponent.php(561): Yii2Debug->onEndRequest(CEvent) 556 // an array: 0 - object, 1 - method name 557 list($object,$method)=$handler; 558 if(is_string($object)) // static method call 559 call_user_func($handler,$event); 560 elseif(method_exists($object,$method)) 561 $object->$method($event); 562 else 563 throw new CException(Yii::t('yii','Event "{class}.{event}" is attached with an invalid handler "{handler}".', 564 array('{class}'=>get_class($this), '{event}'=>$name, '{handler}'=>$handler[1]))); 565 } 566 else // PHP 5.3: anonymous function |
#3 |
+
–
/usr/local/www/hosting/touradmin.ru/vendor/yiisoft/yii/framework/base/CApplication.php(219): CComponent->raiseEvent("onEndRequest", CEvent) 214 public function onEndRequest($event) 215 { 216 if(!$this->_ended) 217 { 218 $this->_ended=true; 219 $this->raiseEvent('onEndRequest',$event); 220 } 221 } 222 223 /** 224 * Returns the unique identifier for the application. |
#4 |
+
–
/usr/local/www/hosting/touradmin.ru/vendor/yiisoft/yii/framework/base/CApplication.php(196): CApplication->onEndRequest(CEvent) 191 * It defaults to true, meaning the PHP's exit() function will be called at the end of this method. 192 */ 193 public function end($status=0,$exit=true) 194 { 195 if($this->hasEventHandler('onEndRequest')) 196 $this->onEndRequest(new CEvent($this)); 197 if($exit) 198 exit($status); 199 } 200 201 /** |
#5 |
+
–
/usr/local/www/hosting/touradmin.ru/app/controllers/SeminarController.php(77): CApplication->end() 72 } 73 } 74 } 75 echo $result; 76 } 77 Yii::app()->end(); 78 } 79 } |
#6 |
+
–
/usr/local/www/hosting/touradmin.ru/vendor/yiisoft/yii/framework/web/actions/CInlineAction.php(49): application\controllers\SeminarController->actionRequest() 44 $controller=$this->getController(); 45 $method=new ReflectionMethod($controller, $methodName); 46 if($method->getNumberOfParameters()>0) 47 return $this->runWithParamsInternal($controller, $method, $params); 48 else 49 return $controller->$methodName(); 50 } 51 52 } |
#7 |
+
–
/usr/local/www/hosting/touradmin.ru/vendor/yiisoft/yii/framework/web/CController.php(308): CInlineAction->runWithParams(array("id" => "23")) 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; |
#8 |
+
–
/usr/local/www/hosting/touradmin.ru/vendor/yiisoft/yii/framework/web/CController.php(286): CController->runAction(CInlineAction) 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(); |
#9 |
+
–
/usr/local/www/hosting/touradmin.ru/vendor/yiisoft/yii/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, 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); |
#10 |
+
–
/usr/local/www/hosting/touradmin.ru/vendor/yiisoft/yii/framework/web/CWebApplication.php(282): CController->run("request") 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))); |
#11 |
+
–
/usr/local/www/hosting/touradmin.ru/vendor/yiisoft/yii/framework/web/CWebApplication.php(141): CWebApplication->runController("seminar/request") 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. |
#12 |
+
–
/usr/local/www/hosting/touradmin.ru/vendor/yiisoft/yii/framework/base/CApplication.php(180): CWebApplication->processRequest() 175 public function run() 176 { 177 if($this->hasEventHandler('onBeginRequest')) 178 $this->onBeginRequest(new CEvent($this)); 179 register_shutdown_function(array($this,'end'),0,false); 180 $this->processRequest(); 181 if($this->hasEventHandler('onEndRequest')) 182 $this->onEndRequest(new CEvent($this)); 183 } 184 185 /** |
#13 |
+
–
/usr/local/www/hosting/touradmin.ru/www/index.php(23): CApplication->run() 18 } 19 require_once __DIR__ . '/../vendor/autoload.php'; 20 require_once($yiiBase); 21 require_once($yii); 22 require_once __DIR__ . '/../app/app/WebApplication.php'; 23 Yii::createWebApplication($config)->run(); |