Warning (2): file_put_contents() [<a href='http://php.net/function.file-put-contents'>function.file-put-contents</a>]: Only 1075 of 4848 bytes written, possibly out of free disk space [CORE/src/Log/Engine/FileLog.php, line 133]Code Context$mask = $this->_config['mask'];
if (!$mask) {
return file_put_contents($pathname, $output, FILE_APPEND);
$level = 'error' $message = '[PDOException] SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-1e8-0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device") Request URL: /balustrade-58/fixare-cu-monopuncte Referer URL: http://plastregal.dev.ourbox.org/rom/balustrade-58/fixare-cu-monopuncte Stack Trace: #0 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Database/Statement/MysqlStatement.php(39): PDOStatement->execute(NULL) #1 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Database/Connection.php(304): Cake\Database\Statement\MysqlStatement->execute() #2 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Database/Query.php(213): Cake\Database\Connection->run(Object(Cake\ORM\Query)) #3 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/ORM/Query.php(1011): Cake\Database\Query->execute() #4 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Datasource/QueryTrait.php(276): Cake\ORM\Query->_execute() #5 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/ORM/Query.php(959): Cake\ORM\Query->_all() #6 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Datasource/QueryTrait.php(293): Cake\ORM\Query->all() #7 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/src/Controller/ProductsController.php(36): Cake\ORM\Query->toArray() #8 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Controller/Controller.php(262): App\Controller\ProductsController->initialize() #9 [internal function]: Cake\Controller\Controller->__construct(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response), 'Products') #10 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Http/ControllerFactory.php(77): ReflectionClass->newInstance(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response), 'Products') #11 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php(90): Cake\Http\ControllerFactory->create(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #12 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Http/BaseApplication.php(78): Cake\Http\ActionDispatcher->dispatch(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #13 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Http/Runner.php(65): Cake\Http\BaseApplication->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response), Object(Cake\Http\Runner)) #14 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php(59): Cake\Http\Runner->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #15 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Http/Runner.php(65): Cake\Routing\Middleware\RoutingMiddleware->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response), Object(Cake\Http\Runner)) #16 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php(88): Cake\Http\Runner->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #17 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Http/Runner.php(65): Cake\Routing\Middleware\AssetMiddleware->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response), Object(Cake\Http\Runner)) #18 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php(93): Cake\Http\Runner->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #19 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Http/Runner.php(65): Cake\Error\Middleware\ErrorHandlerMiddleware->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response), Object(Cake\Http\Runner)) #20 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Http/Runner.php(51): Cake\Http\Runner->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #21 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Http/Server.php(82): Cake\Http\Runner->run(Object(Cake\Http\MiddlewareQueue), Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #22 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/webroot/index.php(37): Cake\Http\Server->run() #23 {main} ' $context = [ 'scope' => [] ] $output = '2024-09-20 02:28:38 Error: [PDOException] SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-1e8-0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device") Request URL: /balustrade-58/fixare-cu-monopuncte Referer URL: http://plastregal.dev.ourbox.org/rom/balustrade-58/fixare-cu-monopuncte Stack Trace: #0 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Database/Statement/MysqlStatement.php(39): PDOStatement->execute(NULL) #1 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Database/Connection.php(304): Cake\Database\Statement\MysqlStatement->execute() #2 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Database/Query.php(213): Cake\Database\Connection->run(Object(Cake\ORM\Query)) #3 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/ORM/Query.php(1011): Cake\Database\Query->execute() #4 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Datasource/QueryTrait.php(276): Cake\ORM\Query->_execute() #5 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/ORM/Query.php(959): Cake\ORM\Query->_all() #6 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Datasource/QueryTrait.php(293): Cake\ORM\Query->all() #7 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/src/Controller/ProductsController.php(36): Cake\ORM\Query->toArray() #8 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Controller/Controller.php(262): App\Controller\ProductsController->initialize() #9 [internal function]: Cake\Controller\Controller->__construct(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response), 'Products') #10 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Http/ControllerFactory.php(77): ReflectionClass->newInstance(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response), 'Products') #11 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php(90): Cake\Http\ControllerFactory->create(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #12 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Http/BaseApplication.php(78): Cake\Http\ActionDispatcher->dispatch(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #13 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Http/Runner.php(65): Cake\Http\BaseApplication->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response), Object(Cake\Http\Runner)) #14 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php(59): Cake\Http\Runner->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #15 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Http/Runner.php(65): Cake\Routing\Middleware\RoutingMiddleware->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response), Object(Cake\Http\Runner)) #16 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php(88): Cake\Http\Runner->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #17 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Http/Runner.php(65): Cake\Routing\Middleware\AssetMiddleware->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response), Object(Cake\Http\Runner)) #18 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php(93): Cake\Http\Runner->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #19 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Http/Runner.php(65): Cake\Error\Middleware\ErrorHandlerMiddleware->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response), Object(Cake\Http\Runner)) #20 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Http/Runner.php(51): Cake\Http\Runner->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #21 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Http/Server.php(82): Cake\Http\Runner->run(Object(Cake\Http\MiddlewareQueue), Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #22 /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/webroot/index.php(37): Cake\Http\Server->run() #23 {main} ' $filename = 'error.log' $pathname = '/home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/logs/error.log' $mask = nullfile_put_contents - [internal], line ?? Cake\Log\Engine\FileLog::log() - CORE/src/Log/Engine/FileLog.php, line 133 Cake\Log\Log::write() - CORE/src/Log/Log.php, line 384 Cake\Log\Log::error() - CORE/src/Log/Log.php, line 453 Cake\Error\Middleware\ErrorHandlerMiddleware::logException() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 178 Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 112 Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 95 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 82 [main] - ROOT/webroot/index.php, line 37
Warning (512): Unable to emit headers. Headers sent in file=/home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php line=822 [CORE/src/Http/ResponseEmitter.php, line 48]Code Context$message = "Unable to emit headers. Headers sent in file=$file line=$line";
if (Configure::read('debug')) {
trigger_error($message, E_USER_WARNING);
$response = object(Cake\Http\Response) { 'status' => (int) 500, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ [maximum depth reached] ] ], 'file' => null, 'fileRange' => [], 'cookies' => [], 'cacheDirectives' => [], 'body' => '' } $maxBufferLength = (int) 8192 $file = '/home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php' $line = (int) 822 $message = 'Unable to emit headers. Headers sent in file=/home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php line=822'Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 48 Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 108 [main] - ROOT/webroot/index.php, line 37
Warning (2): Cannot modify header information - headers already sent by (output started at /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php:822) [CORE/src/Http/ResponseEmitter.php, line 148]Code Context$response->getProtocolVersion(),
$response->getStatusCode(),
($reasonPhrase ? ' ' . $reasonPhrase : '')
$response = object(Cake\Http\Response) { 'status' => (int) 500, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ [maximum depth reached] ] ], 'file' => null, 'fileRange' => [], 'cookies' => [], 'cacheDirectives' => [], 'body' => '' } $reasonPhrase = 'Internal Server Error'header - [internal], line ?? Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 148 Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 54 Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 108 [main] - ROOT/webroot/index.php, line 37
Warning (2): Cannot modify header information - headers already sent by (output started at /home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php:822) [CORE/src/Http/ResponseEmitter.php, line 181]Code Context$name,
$value
), $first);
$response = object(Cake\Http\Response) { 'status' => (int) 500, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ [maximum depth reached] ] ], 'file' => null, 'fileRange' => [], 'cookies' => [], 'cacheDirectives' => [], 'body' => '' } $cookies = [] $values = [ (int) 0 => 'text/html; charset=UTF-8' ] $name = 'Content-Type' $first = true $value = 'text/html; charset=UTF-8'header - [internal], line ?? Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 181 Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 55 Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 108 [main] - ROOT/webroot/index.php, line 37
Error: SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql-temptable-1e8-0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
$connection = $this->_driver->connection(); |
|
|
|
try { |
|
$connection->setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, $this->_bufferResults); |
|
$result = $this->_statement->execute($params); |
|
} finally { |
|
$connection->setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, true); |
|
} |
|
|
null
public function run(Query $query) |
|
{ |
|
$statement = $this->prepare($query); |
|
$query->valueBinder()->attachTo($statement); |
|
$statement->execute(); |
|
|
|
return $statement; |
|
} |
|
|
No arguments
* @return \Cake\Database\StatementInterface |
|
*/ |
|
public function execute() |
|
{ |
|
$statement = $this->_connection->run($this); |
|
$driver = $this->_connection->driver(); |
|
$typeMap = $this->getSelectTypeMap(); |
|
|
|
if ($typeMap->toArray() && $this->_typeCastAttached === false) { |
object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Testimonials.id AS `Testimonials__id`, Testimonials.image AS `Testimonials__image`, Testimonials.youtube_url AS `Testimonials__youtube_url`, Testimonials.published AS `Testimonials__published`, Testimonials.position AS `Testimonials__position`, Testimonials.created AS `Testimonials__created`, Testimonials.modified AS `Testimonials__modified`, Testimonials_author_translation.id AS `Testimonials_author_translation__id`, Testimonials_author_translation.model AS `Testimonials_author_translation__model`, Testimonials_author_translation.foreign_key AS `Testimonials_author_translation__foreign_key`, Testimonials_author_translation.languages_id AS `Testimonials_author_translation__languages_id`, Testimonials_author_translation.field AS `Testimonials_author_translation__field`, Testimonials_author_translation.content AS `Testimonials_author_translation__content`, Testimonials_author_translation.locale AS `Testimonials_author_translation__locale`, Testimonials_address_translation.id AS `Testimonials_address_translation__id`, Testimonials_address_translation.model AS `Testimonials_address_translation__model`, Testimonials_address_translation.foreign_key AS `Testimonials_address_translation__foreign_key`, Testimonials_address_translation.languages_id AS `Testimonials_address_translation__languages_id`, Testimonials_address_translation.field AS `Testimonials_address_translation__field`, Testimonials_address_translation.content AS `Testimonials_address_translation__content`, Testimonials_address_translation.locale AS `Testimonials_address_translation__locale`, Testimonials_description_translation.id AS `Testimonials_description_translation__id`, Testimonials_description_translation.model AS `Testimonials_description_translation__model`, Testimonials_description_translation.foreign_key AS `Testimonials_description_translation__foreign_key`, Testimonials_description_translation.languages_id AS `Testimonials_description_translation__languages_id`, Testimonials_description_translation.field AS `Testimonials_description_translation__field`, Testimonials_description_translation.content AS `Testimonials_description_translation__content`, Testimonials_description_translation.locale AS `Testimonials_description_translation__locale` FROM testimonials Testimonials LEFT JOIN i18n Testimonials_author_translation ON (Testimonials_author_translation.model = :c0 AND Testimonials_author_translation.field = :c1 AND Testimonials_author_translation.locale = :c2 AND Testimonials.id = (Testimonials_author_translation.foreign_key)) LEFT JOIN i18n Testimonials_address_translation ON (Testimonials_address_translation.model = :c3 AND Testimonials_address_translation.field = :c4 AND Testimonials_address_translation.locale = :c5 AND Testimonials.id = (Testimonials_address_translation.foreign_key)) LEFT JOIN i18n Testimonials_description_translation ON (Testimonials_description_translation.model = :c6 AND Testimonials_description_translation.field = :c7 AND Testimonials_description_translation.locale = :c8 AND Testimonials.id = (Testimonials_description_translation.foreign_key)) WHERE published = :c9 ORDER BY rand() LIMIT 3', 'params' => [ ':c0' => [ 'value' => 'Testimonials', 'type' => 'string', 'placeholder' => 'c0' ], ':c1' => [ 'value' => 'author', 'type' => 'string', 'placeholder' => 'c1' ], ':c2' => [ 'value' => 'rom', 'type' => 'string', 'placeholder' => 'c2' ], ':c3' => [ 'value' => 'Testimonials', 'type' => 'string', 'placeholder' => 'c3' ], ':c4' => [ 'value' => 'address', 'type' => 'string', 'placeholder' => 'c4' ], ':c5' => [ 'value' => 'rom', 'type' => 'string', 'placeholder' => 'c5' ], ':c6' => [ 'value' => 'Testimonials', 'type' => 'string', 'placeholder' => 'c6' ], ':c7' => [ 'value' => 'description', 'type' => 'string', 'placeholder' => 'c7' ], ':c8' => [ 'value' => 'rom', 'type' => 'string', 'placeholder' => 'c8' ], ':c9' => [ 'value' => (int) 1, 'type' => 'boolean', 'placeholder' => 'c9' ] ], 'defaultTypes' => [ 'Testimonials__id' => 'integer', 'Testimonials.id' => 'integer', 'id' => 'integer', 'Testimonials__image' => 'string', 'Testimonials.image' => 'string', 'image' => 'string', 'Testimonials__youtube_url' => 'string', 'Testimonials.youtube_url' => 'string', 'youtube_url' => 'string', 'Testimonials__published' => 'boolean', 'Testimonials.published' => 'boolean', 'published' => 'boolean', 'Testimonials__position' => 'integer', 'Testimonials.position' => 'integer', 'position' => 'integer', 'Testimonials__created' => 'datetime', 'Testimonials.created' => 'datetime', 'created' => 'datetime', 'Testimonials__modified' => 'datetime', 'Testimonials.modified' => 'datetime', 'modified' => 'datetime', 'Testimonials_author_translation__id' => 'integer', 'Testimonials_author_translation.id' => 'integer', 'Testimonials_author_translation__model' => 'string', 'Testimonials_author_translation.model' => 'string', 'model' => 'string', 'Testimonials_author_translation__foreign_key' => 'integer', 'Testimonials_author_translation.foreign_key' => 'integer', 'foreign_key' => 'integer', 'Testimonials_author_translation__languages_id' => 'integer', 'Testimonials_author_translation.languages_id' => 'integer', 'languages_id' => 'integer', 'Testimonials_author_translation__field' => 'string', 'Testimonials_author_translation.field' => 'string', 'field' => 'string', 'Testimonials_author_translation__content' => 'text', 'Testimonials_author_translation.content' => 'text', 'content' => 'text', 'Testimonials_author_translation__locale' => 'string', 'Testimonials_author_translation.locale' => 'string', 'locale' => 'string', 'Testimonials_address_translation__id' => 'integer', 'Testimonials_address_translation.id' => 'integer', 'Testimonials_address_translation__model' => 'string', 'Testimonials_address_translation.model' => 'string', 'Testimonials_address_translation__foreign_key' => 'integer', 'Testimonials_address_translation.foreign_key' => 'integer', 'Testimonials_address_translation__languages_id' => 'integer', 'Testimonials_address_translation.languages_id' => 'integer', 'Testimonials_address_translation__field' => 'string', 'Testimonials_address_translation.field' => 'string', 'Testimonials_address_translation__content' => 'text', 'Testimonials_address_translation.content' => 'text', 'Testimonials_address_translation__locale' => 'string', 'Testimonials_address_translation.locale' => 'string', 'Testimonials_description_translation__id' => 'integer', 'Testimonials_description_translation.id' => 'integer', 'Testimonials_description_translation__model' => 'string', 'Testimonials_description_translation.model' => 'string', 'Testimonials_description_translation__foreign_key' => 'integer', 'Testimonials_description_translation.foreign_key' => 'integer', 'Testimonials_description_translation__languages_id' => 'integer', 'Testimonials_description_translation.languages_id' => 'integer', 'Testimonials_description_translation__field' => 'string', 'Testimonials_description_translation.field' => 'string', 'Testimonials_description_translation__content' => 'text', 'Testimonials_description_translation.content' => 'text', 'Testimonials_description_translation__locale' => 'string', 'Testimonials_description_translation.locale' => 'string' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 1, 'mapReducers' => (int) 0, 'contain' => [ 'Testimonials_author_translation' => [ 'queryBuilder' => object(Closure) {} ], 'Testimonials_address_translation' => [ 'queryBuilder' => object(Closure) {} ], 'Testimonials_description_translation' => [ 'queryBuilder' => object(Closure) {} ] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\TestimonialsTable) { 'registryAlias' => 'Testimonials', 'table' => 'testimonials', 'alias' => 'Testimonials', 'entityClass' => 'App\Model\Entity\Testimonial', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } }
|
|
return new $decorator($this->_results); |
|
} |
|
|
|
$statement = $this->getEagerLoader()->loadExternal($this, $this->execute()); |
|
|
|
return new ResultSet($this, $statement); |
|
} |
|
|
No arguments
if ($this->_cache) { |
|
$results = $this->_cache->fetch($this); |
|
} |
|
if (!isset($results)) { |
|
$results = $this->_decorateResults($this->_execute()); |
|
if ($this->_cache) { |
|
$this->_cache->store($this, $results); |
|
} |
|
} |
No arguments
'You cannot call all() on a non-select query. Use execute() instead.' |
|
); |
|
} |
|
|
|
return $this->_all(); |
|
} |
|
|
|
/** |
|
* Trigger the beforeFind event on the query's repository object. |
No arguments
* @return array |
|
*/ |
|
public function toArray() |
|
{ |
|
return $this->all()->toArray(); |
|
} |
|
|
|
/** |
|
* Register a new MapReduce routine to be executed on top of the database results |
No arguments
$testimonials = $this->Testimonials->find('all') |
|
->where(['published' => 1]) |
|
->order('rand()') |
|
->limit(3) |
|
->toArray(); |
|
|
|
$this->set(compact('testimonials')); |
|
} |
|
|
No arguments
if ($components !== null) { |
|
$this->components($components); |
|
} |
|
|
|
$this->initialize(); |
|
|
|
$this->_mergeControllerVars(); |
|
$this->_loadComponents(); |
|
$this->eventManager()->on($this); |
No arguments
object(Cake\Http\ServerRequest) { params => [ 'slug' => 'fixare-cu-monopuncte', 'pass' => [ (int) 0 => 'fixare-cu-monopuncte' ], 'controller' => 'Products', 'action' => 'view', 'plugin' => null, '_matchedRoute' => '/balustrade-58/:slug', 'isAjax' => false ] data => [] query => [] cookies => [] url => 'balustrade-58/fixare-cu-monopuncte' base => '' webroot => '/' here => '/balustrade-58/fixare-cu-monopuncte' trustProxy => false [protected] _environment => [ 'TEMP' => '/home/egor.calashnicov/tmp', 'TMPDIR' => '/home/egor.calashnicov/tmp', 'TMP' => '/home/egor.calashnicov/tmp', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'USER' => 'egor.calashnicov', 'HOME' => '/home/egor.calashnicov', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/balustrade-58/fixare-cu-monopuncte', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/balustrade-58/fixare-cu-monopuncte', 'REMOTE_PORT' => '57708', 'SCRIPT_FILENAME' => '//home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/webroot/index.php', 'SERVER_ADMIN' => 'info@plastregal.dev.ourbox.org', 'CONTEXT_DOCUMENT_ROOT' => '/home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html', 'REMOTE_ADDR' => '18.188.96.3', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '88.99.40.25', 'SERVER_NAME' => 'plastregal.dev.ourbox.org', 'SERVER_SOFTWARE' => 'Apache/2.4.25 (Debian) mod_fcgid/2.3.9 OpenSSL/1.0.2u', 'SERVER_SIGNATURE' => '', 'HTTP_REFERER' => 'http://plastregal.dev.ourbox.org/rom/balustrade-58/fixare-cu-monopuncte', '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' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_FORWARDED_FOR' => '18.188.96.3', 'HTTP_HOST' => 'plastregal.dev.ourbox.org', 'proxy-nokeepalive' => '1', 'REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_STATUS' => '200', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1726799317.8897, 'REQUEST_TIME' => (int) 1726799317, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTPS' => false, 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => null ] [protected] _input => null [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' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'plastregal.dev.ourbox.org' [private] port => null [private] path => '/balustrade-58/fixare-cu-monopuncte' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => [], 'cacheDirectives' => [], 'body' => '' } 'Products'
if ($reflection->isAbstract() || $reflection->isInterface()) { |
|
$this->missingController($request); |
|
} |
|
|
|
return $reflection->newInstance($request, $response, $controller); |
|
} |
|
|
|
/** |
|
* Throws an exception when a controller is missing. |
object(Cake\Http\ServerRequest) { params => [ 'slug' => 'fixare-cu-monopuncte', 'pass' => [ (int) 0 => 'fixare-cu-monopuncte' ], 'controller' => 'Products', 'action' => 'view', 'plugin' => null, '_matchedRoute' => '/balustrade-58/:slug', 'isAjax' => false ] data => [] query => [] cookies => [] url => 'balustrade-58/fixare-cu-monopuncte' base => '' webroot => '/' here => '/balustrade-58/fixare-cu-monopuncte' trustProxy => false [protected] _environment => [ 'TEMP' => '/home/egor.calashnicov/tmp', 'TMPDIR' => '/home/egor.calashnicov/tmp', 'TMP' => '/home/egor.calashnicov/tmp', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'USER' => 'egor.calashnicov', 'HOME' => '/home/egor.calashnicov', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/balustrade-58/fixare-cu-monopuncte', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/balustrade-58/fixare-cu-monopuncte', 'REMOTE_PORT' => '57708', 'SCRIPT_FILENAME' => '//home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/webroot/index.php', 'SERVER_ADMIN' => 'info@plastregal.dev.ourbox.org', 'CONTEXT_DOCUMENT_ROOT' => '/home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html', 'REMOTE_ADDR' => '18.188.96.3', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '88.99.40.25', 'SERVER_NAME' => 'plastregal.dev.ourbox.org', 'SERVER_SOFTWARE' => 'Apache/2.4.25 (Debian) mod_fcgid/2.3.9 OpenSSL/1.0.2u', 'SERVER_SIGNATURE' => '', 'HTTP_REFERER' => 'http://plastregal.dev.ourbox.org/rom/balustrade-58/fixare-cu-monopuncte', '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' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_FORWARDED_FOR' => '18.188.96.3', 'HTTP_HOST' => 'plastregal.dev.ourbox.org', 'proxy-nokeepalive' => '1', 'REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_STATUS' => '200', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1726799317.8897, 'REQUEST_TIME' => (int) 1726799317, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTPS' => false, 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => null ] [protected] _input => null [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' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'plastregal.dev.ourbox.org' [private] port => null [private] path => '/balustrade-58/fixare-cu-monopuncte' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => [], 'cacheDirectives' => [], 'body' => '' } 'Products'
// 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 (isset($request->params['return'])) { |
object(Cake\Http\ServerRequest) { params => [ 'slug' => 'fixare-cu-monopuncte', 'pass' => [ (int) 0 => 'fixare-cu-monopuncte' ], 'controller' => 'Products', 'action' => 'view', 'plugin' => null, '_matchedRoute' => '/balustrade-58/:slug', 'isAjax' => false ] data => [] query => [] cookies => [] url => 'balustrade-58/fixare-cu-monopuncte' base => '' webroot => '/' here => '/balustrade-58/fixare-cu-monopuncte' trustProxy => false [protected] _environment => [ 'TEMP' => '/home/egor.calashnicov/tmp', 'TMPDIR' => '/home/egor.calashnicov/tmp', 'TMP' => '/home/egor.calashnicov/tmp', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'USER' => 'egor.calashnicov', 'HOME' => '/home/egor.calashnicov', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/balustrade-58/fixare-cu-monopuncte', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/balustrade-58/fixare-cu-monopuncte', 'REMOTE_PORT' => '57708', 'SCRIPT_FILENAME' => '//home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/webroot/index.php', 'SERVER_ADMIN' => 'info@plastregal.dev.ourbox.org', 'CONTEXT_DOCUMENT_ROOT' => '/home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html', 'REMOTE_ADDR' => '18.188.96.3', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '88.99.40.25', 'SERVER_NAME' => 'plastregal.dev.ourbox.org', 'SERVER_SOFTWARE' => 'Apache/2.4.25 (Debian) mod_fcgid/2.3.9 OpenSSL/1.0.2u', 'SERVER_SIGNATURE' => '', 'HTTP_REFERER' => 'http://plastregal.dev.ourbox.org/rom/balustrade-58/fixare-cu-monopuncte', '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' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_FORWARDED_FOR' => '18.188.96.3', 'HTTP_HOST' => 'plastregal.dev.ourbox.org', 'proxy-nokeepalive' => '1', 'REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_STATUS' => '200', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1726799317.8897, 'REQUEST_TIME' => (int) 1726799317, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTPS' => false, 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => null ] [protected] _input => null [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' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'plastregal.dev.ourbox.org' [private] port => null [private] path => '/balustrade-58/fixare-cu-monopuncte' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => [], 'cacheDirectives' => [], 'body' => '' }
* @return \Psr\Http\Message\ResponseInterface |
|
*/ |
|
public function __invoke(ServerRequestInterface $request, ResponseInterface $response, $next) |
|
{ |
|
return $this->getDispatcher()->dispatch($request, $response); |
|
} |
|
|
|
/** |
|
* Get the ActionDispatcher. |
object(Cake\Http\ServerRequest) { params => [ 'slug' => 'fixare-cu-monopuncte', 'pass' => [ (int) 0 => 'fixare-cu-monopuncte' ], 'controller' => 'Products', 'action' => 'view', 'plugin' => null, '_matchedRoute' => '/balustrade-58/:slug', 'isAjax' => false ] data => [] query => [] cookies => [] url => 'balustrade-58/fixare-cu-monopuncte' base => '' webroot => '/' here => '/balustrade-58/fixare-cu-monopuncte' trustProxy => false [protected] _environment => [ 'TEMP' => '/home/egor.calashnicov/tmp', 'TMPDIR' => '/home/egor.calashnicov/tmp', 'TMP' => '/home/egor.calashnicov/tmp', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'USER' => 'egor.calashnicov', 'HOME' => '/home/egor.calashnicov', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/balustrade-58/fixare-cu-monopuncte', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/balustrade-58/fixare-cu-monopuncte', 'REMOTE_PORT' => '57708', 'SCRIPT_FILENAME' => '//home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/webroot/index.php', 'SERVER_ADMIN' => 'info@plastregal.dev.ourbox.org', 'CONTEXT_DOCUMENT_ROOT' => '/home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html', 'REMOTE_ADDR' => '18.188.96.3', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '88.99.40.25', 'SERVER_NAME' => 'plastregal.dev.ourbox.org', 'SERVER_SOFTWARE' => 'Apache/2.4.25 (Debian) mod_fcgid/2.3.9 OpenSSL/1.0.2u', 'SERVER_SIGNATURE' => '', 'HTTP_REFERER' => 'http://plastregal.dev.ourbox.org/rom/balustrade-58/fixare-cu-monopuncte', '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' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_FORWARDED_FOR' => '18.188.96.3', 'HTTP_HOST' => 'plastregal.dev.ourbox.org', 'proxy-nokeepalive' => '1', 'REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_STATUS' => '200', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1726799317.8897, 'REQUEST_TIME' => (int) 1726799317, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTPS' => false, 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => null ] [protected] _input => null [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' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'plastregal.dev.ourbox.org' [private] port => null [private] path => '/balustrade-58/fixare-cu-monopuncte' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => [], 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { params => [ 'slug' => 'fixare-cu-monopuncte', 'pass' => [ (int) 0 => 'fixare-cu-monopuncte' ], 'controller' => 'Products', 'action' => 'view', 'plugin' => null, '_matchedRoute' => '/balustrade-58/:slug', 'isAjax' => false ] data => [] query => [] cookies => [] url => 'balustrade-58/fixare-cu-monopuncte' base => '' webroot => '/' here => '/balustrade-58/fixare-cu-monopuncte' trustProxy => false [protected] _environment => [ 'TEMP' => '/home/egor.calashnicov/tmp', 'TMPDIR' => '/home/egor.calashnicov/tmp', 'TMP' => '/home/egor.calashnicov/tmp', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'USER' => 'egor.calashnicov', 'HOME' => '/home/egor.calashnicov', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/balustrade-58/fixare-cu-monopuncte', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/balustrade-58/fixare-cu-monopuncte', 'REMOTE_PORT' => '57708', 'SCRIPT_FILENAME' => '//home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/webroot/index.php', 'SERVER_ADMIN' => 'info@plastregal.dev.ourbox.org', 'CONTEXT_DOCUMENT_ROOT' => '/home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html', 'REMOTE_ADDR' => '18.188.96.3', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '88.99.40.25', 'SERVER_NAME' => 'plastregal.dev.ourbox.org', 'SERVER_SOFTWARE' => 'Apache/2.4.25 (Debian) mod_fcgid/2.3.9 OpenSSL/1.0.2u', 'SERVER_SIGNATURE' => '', 'HTTP_REFERER' => 'http://plastregal.dev.ourbox.org/rom/balustrade-58/fixare-cu-monopuncte', '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' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_FORWARDED_FOR' => '18.188.96.3', 'HTTP_HOST' => 'plastregal.dev.ourbox.org', 'proxy-nokeepalive' => '1', 'REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_STATUS' => '200', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1726799317.8897, 'REQUEST_TIME' => (int) 1726799317, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTPS' => false, 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => null ] [protected] _input => null [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' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'plastregal.dev.ourbox.org' [private] port => null [private] path => '/balustrade-58/fixare-cu-monopuncte' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => [], 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 4 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
$response->getHeaders() |
|
); |
|
} |
|
|
|
return $next($request, $response); |
|
} |
|
} |
|
|
object(Cake\Http\ServerRequest) { params => [ 'slug' => 'fixare-cu-monopuncte', 'pass' => [ (int) 0 => 'fixare-cu-monopuncte' ], 'controller' => 'Products', 'action' => 'view', 'plugin' => null, '_matchedRoute' => '/balustrade-58/:slug', 'isAjax' => false ] data => [] query => [] cookies => [] url => 'balustrade-58/fixare-cu-monopuncte' base => '' webroot => '/' here => '/balustrade-58/fixare-cu-monopuncte' trustProxy => false [protected] _environment => [ 'TEMP' => '/home/egor.calashnicov/tmp', 'TMPDIR' => '/home/egor.calashnicov/tmp', 'TMP' => '/home/egor.calashnicov/tmp', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'USER' => 'egor.calashnicov', 'HOME' => '/home/egor.calashnicov', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/balustrade-58/fixare-cu-monopuncte', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/balustrade-58/fixare-cu-monopuncte', 'REMOTE_PORT' => '57708', 'SCRIPT_FILENAME' => '//home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/webroot/index.php', 'SERVER_ADMIN' => 'info@plastregal.dev.ourbox.org', 'CONTEXT_DOCUMENT_ROOT' => '/home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html', 'REMOTE_ADDR' => '18.188.96.3', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '88.99.40.25', 'SERVER_NAME' => 'plastregal.dev.ourbox.org', 'SERVER_SOFTWARE' => 'Apache/2.4.25 (Debian) mod_fcgid/2.3.9 OpenSSL/1.0.2u', 'SERVER_SIGNATURE' => '', 'HTTP_REFERER' => 'http://plastregal.dev.ourbox.org/rom/balustrade-58/fixare-cu-monopuncte', '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' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_FORWARDED_FOR' => '18.188.96.3', 'HTTP_HOST' => 'plastregal.dev.ourbox.org', 'proxy-nokeepalive' => '1', 'REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_STATUS' => '200', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1726799317.8897, 'REQUEST_TIME' => (int) 1726799317, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTPS' => false, 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => null ] [protected] _input => null [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' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'plastregal.dev.ourbox.org' [private] port => null [private] path => '/balustrade-58/fixare-cu-monopuncte' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => [], 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { params => [ 'slug' => 'fixare-cu-monopuncte', 'pass' => [ (int) 0 => 'fixare-cu-monopuncte' ], 'controller' => 'Products', 'action' => 'view', 'plugin' => null, '_matchedRoute' => '/balustrade-58/:slug', 'isAjax' => false ] data => [] query => [] cookies => [] url => 'balustrade-58/fixare-cu-monopuncte' base => '' webroot => '/' here => '/balustrade-58/fixare-cu-monopuncte' trustProxy => false [protected] _environment => [ 'TEMP' => '/home/egor.calashnicov/tmp', 'TMPDIR' => '/home/egor.calashnicov/tmp', 'TMP' => '/home/egor.calashnicov/tmp', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'USER' => 'egor.calashnicov', 'HOME' => '/home/egor.calashnicov', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/balustrade-58/fixare-cu-monopuncte', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/balustrade-58/fixare-cu-monopuncte', 'REMOTE_PORT' => '57708', 'SCRIPT_FILENAME' => '//home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/webroot/index.php', 'SERVER_ADMIN' => 'info@plastregal.dev.ourbox.org', 'CONTEXT_DOCUMENT_ROOT' => '/home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html', 'REMOTE_ADDR' => '18.188.96.3', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '88.99.40.25', 'SERVER_NAME' => 'plastregal.dev.ourbox.org', 'SERVER_SOFTWARE' => 'Apache/2.4.25 (Debian) mod_fcgid/2.3.9 OpenSSL/1.0.2u', 'SERVER_SIGNATURE' => '', 'HTTP_REFERER' => 'http://plastregal.dev.ourbox.org/rom/balustrade-58/fixare-cu-monopuncte', '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' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_FORWARDED_FOR' => '18.188.96.3', 'HTTP_HOST' => 'plastregal.dev.ourbox.org', 'proxy-nokeepalive' => '1', 'REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_STATUS' => '200', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1726799317.8897, 'REQUEST_TIME' => (int) 1726799317, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTPS' => false, 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => null ] [protected] _input => null [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' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'plastregal.dev.ourbox.org' [private] port => null [private] path => '/balustrade-58/fixare-cu-monopuncte' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => [], 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 4 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
public function __invoke($request, $response, $next) |
|
{ |
|
$url = $request->getUri()->getPath(); |
|
if (strpos($url, '..') !== false || strpos($url, '.') === false) { |
|
return $next($request, $response); |
|
} |
|
|
|
$assetFile = $this->_getAssetFile($url); |
|
if ($assetFile === null || !file_exists($assetFile)) { |
object(Cake\Http\ServerRequest) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [] cookies => [] url => 'balustrade-58/fixare-cu-monopuncte' base => '' webroot => '/' here => '/balustrade-58/fixare-cu-monopuncte' trustProxy => false [protected] _environment => [ 'TEMP' => '/home/egor.calashnicov/tmp', 'TMPDIR' => '/home/egor.calashnicov/tmp', 'TMP' => '/home/egor.calashnicov/tmp', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'USER' => 'egor.calashnicov', 'HOME' => '/home/egor.calashnicov', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/balustrade-58/fixare-cu-monopuncte', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/balustrade-58/fixare-cu-monopuncte', 'REMOTE_PORT' => '57708', 'SCRIPT_FILENAME' => '//home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/webroot/index.php', 'SERVER_ADMIN' => 'info@plastregal.dev.ourbox.org', 'CONTEXT_DOCUMENT_ROOT' => '/home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html', 'REMOTE_ADDR' => '18.188.96.3', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '88.99.40.25', 'SERVER_NAME' => 'plastregal.dev.ourbox.org', 'SERVER_SOFTWARE' => 'Apache/2.4.25 (Debian) mod_fcgid/2.3.9 OpenSSL/1.0.2u', 'SERVER_SIGNATURE' => '', 'HTTP_REFERER' => 'http://plastregal.dev.ourbox.org/rom/balustrade-58/fixare-cu-monopuncte', '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' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_FORWARDED_FOR' => '18.188.96.3', 'HTTP_HOST' => 'plastregal.dev.ourbox.org', 'proxy-nokeepalive' => '1', 'REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_STATUS' => '200', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1726799317.8897, 'REQUEST_TIME' => (int) 1726799317, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTPS' => false ] [protected] _input => null [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' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'plastregal.dev.ourbox.org' [private] port => null [private] path => '/balustrade-58/fixare-cu-monopuncte' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => [], 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [] cookies => [] url => 'balustrade-58/fixare-cu-monopuncte' base => '' webroot => '/' here => '/balustrade-58/fixare-cu-monopuncte' trustProxy => false [protected] _environment => [ 'TEMP' => '/home/egor.calashnicov/tmp', 'TMPDIR' => '/home/egor.calashnicov/tmp', 'TMP' => '/home/egor.calashnicov/tmp', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'USER' => 'egor.calashnicov', 'HOME' => '/home/egor.calashnicov', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/balustrade-58/fixare-cu-monopuncte', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/balustrade-58/fixare-cu-monopuncte', 'REMOTE_PORT' => '57708', 'SCRIPT_FILENAME' => '//home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/webroot/index.php', 'SERVER_ADMIN' => 'info@plastregal.dev.ourbox.org', 'CONTEXT_DOCUMENT_ROOT' => '/home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html', 'REMOTE_ADDR' => '18.188.96.3', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '88.99.40.25', 'SERVER_NAME' => 'plastregal.dev.ourbox.org', 'SERVER_SOFTWARE' => 'Apache/2.4.25 (Debian) mod_fcgid/2.3.9 OpenSSL/1.0.2u', 'SERVER_SIGNATURE' => '', 'HTTP_REFERER' => 'http://plastregal.dev.ourbox.org/rom/balustrade-58/fixare-cu-monopuncte', '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' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_FORWARDED_FOR' => '18.188.96.3', 'HTTP_HOST' => 'plastregal.dev.ourbox.org', 'proxy-nokeepalive' => '1', 'REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_STATUS' => '200', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1726799317.8897, 'REQUEST_TIME' => (int) 1726799317, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTPS' => false ] [protected] _input => null [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' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'plastregal.dev.ourbox.org' [private] port => null [private] path => '/balustrade-58/fixare-cu-monopuncte' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => [], 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 4 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
*/ |
|
public function __invoke($request, $response, $next) |
|
{ |
|
try { |
|
return $next($request, $response); |
|
} catch (\Exception $e) { |
|
return $this->handleException($e, $request, $response); |
|
} |
|
} |
object(Cake\Http\ServerRequest) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [] cookies => [] url => 'balustrade-58/fixare-cu-monopuncte' base => '' webroot => '/' here => '/balustrade-58/fixare-cu-monopuncte' trustProxy => false [protected] _environment => [ 'TEMP' => '/home/egor.calashnicov/tmp', 'TMPDIR' => '/home/egor.calashnicov/tmp', 'TMP' => '/home/egor.calashnicov/tmp', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'USER' => 'egor.calashnicov', 'HOME' => '/home/egor.calashnicov', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/balustrade-58/fixare-cu-monopuncte', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/balustrade-58/fixare-cu-monopuncte', 'REMOTE_PORT' => '57708', 'SCRIPT_FILENAME' => '//home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/webroot/index.php', 'SERVER_ADMIN' => 'info@plastregal.dev.ourbox.org', 'CONTEXT_DOCUMENT_ROOT' => '/home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html', 'REMOTE_ADDR' => '18.188.96.3', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '88.99.40.25', 'SERVER_NAME' => 'plastregal.dev.ourbox.org', 'SERVER_SOFTWARE' => 'Apache/2.4.25 (Debian) mod_fcgid/2.3.9 OpenSSL/1.0.2u', 'SERVER_SIGNATURE' => '', 'HTTP_REFERER' => 'http://plastregal.dev.ourbox.org/rom/balustrade-58/fixare-cu-monopuncte', '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' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_FORWARDED_FOR' => '18.188.96.3', 'HTTP_HOST' => 'plastregal.dev.ourbox.org', 'proxy-nokeepalive' => '1', 'REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_STATUS' => '200', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1726799317.8897, 'REQUEST_TIME' => (int) 1726799317, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTPS' => false ] [protected] _input => null [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' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'plastregal.dev.ourbox.org' [private] port => null [private] path => '/balustrade-58/fixare-cu-monopuncte' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => [], 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [] cookies => [] url => 'balustrade-58/fixare-cu-monopuncte' base => '' webroot => '/' here => '/balustrade-58/fixare-cu-monopuncte' trustProxy => false [protected] _environment => [ 'TEMP' => '/home/egor.calashnicov/tmp', 'TMPDIR' => '/home/egor.calashnicov/tmp', 'TMP' => '/home/egor.calashnicov/tmp', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'USER' => 'egor.calashnicov', 'HOME' => '/home/egor.calashnicov', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/balustrade-58/fixare-cu-monopuncte', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/balustrade-58/fixare-cu-monopuncte', 'REMOTE_PORT' => '57708', 'SCRIPT_FILENAME' => '//home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/webroot/index.php', 'SERVER_ADMIN' => 'info@plastregal.dev.ourbox.org', 'CONTEXT_DOCUMENT_ROOT' => '/home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html', 'REMOTE_ADDR' => '18.188.96.3', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '88.99.40.25', 'SERVER_NAME' => 'plastregal.dev.ourbox.org', 'SERVER_SOFTWARE' => 'Apache/2.4.25 (Debian) mod_fcgid/2.3.9 OpenSSL/1.0.2u', 'SERVER_SIGNATURE' => '', 'HTTP_REFERER' => 'http://plastregal.dev.ourbox.org/rom/balustrade-58/fixare-cu-monopuncte', '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' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_FORWARDED_FOR' => '18.188.96.3', 'HTTP_HOST' => 'plastregal.dev.ourbox.org', 'proxy-nokeepalive' => '1', 'REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_STATUS' => '200', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1726799317.8897, 'REQUEST_TIME' => (int) 1726799317, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTPS' => false ] [protected] _input => null [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' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'plastregal.dev.ourbox.org' [private] port => null [private] path => '/balustrade-58/fixare-cu-monopuncte' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => [], 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 4 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
{ |
|
$this->middleware = $middleware; |
|
$this->index = 0; |
|
|
|
return $this->__invoke($request, $response); |
|
} |
|
|
|
/** |
|
* @param \Psr\Http\Message\ServerRequestInterface $request The server request |
object(Cake\Http\ServerRequest) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [] cookies => [] url => 'balustrade-58/fixare-cu-monopuncte' base => '' webroot => '/' here => '/balustrade-58/fixare-cu-monopuncte' trustProxy => false [protected] _environment => [ 'TEMP' => '/home/egor.calashnicov/tmp', 'TMPDIR' => '/home/egor.calashnicov/tmp', 'TMP' => '/home/egor.calashnicov/tmp', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'USER' => 'egor.calashnicov', 'HOME' => '/home/egor.calashnicov', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/balustrade-58/fixare-cu-monopuncte', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/balustrade-58/fixare-cu-monopuncte', 'REMOTE_PORT' => '57708', 'SCRIPT_FILENAME' => '//home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/webroot/index.php', 'SERVER_ADMIN' => 'info@plastregal.dev.ourbox.org', 'CONTEXT_DOCUMENT_ROOT' => '/home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html', 'REMOTE_ADDR' => '18.188.96.3', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '88.99.40.25', 'SERVER_NAME' => 'plastregal.dev.ourbox.org', 'SERVER_SOFTWARE' => 'Apache/2.4.25 (Debian) mod_fcgid/2.3.9 OpenSSL/1.0.2u', 'SERVER_SIGNATURE' => '', 'HTTP_REFERER' => 'http://plastregal.dev.ourbox.org/rom/balustrade-58/fixare-cu-monopuncte', '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' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_FORWARDED_FOR' => '18.188.96.3', 'HTTP_HOST' => 'plastregal.dev.ourbox.org', 'proxy-nokeepalive' => '1', 'REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_STATUS' => '200', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1726799317.8897, 'REQUEST_TIME' => (int) 1726799317, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTPS' => false ] [protected] _input => null [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' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'plastregal.dev.ourbox.org' [private] port => null [private] path => '/balustrade-58/fixare-cu-monopuncte' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => [], 'cacheDirectives' => [], 'body' => '' }
throw new RuntimeException('The application `middleware` method did not return a middleware queue.'); |
|
} |
|
$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.', |
object(Cake\Http\MiddlewareQueue) { [protected] queue => [ (int) 0 => 'Cake\Error\Middleware\ErrorHandlerMiddleware', (int) 1 => 'Cake\Routing\Middleware\AssetMiddleware', (int) 2 => 'Cake\Routing\Middleware\RoutingMiddleware', (int) 3 => object(App\Application) {} ] [protected] callables => [ (int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 3 => object(App\Application) {} ] } object(Cake\Http\ServerRequest) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [] cookies => [] url => 'balustrade-58/fixare-cu-monopuncte' base => '' webroot => '/' here => '/balustrade-58/fixare-cu-monopuncte' trustProxy => false [protected] _environment => [ 'TEMP' => '/home/egor.calashnicov/tmp', 'TMPDIR' => '/home/egor.calashnicov/tmp', 'TMP' => '/home/egor.calashnicov/tmp', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'USER' => 'egor.calashnicov', 'HOME' => '/home/egor.calashnicov', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/balustrade-58/fixare-cu-monopuncte', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/balustrade-58/fixare-cu-monopuncte', 'REMOTE_PORT' => '57708', 'SCRIPT_FILENAME' => '//home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html/webroot/index.php', 'SERVER_ADMIN' => 'info@plastregal.dev.ourbox.org', 'CONTEXT_DOCUMENT_ROOT' => '/home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/egor.calashnicov/web/plastregal.dev.ourbox.org/public_html', 'REMOTE_ADDR' => '18.188.96.3', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '88.99.40.25', 'SERVER_NAME' => 'plastregal.dev.ourbox.org', 'SERVER_SOFTWARE' => 'Apache/2.4.25 (Debian) mod_fcgid/2.3.9 OpenSSL/1.0.2u', 'SERVER_SIGNATURE' => '', 'HTTP_REFERER' => 'http://plastregal.dev.ourbox.org/rom/balustrade-58/fixare-cu-monopuncte', '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' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_FORWARDED_FOR' => '18.188.96.3', 'HTTP_HOST' => 'plastregal.dev.ourbox.org', 'proxy-nokeepalive' => '1', 'REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_STATUS' => '200', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1726799317.8897, 'REQUEST_TIME' => (int) 1726799317, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTPS' => false ] [protected] _input => null [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' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'plastregal.dev.ourbox.org' [private] port => null [private] path => '/balustrade-58/fixare-cu-monopuncte' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => [], 'cacheDirectives' => [], 'body' => '' }
$server = new Server(new Application(dirname(__DIR__) . '/config')); |
|
|
|
// Run the request/response through the application |
|
// and emit the response. |
|
$server->emit($server->run()); |
|
|
No arguments
If you are using SQL keywords as table column names, you can enable identifier quoting for your database connection in config/app.php.
Some of the Table objects in your application were created by instantiating "Cake\ORM\Table" instead of any other specific subclass.
This could be the cause for this exception. Auto-Tables are created for you under the following circumstances:
Please try correcting the issue for the following table aliases:
If you want to customize this error message, create src/Template/Error/pdo_error.ctp