Warning (512)
: You should set `zend.assertions` to `1` in your php.ini for your development environment. [in
/var/www/houdart-api/vendor/cakephp/cakephp/src/Core/Configure.php, line
102]
Code
if ($config['debug'] && PHP_SAPI !== 'cli' && ini_get('zend.assertions') === '-1') {
trigger_error(
'You should set `zend.assertions` to `1` in your php.ini for your development environment.',
/var/www/houdart-api/vendor/cakephp/cakephp/src/Core/Configure.php /var/www/houdart-api/vendor/cakephp/cakephp/src/Core/Configure.php, line 102
Cake\Core\Configure::write() /var/www/houdart-api/vendor/cakephp/cakephp/src/Core/Configure.php, line 352
Cake\Core\Configure::load() /var/www/houdart-api/config/bootstrap.php, line 247
/var/www/houdart-api/vendor/cakephp/cakephp/src/Http/BaseApplication.php /var/www/houdart-api/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 183
Cake\Http\BaseApplication->bootstrap() /var/www/houdart-api/src/Application.php, line 52
App\Application->bootstrap() /var/www/houdart-api/vendor/cakephp/cakephp/src/Http/Server.php, line 122
Cake\Http\Server->bootstrap() /var/www/houdart-api/vendor/cakephp/cakephp/src/Http/Server.php, line 84
Cake\Http\Server->run() /var/www/houdart-api/webroot/index.php, line 55
[main]
Warning (512)
: You should set `zend.assertions` to `1` in your php.ini for your development environment. [in
/var/www/houdart-api/vendor/cakephp/cakephp/src/Core/Configure.php, line
102]
Code
if ($config['debug'] && PHP_SAPI !== 'cli' && ini_get('zend.assertions') === '-1') {
trigger_error(
'You should set `zend.assertions` to `1` in your php.ini for your development environment.',
/var/www/houdart-api/vendor/cakephp/cakephp/src/Core/Configure.php /var/www/houdart-api/vendor/cakephp/cakephp/src/Core/Configure.php, line 102
Cake\Core\Configure::write() /var/www/houdart-api/vendor/cakephp/cakephp/src/Core/Configure.php, line 352
Cake\Core\Configure::load() /var/www/houdart-api/src/Application.php, line 61
App\Application->bootstrap() /var/www/houdart-api/vendor/cakephp/cakephp/src/Http/Server.php, line 122
Cake\Http\Server->bootstrap() /var/www/houdart-api/vendor/cakephp/cakephp/src/Http/Server.php, line 84
Cake\Http\Server->run() /var/www/houdart-api/webroot/index.php, line 55
[main]
Warning (512)
: You should set `zend.assertions` to `1` in your php.ini for your development environment. [in
/var/www/houdart-api/vendor/cakephp/cakephp/src/Core/Configure.php, line
102]
Code
if ($config['debug'] && PHP_SAPI !== 'cli' && ini_get('zend.assertions') === '-1') {
trigger_error(
'You should set `zend.assertions` to `1` in your php.ini for your development environment.',
/var/www/houdart-api/vendor/cakephp/cakephp/src/Core/Configure.php /var/www/houdart-api/vendor/cakephp/cakephp/src/Core/Configure.php, line 102
Cake\Core\Configure::write() /var/www/houdart-api/vendor/cakephp/cakephp/src/Core/Configure.php, line 352
Cake\Core\Configure::load() /var/www/houdart-api/vendor/cakedc/users/config/bootstrap.php, line 17
/var/www/houdart-api/vendor/cakephp/cakephp/src/Core/BasePlugin.php /var/www/houdart-api/vendor/cakephp/cakephp/src/Core/BasePlugin.php, line 278
Cake\Core\BasePlugin->bootstrap() /var/www/houdart-api/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 198
Cake\Http\BaseApplication->pluginBootstrap() /var/www/houdart-api/vendor/cakephp/cakephp/src/Http/Server.php, line 124
Cake\Http\Server->bootstrap() /var/www/houdart-api/vendor/cakephp/cakephp/src/Http/Server.php, line 84
Cake\Http\Server->run() /var/www/houdart-api/webroot/index.php, line 55
[main]
Warning (512)
: You should set `zend.assertions` to `1` in your php.ini for your development environment. [in
/var/www/houdart-api/vendor/cakephp/cakephp/src/Core/Configure.php, line
102]
Code
if ($config['debug'] && PHP_SAPI !== 'cli' && ini_get('zend.assertions') === '-1') {
trigger_error(
'You should set `zend.assertions` to `1` in your php.ini for your development environment.',
/var/www/houdart-api/vendor/cakephp/cakephp/src/Core/Configure.php /var/www/houdart-api/vendor/cakephp/cakephp/src/Core/Configure.php, line 102
Cake\Core\Configure::write() /var/www/houdart-api/vendor/cakephp/cakephp/src/Core/Configure.php, line 352
Cake\Core\Configure::load() /var/www/houdart-api/vendor/cakedc/users/config/bootstrap.php, line 19
Cake\Core\BasePlugin->{closure}() /var/www/houdart-api/vendor/cakephp/cakephp/src/Collection/CollectionTrait.php, line 75
Cake\Collection\Collection->each() /var/www/houdart-api/vendor/cakedc/users/config/bootstrap.php, line 18
/var/www/houdart-api/vendor/cakephp/cakephp/src/Core/BasePlugin.php /var/www/houdart-api/vendor/cakephp/cakephp/src/Core/BasePlugin.php, line 278
Cake\Core\BasePlugin->bootstrap() /var/www/houdart-api/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 198
Cake\Http\BaseApplication->pluginBootstrap() /var/www/houdart-api/vendor/cakephp/cakephp/src/Http/Server.php, line 124
Cake\Http\Server->bootstrap() /var/www/houdart-api/vendor/cakephp/cakephp/src/Http/Server.php, line 84
Cake\Http\Server->run() /var/www/houdart-api/webroot/index.php, line 55
[main]
Warning (512)
: You should set `zend.assertions` to `1` in your php.ini for your development environment. [in
/var/www/houdart-api/vendor/cakephp/cakephp/src/Core/Configure.php, line
102]
Code
if ($config['debug'] && PHP_SAPI !== 'cli' && ini_get('zend.assertions') === '-1') {
trigger_error(
'You should set `zend.assertions` to `1` in your php.ini for your development environment.',
/var/www/houdart-api/vendor/cakephp/cakephp/src/Core/Configure.php /var/www/houdart-api/vendor/cakephp/cakephp/src/Core/Configure.php, line 102
Cake\Core\Configure::write() /var/www/houdart-api/vendor/cakephp/cakephp/src/Core/Configure.php, line 352
Cake\Core\Configure::load() /var/www/houdart-api/vendor/cakedc/cakephp-api/config/bootstrap.php, line 15
/var/www/houdart-api/vendor/cakephp/cakephp/src/Core/BasePlugin.php /var/www/houdart-api/vendor/cakephp/cakephp/src/Core/BasePlugin.php, line 278
Cake\Core\BasePlugin->bootstrap() /var/www/houdart-api/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 198
Cake\Http\BaseApplication->pluginBootstrap() /var/www/houdart-api/vendor/cakephp/cakephp/src/Http/Server.php, line 124
Cake\Http\Server->bootstrap() /var/www/houdart-api/vendor/cakephp/cakephp/src/Http/Server.php, line 84
Cake\Http\Server->run() /var/www/houdart-api/webroot/index.php, line 55
[main]
Warning (512)
: You should set `zend.assertions` to `1` in your php.ini for your development environment. [in
/var/www/houdart-api/vendor/cakephp/cakephp/src/Core/Configure.php, line
102]
Code
if ($config['debug'] && PHP_SAPI !== 'cli' && ini_get('zend.assertions') === '-1') {
trigger_error(
'You should set `zend.assertions` to `1` in your php.ini for your development environment.',
/var/www/houdart-api/vendor/cakephp/cakephp/src/Core/Configure.php /var/www/houdart-api/vendor/cakephp/cakephp/src/Core/Configure.php, line 102
Cake\Core\Configure::write() /var/www/houdart-api/vendor/cakephp/cakephp/src/Core/Configure.php, line 352
Cake\Core\Configure::load() /var/www/houdart-api/vendor/cakedc/cakephp-api/config/bootstrap.php, line 21
Cake\Core\BasePlugin->{closure}() /var/www/houdart-api/vendor/cakephp/cakephp/src/Collection/CollectionTrait.php, line 75
Cake\Collection\Collection->each() /var/www/houdart-api/vendor/cakedc/cakephp-api/config/bootstrap.php, line 16
/var/www/houdart-api/vendor/cakephp/cakephp/src/Core/BasePlugin.php /var/www/houdart-api/vendor/cakephp/cakephp/src/Core/BasePlugin.php, line 278
Cake\Core\BasePlugin->bootstrap() /var/www/houdart-api/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 198
Cake\Http\BaseApplication->pluginBootstrap() /var/www/houdart-api/vendor/cakephp/cakephp/src/Http/Server.php, line 124
Cake\Http\Server->bootstrap() /var/www/houdart-api/vendor/cakephp/cakephp/src/Http/Server.php, line 84
Cake\Http\Server->run() /var/www/houdart-api/webroot/index.php, line 55
[main]
Warning (512)
: Unable to emit headers. Headers sent in file=/var/www/houdart-api/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=37 [in
/var/www/houdart-api/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
65]
Code
$message = "Unable to emit headers. Headers sent in file=$file line=$line";
trigger_error($message, E_USER_WARNING);
}
/var/www/houdart-api/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /var/www/houdart-api/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 65
Cake\Http\ResponseEmitter->emit() /var/www/houdart-api/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 300
Cake\Error\Renderer\WebExceptionRenderer->write() /var/www/houdart-api/vendor/cakephp/cakephp/src/Error/ExceptionTrap.php, line 239
Cake\Error\ExceptionTrap->handleException() [internal], line ??
[main]
Warning (2)
: Cannot modify header information - headers already sent by (output started at /var/www/houdart-api/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in
/var/www/houdart-api/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
159]
Code
$reasonPhrase = $response->getReasonPhrase();
header(sprintf(
'HTTP/%s %d%s',
/var/www/houdart-api/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /var/www/houdart-api/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 159
Cake\Http\ResponseEmitter->emitStatusLine() /var/www/houdart-api/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 68
Cake\Http\ResponseEmitter->emit() /var/www/houdart-api/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 300
Cake\Error\Renderer\WebExceptionRenderer->write() /var/www/houdart-api/vendor/cakephp/cakephp/src/Error/ExceptionTrap.php, line 239
Cake\Error\ExceptionTrap->handleException() [internal], line ??
[main]
Warning (2)
: Cannot modify header information - headers already sent by (output started at /var/www/houdart-api/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in
/var/www/houdart-api/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
192]
Code
foreach ($values as $value) {
header(sprintf(
'%s: %s',
/var/www/houdart-api/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /var/www/houdart-api/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 192
Cake\Http\ResponseEmitter->emitHeaders() /var/www/houdart-api/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 69
Cake\Http\ResponseEmitter->emit() /var/www/houdart-api/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 300
Cake\Error\Renderer\WebExceptionRenderer->write() /var/www/houdart-api/vendor/cakephp/cakephp/src/Error/ExceptionTrap.php, line 239
Cake\Error\ExceptionTrap->handleException() [internal], line ??
[main]
CORE/src/Database/Connection.php at line 172
(edit)
|
$writeDriver = new $driverClass(['_role' => self::ROLE_WRITE] + $writeConfig); |
|
} |
|
|
|
if (!$writeDriver->enabled()) { |
|
throw new MissingExtensionException(['driver' => get_class($writeDriver), 'name' => $this->configName()]); |
|
} |
|
|
|
return [self::ROLE_READ => $readDriver, self::ROLE_WRITE => $writeDriver]; |
|
} |
-
|
*/ |
|
public function __construct(array $config) |
|
{ |
|
$this->_config = $config; |
|
[self::ROLE_READ => $this->readDriver, self::ROLE_WRITE => $this->writeDriver] = $this->createDrivers($config); |
|
} |
|
|
|
/** |
|
* Creates read and write drivers. |
Toggle Arguments
[
'scheme' => 'sqlite',
'host' => '127.0.0.1',
'database' => 'tmp/tests.sqlite',
'driver' => 'Cake\Database\Driver\Sqlite',
'persistent' => false,
'timezone' => 'UTC',
'flags' => [
],
'cacheMetadata' => true,
'quoteIdentifiers' => false,
'log' => false,
'username' => 'my_app',
'password' => 'secret',
'name' => 'test',
]
-
|
{ |
|
if (is_string($class)) { |
|
unset($config['className']); |
|
|
|
return new $class($config); |
|
} |
|
|
|
if ($class instanceof Closure) { |
|
return $class($alias); |
Toggle Arguments
[
'scheme' => 'sqlite',
'host' => '127.0.0.1',
'database' => 'tmp/tests.sqlite',
'driver' => 'Cake\Database\Driver\Sqlite',
'persistent' => false,
'timezone' => 'UTC',
'flags' => [
],
'cacheMetadata' => true,
'quoteIdentifiers' => false,
'log' => false,
'username' => 'my_app',
'password' => 'secret',
'name' => 'test',
]
-
|
$this->_throwMissingClassError($name, $plugin); |
|
} |
|
} |
|
|
|
$instance = $this->_create($className, $objName, $config); |
|
$this->_loaded[$objName] = $instance; |
|
|
|
return $instance; |
|
} |
Toggle Arguments
'Cake\Database\Connection'
[
'scheme' => 'sqlite',
'host' => '127.0.0.1',
'database' => 'tmp/tests.sqlite',
'driver' => 'Cake\Database\Driver\Sqlite',
'persistent' => false,
'timezone' => 'UTC',
'flags' => [
],
'cacheMetadata' => true,
'quoteIdentifiers' => false,
'log' => false,
'username' => 'my_app',
'password' => 'secret',
'name' => 'test',
]
-
|
throw new MissingDatasourceConfigException(['name' => $name]); |
|
} |
|
static::$_registry ??= new ConnectionRegistry(); |
|
|
|
return static::$_registry->{$name} ?? static::$_registry->load($name, static::$_config[$name]); |
|
} |
|
} |
|
|
Toggle Arguments
'Cake\Database\Connection'
[
'scheme' => 'sqlite',
'host' => '127.0.0.1',
'className' => 'Cake\Database\Connection',
'database' => 'tmp/tests.sqlite',
'driver' => 'Cake\Database\Driver\Sqlite',
'persistent' => false,
'timezone' => 'UTC',
'flags' => [
],
'cacheMetadata' => true,
'quoteIdentifiers' => false,
'log' => false,
'username' => 'my_app',
'password' => 'secret',
'name' => 'test',
]
-
|
$configs = ConnectionManager::configured(); |
|
$includeSchemaReflection = (bool)Configure::read('DebugKit.includeSchemaReflection'); |
|
|
|
foreach ($configs as $name) { |
|
$connection = ConnectionManager::get($name); |
|
if ( |
|
$connection->configName() === 'debug_kit' |
|
|| !$connection instanceof ConnectionInterface |
|
) { |
Toggle Arguments
-
|
*/ |
|
public function initializePanels(): void |
|
{ |
|
foreach ($this->registry->loaded() as $panel) { |
|
$this->registry->{$panel}->initialize(); |
|
} |
|
} |
|
|
|
/** |
Toggle Arguments
-
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
if ($this->service->isEnabled()) { |
|
$this->service->loadPanels(); |
|
$this->service->initializePanels(); |
|
} |
|
$response = $handler->handle($request); |
|
|
|
if (!$this->service->isEnabled()) { |
Toggle Arguments
-
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
'file' => '/var/www/houdart-api/vendor/cakephp/cakephp/src/Core/ObjectRegistry.php',
'line' => '107',
]
protected cookies => [
]
protected _environment => [
'USER' => 'www-data',
'HOME' => '/var/www',
'SCRIPT_NAME' => '/index.php',
'REQUEST_URI' => '/phpstorm:/open?file=%2Fvar%2Fwww%2Fhoudart-api%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FCore%2FObjectRegistry.php&line=107',
'QUERY_STRING' => 'file=%2Fvar%2Fwww%2Fhoudart-api%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FCore%2FObjectRegistry.php&line=107',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_QUERY_STRING' => 'file=%2Fvar%2Fwww%2Fhoudart-api%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FCore%2FObjectRegistry.php&line=107',
'REDIRECT_URL' => '/phpstorm:/open',
'REMOTE_PORT' => '31159',
'SCRIPT_FILENAME' => '/var/www/houdart-api/webroot/index.php',
'SERVER_ADMIN' => '[no address given]',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/houdart-api/webroot/',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/var/www/houdart-api/webroot/',
'REMOTE_ADDR' => '216.73.216.58',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '89.116.227.231',
'SERVER_NAME' => 'houdart.debonmatin.fr',
'SERVER_SOFTWARE' => 'Apache/2.4.52 (Ubuntu)',
'SERVER_SIGNATURE' => '<address>Apache/2.4.52 (Ubuntu) Server at houdart.debonmatin.fr Port 443</address>
',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'houdart.debonmatin.fr',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'houdart.debonmatin.fr',
'HTTPS' => 'on',
'H2_STREAM_TAG' => '1730431-325-1',
'H2_STREAM_ID' => '1',
'H2_PUSHED_ON' => '',
'H2_PUSHED' => '',
'H2_PUSH' => 'off',
'H2PUSH' => 'off',
'HTTP2' => 'on',
'SCRIPT_URI' => 'https://houdart.debonmatin.fr/phpstorm:/open',
'SCRIPT_URL' => '/phpstorm:/open',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'houdart.debonmatin.fr',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_H2_STREAM_TAG' => '1730431-325-1',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://houdart.debonmatin.fr/phpstorm:/open',
'REDIRECT_SCRIPT_URL' => '/phpstorm:/open',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1768475445.8744,
'REQUEST_TIME' => (int) 1768475445,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #203
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'houdart.debonmatin.fr'
private port => null
private path => '/phpstorm:/open'
private query => 'file=%2Fvar%2Fwww%2Fhoudart-api%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FCore%2FObjectRegistry.php&line=107'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 0
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 1
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/var/www/houdart-api/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => null
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:5 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
) { |
|
Router::setRequest($request); |
|
} |
|
|
|
return $this->handle($request); |
|
} |
|
|
|
/** |
|
* Handle incoming server request and return a response. |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
'file' => '/var/www/houdart-api/vendor/cakephp/cakephp/src/Core/ObjectRegistry.php',
'line' => '107',
]
protected cookies => [
]
protected _environment => [
'USER' => 'www-data',
'HOME' => '/var/www',
'SCRIPT_NAME' => '/index.php',
'REQUEST_URI' => '/phpstorm:/open?file=%2Fvar%2Fwww%2Fhoudart-api%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FCore%2FObjectRegistry.php&line=107',
'QUERY_STRING' => 'file=%2Fvar%2Fwww%2Fhoudart-api%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FCore%2FObjectRegistry.php&line=107',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_QUERY_STRING' => 'file=%2Fvar%2Fwww%2Fhoudart-api%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FCore%2FObjectRegistry.php&line=107',
'REDIRECT_URL' => '/phpstorm:/open',
'REMOTE_PORT' => '31159',
'SCRIPT_FILENAME' => '/var/www/houdart-api/webroot/index.php',
'SERVER_ADMIN' => '[no address given]',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/houdart-api/webroot/',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/var/www/houdart-api/webroot/',
'REMOTE_ADDR' => '216.73.216.58',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '89.116.227.231',
'SERVER_NAME' => 'houdart.debonmatin.fr',
'SERVER_SOFTWARE' => 'Apache/2.4.52 (Ubuntu)',
'SERVER_SIGNATURE' => '<address>Apache/2.4.52 (Ubuntu) Server at houdart.debonmatin.fr Port 443</address>
',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'houdart.debonmatin.fr',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'houdart.debonmatin.fr',
'HTTPS' => 'on',
'H2_STREAM_TAG' => '1730431-325-1',
'H2_STREAM_ID' => '1',
'H2_PUSHED_ON' => '',
'H2_PUSHED' => '',
'H2_PUSH' => 'off',
'H2PUSH' => 'off',
'HTTP2' => 'on',
'SCRIPT_URI' => 'https://houdart.debonmatin.fr/phpstorm:/open',
'SCRIPT_URL' => '/phpstorm:/open',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'houdart.debonmatin.fr',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_H2_STREAM_TAG' => '1730431-325-1',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://houdart.debonmatin.fr/phpstorm:/open',
'REDIRECT_SCRIPT_URL' => '/phpstorm:/open',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1768475445.8744,
'REQUEST_TIME' => (int) 1768475445,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #203
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'houdart.debonmatin.fr'
private port => null
private path => '/phpstorm:/open'
private query => 'file=%2Fvar%2Fwww%2Fhoudart-api%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FCore%2FObjectRegistry.php&line=107'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 0
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
} |
|
|
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
|
|
$response = $this->runner->run($middleware, $request, $this->app); |
|
|
|
if ($request instanceof ServerRequest) { |
|
$request->getSession()->close(); |
|
} |
Toggle Arguments
object(Cake\Http\MiddlewareQueue) id:0 {
protected position => (int) 1
protected queue => [
(int) 0 => object(DebugKit\Middleware\DebugKitMiddleware) id:1 {
},
(int) 1 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) id:2 {
},
(int) 2 => object(Cake\Routing\Middleware\AssetMiddleware) id:3 {
},
(int) 3 => object(App\Middleware\CorsMiddleware) id:4 {
},
(int) 4 => object(Cake\Routing\Middleware\RoutingMiddleware) id:5 {
},
(int) 5 => object(Cake\Http\Middleware\BodyParserMiddleware) id:6 {
},
(int) 6 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) id:7 {
},
(int) 7 => object(Cake\I18n\Middleware\LocaleSelectorMiddleware) id:8 {
},
(int) 8 => object(Authentication\Middleware\AuthenticationMiddleware) id:9 {
},
(int) 9 => object(Authorization\Middleware\AuthorizationMiddleware) id:10 {
},
(int) 10 => object(Authorization\Middleware\RequestAuthorizationMiddleware) id:11 {
},
]
protected container => object(Cake\Core\Container) id:12 {
protected defaultToShared => false
protected definitions => object(League\Container\Definition\DefinitionAggregate) id:13 {
}
protected providers => object(League\Container\ServiceProvider\ServiceProviderAggregate) id:14 {
}
protected inflectors => object(League\Container\Inflector\InflectorAggregate) id:15 {
}
protected delegates => [
'' => [maximum depth reached],
]
}
}
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
'file' => '/var/www/houdart-api/vendor/cakephp/cakephp/src/Core/ObjectRegistry.php',
'line' => '107',
]
protected cookies => [
]
protected _environment => [
'USER' => 'www-data',
'HOME' => '/var/www',
'SCRIPT_NAME' => '/index.php',
'REQUEST_URI' => '/phpstorm:/open?file=%2Fvar%2Fwww%2Fhoudart-api%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FCore%2FObjectRegistry.php&line=107',
'QUERY_STRING' => 'file=%2Fvar%2Fwww%2Fhoudart-api%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FCore%2FObjectRegistry.php&line=107',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_QUERY_STRING' => 'file=%2Fvar%2Fwww%2Fhoudart-api%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FCore%2FObjectRegistry.php&line=107',
'REDIRECT_URL' => '/phpstorm:/open',
'REMOTE_PORT' => '31159',
'SCRIPT_FILENAME' => '/var/www/houdart-api/webroot/index.php',
'SERVER_ADMIN' => '[no address given]',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/houdart-api/webroot/',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/var/www/houdart-api/webroot/',
'REMOTE_ADDR' => '216.73.216.58',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '89.116.227.231',
'SERVER_NAME' => 'houdart.debonmatin.fr',
'SERVER_SOFTWARE' => 'Apache/2.4.52 (Ubuntu)',
'SERVER_SIGNATURE' => '<address>Apache/2.4.52 (Ubuntu) Server at houdart.debonmatin.fr Port 443</address>
',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HTTP_HOST' => 'houdart.debonmatin.fr',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'houdart.debonmatin.fr',
'HTTPS' => 'on',
'H2_STREAM_TAG' => '1730431-325-1',
'H2_STREAM_ID' => '1',
'H2_PUSHED_ON' => '',
'H2_PUSHED' => '',
'H2_PUSH' => 'off',
'H2PUSH' => 'off',
'HTTP2' => 'on',
'SCRIPT_URI' => 'https://houdart.debonmatin.fr/phpstorm:/open',
'SCRIPT_URL' => '/phpstorm:/open',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'houdart.debonmatin.fr',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_H2_STREAM_TAG' => '1730431-325-1',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://houdart.debonmatin.fr/phpstorm:/open',
'REDIRECT_SCRIPT_URL' => '/phpstorm:/open',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1768475445.8744,
'REQUEST_TIME' => (int) 1768475445,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #203
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'houdart.debonmatin.fr'
private port => null
private path => '/phpstorm:/open'
private query => 'file=%2Fvar%2Fwww%2Fhoudart-api%2Fvendor%2Fcakephp%2Fcakephp%2Fsrc%2FCore%2FObjectRegistry.php&line=107'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 0
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(App\Application) id:0 {
protected configDir => '/var/www/houdart-api/config/'
protected plugins => object(Cake\Core\PluginCollection) id:1 {
protected plugins => [
'' => [maximum depth reached],
]
protected names => [
'' => [maximum depth reached],
]
protected positions => [
'' => [maximum depth reached],
]
protected loopDepth => (int) -1
}
protected controllerFactory => null
protected container => object(Cake\Core\Container) id:2 {
protected defaultToShared => false
protected definitions => object(League\Container\Definition\DefinitionAggregate) id:3 {
}
protected providers => object(League\Container\ServiceProvider\ServiceProviderAggregate) id:4 {
}
protected inflectors => object(League\Container\Inflector\InflectorAggregate) id:5 {
}
protected delegates => [
'' => [maximum depth reached],
]
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
'_listeners' => [
'Error.beforeRender' => '1 listener(s)',
'Controller.shutdown' => '16 listener(s)',
'Controller.initialize' => '3 listener(s)',
'Controller.startup' => '3 listener(s)',
'Controller.beforeRender' => '4 listener(s)',
'View.beforeRender' => '2 listener(s)',
'View.afterRender' => '2 listener(s)',
'View.beforeLayout' => '2 listener(s)',
'View.afterLayout' => '2 listener(s)',
'View.beforeRenderFile' => '1 listener(s)',
'View.afterRenderFile' => '1 listener(s)',
]
'_isGlobal' => true
'_trackEvents' => false
'_generalManager' => '(object) EventManager'
'_dispatchedEvents' => null
}
protected _eventClass => 'Cake\Event\Event'
}
-
|
// 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()); |
|
|
Toggle Arguments
-
If you want to customize this error message, create
templates/Error/error500.php