/var/www/med-ludinovo.ru/vendor/composer/ClassLoader.php
toggle arguments
|
* Prevents access to $this/self from included files. |
|
*/ |
|
function includeFile($file) |
|
{ |
|
include $file; |
|
} |
|
|
/var/www/med-ludinovo.ru/vendor/composer/ClassLoader.php
toggle arguments
|
*/ |
|
public function loadClass($class) |
|
{ |
|
if ($file = $this->findFile($class)) { |
|
includeFile($file); |
|
|
|
return true; |
|
} |
|
} |
/var/www/med-ludinovo.ru/vendor/cakephp/cakephp/src/Core/App.php
toggle arguments
|
* @return bool |
|
*/ |
|
protected static function _classExistsInBase($name, $namespace) |
|
{ |
|
return class_exists($namespace . $name); |
|
} |
|
|
|
/** |
|
* Used to read information stored path |
/var/www/med-ludinovo.ru/vendor/cakephp/cakephp/src/Core/App.php
toggle arguments
|
$base = $plugin ?: Configure::read('App.namespace'); |
|
$base = str_replace('/', '\\', rtrim($base, '\\')); |
|
$fullname = '\\' . str_replace('/', '\\', $type . '\\' . $name) . $suffix; |
|
|
|
if (static::_classExistsInBase($fullname, $base)) { |
|
return $base . $fullname; |
|
} |
|
if ($plugin) { |
|
return false; |
/var/www/med-ludinovo.ru/vendor/cakephp/cakephp/src/Http/ControllerFactory.php
toggle arguments
|
) { |
|
$this->missingController($request); |
|
} |
|
|
|
return App::className($pluginPath . $controller, $namespace, 'Controller') ?: null; |
|
} |
|
|
|
/** |
|
* Throws an exception when a controller is missing. |
/var/www/med-ludinovo.ru/vendor/cakephp/cakephp/src/Http/ControllerFactory.php
toggle arguments
|
* @throws \ReflectionException |
|
*/ |
|
public function create(ServerRequest $request, Response $response) |
|
{ |
|
$className = $this->getControllerClass($request); |
|
if (!$className) { |
|
$this->missingController($request); |
|
} |
|
$reflection = new ReflectionClass($className); |
/var/www/med-ludinovo.ru/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php
toggle arguments
|
// event handler if there is one. |
|
if ($beforeEvent->getData('controller') instanceof Controller) { |
|
$controller = $beforeEvent->getData('controller'); |
|
} else { |
|
$controller = $this->factory->create($request, $response); |
|
} |
|
|
|
$response = $this->_invoke($controller); |
|
if ($request->getParam('return')) { |
/var/www/med-ludinovo.ru/vendor/cakephp/cakephp/src/Http/BaseApplication.php
toggle arguments
|
* @return \Psr\Http\Message\ResponseInterface |
|
*/ |
|
public function __invoke(ServerRequestInterface $request, ResponseInterface $response, $next) |
|
{ |
|
return $this->getDispatcher()->dispatch($request, $response); |
|
} |
|
|
|
/** |
|
* Get the ActionDispatcher. |
/var/www/med-ludinovo.ru/vendor/cakephp/cakephp/src/Http/Runner.php
toggle arguments
|
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
/var/www/med-ludinovo.ru/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php
toggle arguments
|
|
|
$response = $result['response']; |
|
|
|
try { |
|
$response = $next($request, $response); |
|
|
|
$authenticator = $service->getAuthenticationProvider(); |
|
if ($authenticator !== null && !($authenticator instanceof StatelessInterface)) { |
|
$requestResponse = $service->persistIdentity( |
/var/www/med-ludinovo.ru/vendor/cakephp/cakephp/src/Http/Runner.php
toggle arguments
|
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
/var/www/med-ludinovo.ru/vendor/cakephp/cakephp/src/Http/Runner.php
toggle arguments
|
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
/var/www/med-ludinovo.ru/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php
toggle arguments
|
$token = $this->_createToken(); |
|
$request = $this->_addTokenToRequest($token, $request); |
|
$response = $this->_addTokenCookie($token, $request, $response); |
|
|
|
return $next($request, $response); |
|
} |
|
$request = $this->_validateAndUnsetTokenField($request); |
|
|
|
return $next($request, $response); |
/var/www/med-ludinovo.ru/vendor/cakephp/cakephp/src/Http/Runner.php
toggle arguments
|
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
/var/www/med-ludinovo.ru/vendor/cakephp/cakephp/src/Http/Runner.php
toggle arguments
|
{ |
|
$this->middleware = $middleware; |
|
$this->index = 0; |
|
|
|
return $this->__invoke($request, $response); |
|
} |
|
|
|
/** |
|
* @param \Psr\Http\Message\ServerRequestInterface $request The server request |
/var/www/med-ludinovo.ru/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php
toggle arguments
|
$matching[] = $next; |
|
$middleware = new MiddlewareQueue($matching); |
|
$runner = new Runner(); |
|
|
|
return $runner->run($middleware, $request, $response); |
|
} |
|
} |
|
|
/var/www/med-ludinovo.ru/vendor/cakephp/cakephp/src/Http/Runner.php
toggle arguments
|
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
/var/www/med-ludinovo.ru/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php
toggle arguments
|
public function __invoke($request, $response, $next) |
|
{ |
|
$url = $request->getUri()->getPath(); |
|
if (strpos($url, '..') !== false || strpos($url, '.') === false) { |
|
return $next($request, $response); |
|
} |
|
|
|
if (strpos($url, '/.') !== false) { |
|
return $next($request, $response); |
/var/www/med-ludinovo.ru/vendor/cakephp/cakephp/src/Http/Runner.php
toggle arguments
|
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
/var/www/med-ludinovo.ru/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php
toggle arguments
|
*/ |
|
public function __invoke($request, $response, $next) |
|
{ |
|
try { |
|
return $next($request, $response); |
|
} catch (Throwable $exception) { |
|
return $this->handleException($exception, $request, $response); |
|
} catch (Exception $exception) { |
|
return $this->handleException($exception, $request, $response); |
/var/www/med-ludinovo.ru/vendor/cakephp/cakephp/src/Http/Runner.php
toggle arguments
|
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
/var/www/med-ludinovo.ru/vendor/cakephp/cakephp/src/Http/Runner.php
toggle arguments
|
{ |
|
$this->middleware = $middleware; |
|
$this->index = 0; |
|
|
|
return $this->__invoke($request, $response); |
|
} |
|
|
|
/** |
|
* @param \Psr\Http\Message\ServerRequestInterface $request The server request |
/var/www/med-ludinovo.ru/vendor/cakephp/cakephp/src/Http/Server.php
toggle arguments
|
} |
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
$middleware->add($this->app); |
|
|
|
$response = $this->runner->run($middleware, $request, $response); |
|
|
|
if (!($response instanceof ResponseInterface)) { |
|
throw new RuntimeException(sprintf( |
|
'Application did not create a response. Got "%s" instead.', |
/var/www/med-ludinovo.ru/webroot/index.php
toggle arguments
|
// Bind your application to the server. |
|
$server = new Server(new Application(dirname(__DIR__) . '/config')); |
|
|
|
// Run the request/response through the application and emit the response. |
|
$server->emit($server->run()); |
|
|
Error in:
ROOT/src/Controller/PgroupsController.php, line 2
Warning (2): Function must be enabled in php.ini by setting 'xdebug.mode' to 'develop' [APP/Template/Error/error500.ctp, line 33]Code Context if (extension_loaded('xdebug')) :
xdebug_print_function_stack();
endif;
xdebug_print_function_stack - [internal], line ??
include - APP/Template/Error/error500.ctp, line 33
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1420
Cake\View\View::_render() - CORE/src/View/View.php, line 1381
Cake\View\View::render() - CORE/src/View/View.php, line 879
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 795
Cake\Error\ExceptionRenderer::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 369
Cake\Error\ExceptionRenderer::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 378
Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 243
Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 116
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 98
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Http\Server::run() - CORE/src/Http/Server.php, line 97
[main] - ROOT/webroot/index.php, line 40
If you want to customize this error message, create
src/Template/Error/error500.ctp