Warning (2): file_put_contents() [<a href='http://php.net/function.file-put-contents'>function.file-put-contents</a>]: Only 0 of 3115 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 = '[Cake\Routing\Exception\MissingControllerException] Controller class BookNow could not be found. Exception Attributes: array ( 'class' => 'BookNow', 'plugin' => false, 'prefix' => false, '_ext' => false, ) Request URL: /book-now Stack Trace: #0 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Http/ControllerFactory.php(70): Cake\Http\ControllerFactory->missingController(Object(Cake\Http\ServerRequest)) #1 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php(90): Cake\Http\ControllerFactory->create(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #2 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Http/BaseApplication.php(78): Cake\Http\ActionDispatcher->dispatch(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #3 /home/mayookham/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)) #4 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php(59): Cake\Http\Runner->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #5 /home/mayookham/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)) #6 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php(88): Cake\Http\Runner->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #7 /home/mayookham/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)) #8 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php(92): Cake\Http\Runner->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #9 /home/mayookham/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)) #10 /home/mayookham/public_html/vendor/cakephp/debug_kit/src/Middleware/DebugKitMiddleware.php(52): Cake\Http\Runner->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #11 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Http/Runner.php(65): DebugKit\Middleware\DebugKitMiddleware->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response), Object(Cake\Http\Runner)) #12 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Http/Runner.php(51): Cake\Http\Runner->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #13 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Http/Server.php(80): Cake\Http\Runner->run(Object(Cake\Http\MiddlewareQueue), Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #14 /home/mayookham/public_html/webroot/index.php(37): Cake\Http\Server->run() #15 {main} ' $context = [ 'scope' => [] ] $output = '2026-08-12 13:47:38 Error: [Cake\Routing\Exception\MissingControllerException] Controller class BookNow could not be found. Exception Attributes: array ( 'class' => 'BookNow', 'plugin' => false, 'prefix' => false, '_ext' => false, ) Request URL: /book-now Stack Trace: #0 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Http/ControllerFactory.php(70): Cake\Http\ControllerFactory->missingController(Object(Cake\Http\ServerRequest)) #1 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php(90): Cake\Http\ControllerFactory->create(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #2 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Http/BaseApplication.php(78): Cake\Http\ActionDispatcher->dispatch(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #3 /home/mayookham/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)) #4 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php(59): Cake\Http\Runner->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #5 /home/mayookham/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)) #6 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php(88): Cake\Http\Runner->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #7 /home/mayookham/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)) #8 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php(92): Cake\Http\Runner->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #9 /home/mayookham/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)) #10 /home/mayookham/public_html/vendor/cakephp/debug_kit/src/Middleware/DebugKitMiddleware.php(52): Cake\Http\Runner->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #11 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Http/Runner.php(65): DebugKit\Middleware\DebugKitMiddleware->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response), Object(Cake\Http\Runner)) #12 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Http/Runner.php(51): Cake\Http\Runner->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #13 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Http/Server.php(80): Cake\Http\Runner->run(Object(Cake\Http\MiddlewareQueue), Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #14 /home/mayookham/public_html/webroot/index.php(37): Cake\Http\Server->run() #15 {main} ' $filename = 'error.log' $pathname = '/home/mayookham/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 177 Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 111 Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 94 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 DebugKit\Middleware\DebugKitMiddleware::__invoke() - ROOT/vendor/cakephp/debug_kit/src/Middleware/DebugKitMiddleware.php, line 52 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 80 [main] - ROOT/webroot/index.php, line 37
Warning (2): file_put_contents() [<a href='http://php.net/function.file-put-contents'>function.file-put-contents</a>]: Only 0 of 131 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 = 'warning' $message = 'Headers already sent in /home/mayookham/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php:822' $context = [ 'scope' => [] ] $output = '2026-08-12 13:47:38 Warning: Headers already sent in /home/mayookham/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php:822 ' $filename = 'error.log' $pathname = '/home/mayookham/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::warning() - CORE/src/Log/Log.php, line 469 Cake\Http\Response::sendHeaders() - CORE/src/Http/Response.php, line 515 Cake\Http\Response::send() - CORE/src/Http/Response.php, line 491 Cake\Error\ErrorHandler::_sendResponse() - CORE/src/Error/ErrorHandler.php, line 180 Cake\Error\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 139 Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 187 Cake\Error\BaseErrorHandler::wrapAndHandleException() - CORE/src/Error/BaseErrorHandler.php, line 171 [main] - [internal], line ??
Error: SQLSTATE[HY000]: General error: 14 unable to open database file
public function execute($params = null) |
|
{ |
|
$this->_hasExecuted = true; |
|
|
|
return $this->_statement->execute($params); |
|
} |
|
|
|
/** |
|
* Returns the next row for the result set after executing this statement. |
null
public function execute($params = null) |
|
{ |
|
$this->_hasExecuted = true; |
|
|
|
return $this->_statement->execute($params); |
|
} |
|
|
|
/** |
|
* Returns the next row for the result set after executing this statement. |
null
public function execute($params = null) |
|
{ |
|
$this->_reset(); |
|
|
|
return parent::execute($params); |
|
} |
|
|
|
/** |
|
* {@inheritDoc} |
null
if ($this->_bufferResults) { |
|
$this->_statement = new BufferedStatement($this->_statement, $this->_driver); |
|
} |
|
|
|
return $this->_statement->execute($params); |
|
} |
|
|
|
/** |
|
* Returns the number of rows returned of affected by last execution |
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' => 'INSERT INTO requests (url, content_type, status_code, method, requested_at, id) VALUES (:c0, :c1, :c2, :c3, :c4, :c5)',
'params' => [
':c0' => [
'value' => '/book-now',
'type' => 'text',
'placeholder' => 'c0'
],
':c1' => [
'value' => 'text/html; charset=UTF-8',
'type' => 'string',
'placeholder' => 'c1'
],
':c2' => [
'value' => (int) 404,
'type' => 'integer',
'placeholder' => 'c2'
],
':c3' => [
'value' => 'GET',
'type' => 'string',
'placeholder' => 'c3'
],
':c4' => [
'value' => object(Cake\I18n\FrozenTime) {},
'type' => 'datetime',
'placeholder' => 'c4'
],
':c5' => [
'value' => 'a219d5d2-fa2d-45b4-a6fc-847446c978f5',
'type' => 'uuid',
'placeholder' => 'c5'
]
],
'defaultTypes' => [
'Requests__id' => 'uuid',
'Requests.id' => 'uuid',
'id' => 'uuid',
'Requests__url' => 'text',
'Requests.url' => 'text',
'url' => 'text',
'Requests__content_type' => 'string',
'Requests.content_type' => 'string',
'content_type' => 'string',
'Requests__status_code' => 'integer',
'Requests.status_code' => 'integer',
'status_code' => 'integer',
'Requests__method' => 'string',
'Requests.method' => 'string',
'method' => 'string',
'Requests__requested_at' => 'datetime',
'Requests.requested_at' => 'datetime',
'requested_at' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(DebugKit\Model\Table\RequestsTable) {
'registryAlias' => 'DebugKit.Requests',
'table' => 'requests',
'alias' => 'Requests',
'entityClass' => 'DebugKit\Model\Entity\Request',
'associations' => [
[maximum depth reached]
],
'behaviors' => [
[maximum depth reached]
],
'defaultConnection' => 'debug_kit',
'connectionName' => 'debug_kit'
}
}
} |
|
|
|
$statement = $this->query()->insert(array_keys($data)) |
|
->values($data) |
|
->execute(); |
|
|
|
if ($statement->rowCount() !== 0) { |
|
$success = $entity; |
|
$entity->set($filteredKeys, ['guard' => false]); |
No arguments
$data = $entity->extract($this->getSchema()->columns(), true); |
|
$isNew = $entity->isNew(); |
|
|
|
if ($isNew) { |
|
$success = $this->_insert($entity, $data); |
|
} else { |
|
$success = $this->_update($entity, $data); |
|
} |
|
|
object(DebugKit\Model\Entity\Request) {
'url' => '/book-now',
'content_type' => 'text/html; charset=UTF-8',
'method' => 'GET',
'status_code' => (int) 404,
'requested_at' => object(Cake\I18n\FrozenTime) {
'time' => '2026-08-12T13:47:38+00:00',
'timezone' => '+00:00',
'fixedNowTime' => false
},
'panels' => [
(int) 0 => object(DebugKit\Model\Entity\Panel) {},
(int) 1 => object(DebugKit\Model\Entity\Panel) {},
(int) 2 => object(DebugKit\Model\Entity\Panel) {},
(int) 3 => object(DebugKit\Model\Entity\Panel) {},
(int) 4 => object(DebugKit\Model\Entity\Panel) {},
(int) 5 => object(DebugKit\Model\Entity\Panel) {},
(int) 6 => object(DebugKit\Model\Entity\Panel) {},
(int) 7 => object(DebugKit\Model\Entity\Panel) {},
(int) 8 => object(DebugKit\Model\Entity\Panel) {},
(int) 9 => object(DebugKit\Model\Entity\Panel) {},
(int) 10 => object(DebugKit\Model\Entity\Panel) {},
(int) 11 => object(DebugKit\Model\Entity\Panel) {},
(int) 12 => object(DebugKit\Model\Entity\Panel) {}
],
'[new]' => true,
'[accessible]' => [
'*' => true
],
'[dirty]' => [
'url' => true,
'content_type' => true,
'method' => true,
'status_code' => true,
'requested_at' => true,
'panels' => true
],
'[original]' => [],
'[virtual]' => [],
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'DebugKit.Requests'
}
[
'url' => '/book-now',
'content_type' => 'text/html; charset=UTF-8',
'status_code' => (int) 404,
'method' => 'GET',
'requested_at' => object(Cake\I18n\FrozenTime) {
'time' => '2026-08-12T13:47:38+00:00',
'timezone' => '+00:00',
'fixedNowTime' => false
},
'id' => 'a219d5d2-fa2d-45b4-a6fc-847446c978f5'
]
return $entity; |
|
} |
|
|
|
$success = $this->_executeTransaction(function () use ($entity, $options) { |
|
return $this->_processSave($entity, $options); |
|
}, $options['atomic']); |
|
|
|
if ($success) { |
|
if ($this->_transactionCommitted($options['atomic'], $options['_primary'])) { |
object(DebugKit\Model\Entity\Request) {
'url' => '/book-now',
'content_type' => 'text/html; charset=UTF-8',
'method' => 'GET',
'status_code' => (int) 404,
'requested_at' => object(Cake\I18n\FrozenTime) {
'time' => '2026-08-12T13:47:38+00:00',
'timezone' => '+00:00',
'fixedNowTime' => false
},
'panels' => [
(int) 0 => object(DebugKit\Model\Entity\Panel) {},
(int) 1 => object(DebugKit\Model\Entity\Panel) {},
(int) 2 => object(DebugKit\Model\Entity\Panel) {},
(int) 3 => object(DebugKit\Model\Entity\Panel) {},
(int) 4 => object(DebugKit\Model\Entity\Panel) {},
(int) 5 => object(DebugKit\Model\Entity\Panel) {},
(int) 6 => object(DebugKit\Model\Entity\Panel) {},
(int) 7 => object(DebugKit\Model\Entity\Panel) {},
(int) 8 => object(DebugKit\Model\Entity\Panel) {},
(int) 9 => object(DebugKit\Model\Entity\Panel) {},
(int) 10 => object(DebugKit\Model\Entity\Panel) {},
(int) 11 => object(DebugKit\Model\Entity\Panel) {},
(int) 12 => object(DebugKit\Model\Entity\Panel) {}
],
'[new]' => true,
'[accessible]' => [
'*' => true
],
'[dirty]' => [
'url' => true,
'content_type' => true,
'method' => true,
'status_code' => true,
'requested_at' => true,
'panels' => true
],
'[original]' => [],
'[virtual]' => [],
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'DebugKit.Requests'
}
object(ArrayObject) {
atomic => true
associated => [
'panels' => []
]
checkRules => true
checkExisting => true
_primary => true
}
protected function _executeTransaction(callable $worker, $atomic = true) |
|
{ |
|
if ($atomic) { |
|
return $this->getConnection()->transactional(function () use ($worker) { |
|
return $worker(); |
|
}); |
|
} |
|
|
|
return $worker(); |
No arguments
{ |
|
$this->begin(); |
|
|
|
try { |
|
$result = $callback($this); |
|
} catch (\Exception $e) { |
|
$this->rollback(false); |
|
throw $e; |
|
} |
object(Cake\Database\Connection) {
'config' => [
'database' => '*****',
'driver' => 'Cake\Database\Driver\Sqlite',
'encoding' => 'utf8',
'cacheMetadata' => true,
'quoteIdentifiers' => false,
'name' => 'debug_kit'
],
'driver' => object(Cake\Database\Driver\Sqlite) {
'connected' => true
},
'transactionLevel' => (int) 0,
'transactionStarted' => false,
'useSavePoints' => false,
'logQueries' => false,
'logger' => null
}
{ |
|
if ($atomic) { |
|
return $this->getConnection()->transactional(function () use ($worker) { |
|
return $worker(); |
|
}); |
|
} |
|
|
|
return $worker(); |
|
} |
object(Closure) {
}
} |
|
|
|
$success = $this->_executeTransaction(function () use ($entity, $options) { |
|
return $this->_processSave($entity, $options); |
|
}, $options['atomic']); |
|
|
|
if ($success) { |
|
if ($this->_transactionCommitted($options['atomic'], $options['_primary'])) { |
|
$this->dispatchEvent('Model.afterSaveCommit', compact('entity', 'options')); |
object(Closure) {
}
true
'content' => $content, |
|
]); |
|
} |
|
|
|
return $requests->save($row); |
|
} |
|
|
|
/** |
|
* Injects the JS to build the toolbar. |
object(DebugKit\Model\Entity\Request) {
'url' => '/book-now',
'content_type' => 'text/html; charset=UTF-8',
'method' => 'GET',
'status_code' => (int) 404,
'requested_at' => object(Cake\I18n\FrozenTime) {
'time' => '2026-08-12T13:47:38+00:00',
'timezone' => '+00:00',
'fixedNowTime' => false
},
'panels' => [
(int) 0 => object(DebugKit\Model\Entity\Panel) {},
(int) 1 => object(DebugKit\Model\Entity\Panel) {},
(int) 2 => object(DebugKit\Model\Entity\Panel) {},
(int) 3 => object(DebugKit\Model\Entity\Panel) {},
(int) 4 => object(DebugKit\Model\Entity\Panel) {},
(int) 5 => object(DebugKit\Model\Entity\Panel) {},
(int) 6 => object(DebugKit\Model\Entity\Panel) {},
(int) 7 => object(DebugKit\Model\Entity\Panel) {},
(int) 8 => object(DebugKit\Model\Entity\Panel) {},
(int) 9 => object(DebugKit\Model\Entity\Panel) {},
(int) 10 => object(DebugKit\Model\Entity\Panel) {},
(int) 11 => object(DebugKit\Model\Entity\Panel) {},
(int) 12 => object(DebugKit\Model\Entity\Panel) {}
],
'[new]' => true,
'[accessible]' => [
'*' => true
],
'[dirty]' => [
'url' => true,
'content_type' => true,
'method' => true,
'status_code' => true,
'requested_at' => true,
'panels' => true
],
'[original]' => [],
'[virtual]' => [],
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'DebugKit.Requests'
}
{ |
|
$this->service->loadPanels(); |
|
$this->service->initializePanels(); |
|
$response = $next($request, $response); |
|
$row = $this->service->saveData($request, $response); |
|
if (!$row) { |
|
return $response; |
|
} |
|
|
object(Cake\Http\ServerRequest) {
params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => []
]
data => []
query => []
cookies => []
url => 'book-now'
base => ''
webroot => '/'
here => '/book-now'
trustProxy => false
[protected] _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/mayookham/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/mayookham/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_HOST' => 'mayookham.com',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin',
'PHPRC' => '/etc/sentora/configs/apache/fcgi-config/mayookham',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'REDIRECT_REDIRECT_SSL_CIPHER_ALGKEYSIZE' => '256',
'REDIRECT_REDIRECT_SSL_CIPHER_EXPORT' => 'false',
'REDIRECT_REDIRECT_SSL_CIPHER_USEKEYSIZE' => '256',
'REDIRECT_REDIRECT_SSL_CLIENT_VERIFY' => 'NONE',
'REDIRECT_REDIRECT_SSL_COMPRESS_METHOD' => 'NULL',
'REDIRECT_REDIRECT_SSL_PROTOCOL' => 'TLSv1.3',
'REDIRECT_REDIRECT_SSL_SECURE_RENEG' => 'true',
'REDIRECT_REDIRECT_SSL_SERVER_A_KEY' => 'rsaEncryption',
'REDIRECT_REDIRECT_SSL_SERVER_A_SIG' => 'sha256WithRSAEncryption',
'REDIRECT_REDIRECT_SSL_SERVER_I_DN' => 'CN=YR2,O=Let's Encrypt,C=US',
'REDIRECT_REDIRECT_SSL_SERVER_I_DN_C' => 'US',
'REDIRECT_REDIRECT_SSL_SERVER_I_DN_CN' => 'YR2',
'REDIRECT_REDIRECT_SSL_SERVER_I_DN_O' => 'Let's Encrypt',
'REDIRECT_REDIRECT_SSL_SERVER_M_SERIAL' => '06FBDDB778A3B94B6ECB82DC6D95B04A551E',
'REDIRECT_REDIRECT_SSL_SERVER_M_VERSION' => '3',
'REDIRECT_REDIRECT_SSL_SERVER_SAN_DNS_0' => 'mayookham.com',
'REDIRECT_REDIRECT_SSL_SERVER_S_DN' => 'CN=mayookham.com',
'REDIRECT_REDIRECT_SSL_SERVER_S_DN_CN' => 'mayookham.com',
'REDIRECT_REDIRECT_SSL_SERVER_V_END' => 'Sep 6 22:12:38 2026 GMT',
'REDIRECT_REDIRECT_SSL_SERVER_V_START' => 'Jun 8 22:12:39 2026 GMT',
'REDIRECT_REDIRECT_SSL_SESSION_ID' => 'acfcaa246eb8554fb3cd35ff7345e28f04e00e22f5abfe24ba29ee52b3013cc7',
'REDIRECT_REDIRECT_SSL_SESSION_RESUMED' => 'Initial',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'mayookham.com',
'REDIRECT_REDIRECT_SSL_VERSION_INTERFACE' => 'mod_ssl/2.4.37',
'REDIRECT_REDIRECT_SSL_VERSION_LIBRARY' => 'OpenSSL/1.1.1k',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'anx5ehUgDqoCurp16MLozwAAAEU',
'REDIRECT_SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'REDIRECT_SSL_CIPHER_ALGKEYSIZE' => '256',
'REDIRECT_SSL_CIPHER_EXPORT' => 'false',
'REDIRECT_SSL_CIPHER_USEKEYSIZE' => '256',
'REDIRECT_SSL_CLIENT_VERIFY' => 'NONE',
'REDIRECT_SSL_COMPRESS_METHOD' => 'NULL',
'REDIRECT_SSL_PROTOCOL' => 'TLSv1.3',
'REDIRECT_SSL_SECURE_RENEG' => 'true',
'REDIRECT_SSL_SERVER_A_KEY' => 'rsaEncryption',
'REDIRECT_SSL_SERVER_A_SIG' => 'sha256WithRSAEncryption',
'REDIRECT_SSL_SERVER_I_DN' => 'CN=YR2,O=Let's Encrypt,C=US',
'REDIRECT_SSL_SERVER_I_DN_C' => 'US',
'REDIRECT_SSL_SERVER_I_DN_CN' => 'YR2',
'REDIRECT_SSL_SERVER_I_DN_O' => 'Let's Encrypt',
'REDIRECT_SSL_SERVER_M_SERIAL' => '06FBDDB778A3B94B6ECB82DC6D95B04A551E',
'REDIRECT_SSL_SERVER_M_VERSION' => '3',
'REDIRECT_SSL_SERVER_SAN_DNS_0' => 'mayookham.com',
'REDIRECT_SSL_SERVER_S_DN' => 'CN=mayookham.com',
'REDIRECT_SSL_SERVER_S_DN_CN' => 'mayookham.com',
'REDIRECT_SSL_SERVER_V_END' => 'Sep 6 22:12:38 2026 GMT',
'REDIRECT_SSL_SERVER_V_START' => 'Jun 8 22:12:39 2026 GMT',
'REDIRECT_SSL_SESSION_ID' => 'acfcaa246eb8554fb3cd35ff7345e28f04e00e22f5abfe24ba29ee52b3013cc7',
'REDIRECT_SSL_SESSION_RESUMED' => 'Initial',
'REDIRECT_SSL_TLS_SNI' => 'mayookham.com',
'REDIRECT_SSL_VERSION_INTERFACE' => 'mod_ssl/2.4.37',
'REDIRECT_SSL_VERSION_LIBRARY' => 'OpenSSL/1.1.1k',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'anx5ehUgDqoCurp16MLozwAAAEU',
'REDIRECT_URL' => '/webroot/book-now',
'REMOTE_ADDR' => '216.73.216.7',
'REMOTE_PORT' => '59858',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '//book-now',
'SCRIPT_FILENAME' => '/home/mayookham/public_html/webroot/index.php',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_ADDR' => '195.250.31.216',
'SERVER_ADMIN' => 'mayookham@mayookham.com',
'SERVER_NAME' => 'mayookham.com',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SSL_CIPHER_EXPORT' => 'false',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CLIENT_VERIFY' => 'NONE',
'SSL_COMPRESS_METHOD' => 'NULL',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_SECURE_RENEG' => 'true',
'SSL_SERVER_A_KEY' => 'rsaEncryption',
'SSL_SERVER_A_SIG' => 'sha256WithRSAEncryption',
'SSL_SERVER_I_DN' => 'CN=YR2,O=Let's Encrypt,C=US',
'SSL_SERVER_I_DN_C' => 'US',
'SSL_SERVER_I_DN_CN' => 'YR2',
'SSL_SERVER_I_DN_O' => 'Let's Encrypt',
'SSL_SERVER_M_SERIAL' => '06FBDDB778A3B94B6ECB82DC6D95B04A551E',
'SSL_SERVER_M_VERSION' => '3',
'SSL_SERVER_SAN_DNS_0' => 'mayookham.com',
'SSL_SERVER_S_DN' => 'CN=mayookham.com',
'SSL_SERVER_S_DN_CN' => 'mayookham.com',
'SSL_SERVER_V_END' => 'Sep 6 22:12:38 2026 GMT',
'SSL_SERVER_V_START' => 'Jun 8 22:12:39 2026 GMT',
'SSL_SESSION_ID' => 'acfcaa246eb8554fb3cd35ff7345e28f04e00e22f5abfe24ba29ee52b3013cc7',
'SSL_SESSION_RESUMED' => 'Initial',
'SSL_TLS_SNI' => 'mayookham.com',
'SSL_VERSION_INTERFACE' => 'mod_ssl/2.4.37',
'SSL_VERSION_LIBRARY' => 'OpenSSL/1.1.1k',
'UNIQUE_ID' => 'anx5ehUgDqoCurp16MLozwAAAEU',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1786542458.3221,
'REQUEST_TIME' => (int) 1786542458,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[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 => [
'requested' => 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 => 'https'
[private] userInfo => ''
[private] host => 'mayookham.com'
[private] port => null
[private] path => '/book-now'
[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) 404,
'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 => 'book-now'
base => ''
webroot => '/'
here => '/book-now'
trustProxy => false
[protected] _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/mayookham/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/mayookham/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_HOST' => 'mayookham.com',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin',
'PHPRC' => '/etc/sentora/configs/apache/fcgi-config/mayookham',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'REDIRECT_REDIRECT_SSL_CIPHER_ALGKEYSIZE' => '256',
'REDIRECT_REDIRECT_SSL_CIPHER_EXPORT' => 'false',
'REDIRECT_REDIRECT_SSL_CIPHER_USEKEYSIZE' => '256',
'REDIRECT_REDIRECT_SSL_CLIENT_VERIFY' => 'NONE',
'REDIRECT_REDIRECT_SSL_COMPRESS_METHOD' => 'NULL',
'REDIRECT_REDIRECT_SSL_PROTOCOL' => 'TLSv1.3',
'REDIRECT_REDIRECT_SSL_SECURE_RENEG' => 'true',
'REDIRECT_REDIRECT_SSL_SERVER_A_KEY' => 'rsaEncryption',
'REDIRECT_REDIRECT_SSL_SERVER_A_SIG' => 'sha256WithRSAEncryption',
'REDIRECT_REDIRECT_SSL_SERVER_I_DN' => 'CN=YR2,O=Let's Encrypt,C=US',
'REDIRECT_REDIRECT_SSL_SERVER_I_DN_C' => 'US',
'REDIRECT_REDIRECT_SSL_SERVER_I_DN_CN' => 'YR2',
'REDIRECT_REDIRECT_SSL_SERVER_I_DN_O' => 'Let's Encrypt',
'REDIRECT_REDIRECT_SSL_SERVER_M_SERIAL' => '06FBDDB778A3B94B6ECB82DC6D95B04A551E',
'REDIRECT_REDIRECT_SSL_SERVER_M_VERSION' => '3',
'REDIRECT_REDIRECT_SSL_SERVER_SAN_DNS_0' => 'mayookham.com',
'REDIRECT_REDIRECT_SSL_SERVER_S_DN' => 'CN=mayookham.com',
'REDIRECT_REDIRECT_SSL_SERVER_S_DN_CN' => 'mayookham.com',
'REDIRECT_REDIRECT_SSL_SERVER_V_END' => 'Sep 6 22:12:38 2026 GMT',
'REDIRECT_REDIRECT_SSL_SERVER_V_START' => 'Jun 8 22:12:39 2026 GMT',
'REDIRECT_REDIRECT_SSL_SESSION_ID' => 'acfcaa246eb8554fb3cd35ff7345e28f04e00e22f5abfe24ba29ee52b3013cc7',
'REDIRECT_REDIRECT_SSL_SESSION_RESUMED' => 'Initial',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'mayookham.com',
'REDIRECT_REDIRECT_SSL_VERSION_INTERFACE' => 'mod_ssl/2.4.37',
'REDIRECT_REDIRECT_SSL_VERSION_LIBRARY' => 'OpenSSL/1.1.1k',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'anx5ehUgDqoCurp16MLozwAAAEU',
'REDIRECT_SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'REDIRECT_SSL_CIPHER_ALGKEYSIZE' => '256',
'REDIRECT_SSL_CIPHER_EXPORT' => 'false',
'REDIRECT_SSL_CIPHER_USEKEYSIZE' => '256',
'REDIRECT_SSL_CLIENT_VERIFY' => 'NONE',
'REDIRECT_SSL_COMPRESS_METHOD' => 'NULL',
'REDIRECT_SSL_PROTOCOL' => 'TLSv1.3',
'REDIRECT_SSL_SECURE_RENEG' => 'true',
'REDIRECT_SSL_SERVER_A_KEY' => 'rsaEncryption',
'REDIRECT_SSL_SERVER_A_SIG' => 'sha256WithRSAEncryption',
'REDIRECT_SSL_SERVER_I_DN' => 'CN=YR2,O=Let's Encrypt,C=US',
'REDIRECT_SSL_SERVER_I_DN_C' => 'US',
'REDIRECT_SSL_SERVER_I_DN_CN' => 'YR2',
'REDIRECT_SSL_SERVER_I_DN_O' => 'Let's Encrypt',
'REDIRECT_SSL_SERVER_M_SERIAL' => '06FBDDB778A3B94B6ECB82DC6D95B04A551E',
'REDIRECT_SSL_SERVER_M_VERSION' => '3',
'REDIRECT_SSL_SERVER_SAN_DNS_0' => 'mayookham.com',
'REDIRECT_SSL_SERVER_S_DN' => 'CN=mayookham.com',
'REDIRECT_SSL_SERVER_S_DN_CN' => 'mayookham.com',
'REDIRECT_SSL_SERVER_V_END' => 'Sep 6 22:12:38 2026 GMT',
'REDIRECT_SSL_SERVER_V_START' => 'Jun 8 22:12:39 2026 GMT',
'REDIRECT_SSL_SESSION_ID' => 'acfcaa246eb8554fb3cd35ff7345e28f04e00e22f5abfe24ba29ee52b3013cc7',
'REDIRECT_SSL_SESSION_RESUMED' => 'Initial',
'REDIRECT_SSL_TLS_SNI' => 'mayookham.com',
'REDIRECT_SSL_VERSION_INTERFACE' => 'mod_ssl/2.4.37',
'REDIRECT_SSL_VERSION_LIBRARY' => 'OpenSSL/1.1.1k',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'anx5ehUgDqoCurp16MLozwAAAEU',
'REDIRECT_URL' => '/webroot/book-now',
'REMOTE_ADDR' => '216.73.216.7',
'REMOTE_PORT' => '59858',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '//book-now',
'SCRIPT_FILENAME' => '/home/mayookham/public_html/webroot/index.php',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_ADDR' => '195.250.31.216',
'SERVER_ADMIN' => 'mayookham@mayookham.com',
'SERVER_NAME' => 'mayookham.com',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SSL_CIPHER_EXPORT' => 'false',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CLIENT_VERIFY' => 'NONE',
'SSL_COMPRESS_METHOD' => 'NULL',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_SECURE_RENEG' => 'true',
'SSL_SERVER_A_KEY' => 'rsaEncryption',
'SSL_SERVER_A_SIG' => 'sha256WithRSAEncryption',
'SSL_SERVER_I_DN' => 'CN=YR2,O=Let's Encrypt,C=US',
'SSL_SERVER_I_DN_C' => 'US',
'SSL_SERVER_I_DN_CN' => 'YR2',
'SSL_SERVER_I_DN_O' => 'Let's Encrypt',
'SSL_SERVER_M_SERIAL' => '06FBDDB778A3B94B6ECB82DC6D95B04A551E',
'SSL_SERVER_M_VERSION' => '3',
'SSL_SERVER_SAN_DNS_0' => 'mayookham.com',
'SSL_SERVER_S_DN' => 'CN=mayookham.com',
'SSL_SERVER_S_DN_CN' => 'mayookham.com',
'SSL_SERVER_V_END' => 'Sep 6 22:12:38 2026 GMT',
'SSL_SERVER_V_START' => 'Jun 8 22:12:39 2026 GMT',
'SSL_SESSION_ID' => 'acfcaa246eb8554fb3cd35ff7345e28f04e00e22f5abfe24ba29ee52b3013cc7',
'SSL_SESSION_RESUMED' => 'Initial',
'SSL_TLS_SNI' => 'mayookham.com',
'SSL_VERSION_INTERFACE' => 'mod_ssl/2.4.37',
'SSL_VERSION_LIBRARY' => 'OpenSSL/1.1.1k',
'UNIQUE_ID' => 'anx5ehUgDqoCurp16MLozwAAAEU',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1786542458.3221,
'REQUEST_TIME' => (int) 1786542458,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[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 => [
'requested' => 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 => 'https'
[private] userInfo => ''
[private] host => 'mayookham.com'
[private] port => null
[private] path => '/book-now'
[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) 404,
'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) 5
[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 => 'book-now'
base => ''
webroot => '/'
here => '/book-now'
trustProxy => false
[protected] _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/mayookham/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/mayookham/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_HOST' => 'mayookham.com',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin',
'PHPRC' => '/etc/sentora/configs/apache/fcgi-config/mayookham',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'REDIRECT_REDIRECT_SSL_CIPHER_ALGKEYSIZE' => '256',
'REDIRECT_REDIRECT_SSL_CIPHER_EXPORT' => 'false',
'REDIRECT_REDIRECT_SSL_CIPHER_USEKEYSIZE' => '256',
'REDIRECT_REDIRECT_SSL_CLIENT_VERIFY' => 'NONE',
'REDIRECT_REDIRECT_SSL_COMPRESS_METHOD' => 'NULL',
'REDIRECT_REDIRECT_SSL_PROTOCOL' => 'TLSv1.3',
'REDIRECT_REDIRECT_SSL_SECURE_RENEG' => 'true',
'REDIRECT_REDIRECT_SSL_SERVER_A_KEY' => 'rsaEncryption',
'REDIRECT_REDIRECT_SSL_SERVER_A_SIG' => 'sha256WithRSAEncryption',
'REDIRECT_REDIRECT_SSL_SERVER_I_DN' => 'CN=YR2,O=Let's Encrypt,C=US',
'REDIRECT_REDIRECT_SSL_SERVER_I_DN_C' => 'US',
'REDIRECT_REDIRECT_SSL_SERVER_I_DN_CN' => 'YR2',
'REDIRECT_REDIRECT_SSL_SERVER_I_DN_O' => 'Let's Encrypt',
'REDIRECT_REDIRECT_SSL_SERVER_M_SERIAL' => '06FBDDB778A3B94B6ECB82DC6D95B04A551E',
'REDIRECT_REDIRECT_SSL_SERVER_M_VERSION' => '3',
'REDIRECT_REDIRECT_SSL_SERVER_SAN_DNS_0' => 'mayookham.com',
'REDIRECT_REDIRECT_SSL_SERVER_S_DN' => 'CN=mayookham.com',
'REDIRECT_REDIRECT_SSL_SERVER_S_DN_CN' => 'mayookham.com',
'REDIRECT_REDIRECT_SSL_SERVER_V_END' => 'Sep 6 22:12:38 2026 GMT',
'REDIRECT_REDIRECT_SSL_SERVER_V_START' => 'Jun 8 22:12:39 2026 GMT',
'REDIRECT_REDIRECT_SSL_SESSION_ID' => 'acfcaa246eb8554fb3cd35ff7345e28f04e00e22f5abfe24ba29ee52b3013cc7',
'REDIRECT_REDIRECT_SSL_SESSION_RESUMED' => 'Initial',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'mayookham.com',
'REDIRECT_REDIRECT_SSL_VERSION_INTERFACE' => 'mod_ssl/2.4.37',
'REDIRECT_REDIRECT_SSL_VERSION_LIBRARY' => 'OpenSSL/1.1.1k',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'anx5ehUgDqoCurp16MLozwAAAEU',
'REDIRECT_SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'REDIRECT_SSL_CIPHER_ALGKEYSIZE' => '256',
'REDIRECT_SSL_CIPHER_EXPORT' => 'false',
'REDIRECT_SSL_CIPHER_USEKEYSIZE' => '256',
'REDIRECT_SSL_CLIENT_VERIFY' => 'NONE',
'REDIRECT_SSL_COMPRESS_METHOD' => 'NULL',
'REDIRECT_SSL_PROTOCOL' => 'TLSv1.3',
'REDIRECT_SSL_SECURE_RENEG' => 'true',
'REDIRECT_SSL_SERVER_A_KEY' => 'rsaEncryption',
'REDIRECT_SSL_SERVER_A_SIG' => 'sha256WithRSAEncryption',
'REDIRECT_SSL_SERVER_I_DN' => 'CN=YR2,O=Let's Encrypt,C=US',
'REDIRECT_SSL_SERVER_I_DN_C' => 'US',
'REDIRECT_SSL_SERVER_I_DN_CN' => 'YR2',
'REDIRECT_SSL_SERVER_I_DN_O' => 'Let's Encrypt',
'REDIRECT_SSL_SERVER_M_SERIAL' => '06FBDDB778A3B94B6ECB82DC6D95B04A551E',
'REDIRECT_SSL_SERVER_M_VERSION' => '3',
'REDIRECT_SSL_SERVER_SAN_DNS_0' => 'mayookham.com',
'REDIRECT_SSL_SERVER_S_DN' => 'CN=mayookham.com',
'REDIRECT_SSL_SERVER_S_DN_CN' => 'mayookham.com',
'REDIRECT_SSL_SERVER_V_END' => 'Sep 6 22:12:38 2026 GMT',
'REDIRECT_SSL_SERVER_V_START' => 'Jun 8 22:12:39 2026 GMT',
'REDIRECT_SSL_SESSION_ID' => 'acfcaa246eb8554fb3cd35ff7345e28f04e00e22f5abfe24ba29ee52b3013cc7',
'REDIRECT_SSL_SESSION_RESUMED' => 'Initial',
'REDIRECT_SSL_TLS_SNI' => 'mayookham.com',
'REDIRECT_SSL_VERSION_INTERFACE' => 'mod_ssl/2.4.37',
'REDIRECT_SSL_VERSION_LIBRARY' => 'OpenSSL/1.1.1k',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'anx5ehUgDqoCurp16MLozwAAAEU',
'REDIRECT_URL' => '/webroot/book-now',
'REMOTE_ADDR' => '216.73.216.7',
'REMOTE_PORT' => '59858',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '//book-now',
'SCRIPT_FILENAME' => '/home/mayookham/public_html/webroot/index.php',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_ADDR' => '195.250.31.216',
'SERVER_ADMIN' => 'mayookham@mayookham.com',
'SERVER_NAME' => 'mayookham.com',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SSL_CIPHER_EXPORT' => 'false',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CLIENT_VERIFY' => 'NONE',
'SSL_COMPRESS_METHOD' => 'NULL',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_SECURE_RENEG' => 'true',
'SSL_SERVER_A_KEY' => 'rsaEncryption',
'SSL_SERVER_A_SIG' => 'sha256WithRSAEncryption',
'SSL_SERVER_I_DN' => 'CN=YR2,O=Let's Encrypt,C=US',
'SSL_SERVER_I_DN_C' => 'US',
'SSL_SERVER_I_DN_CN' => 'YR2',
'SSL_SERVER_I_DN_O' => 'Let's Encrypt',
'SSL_SERVER_M_SERIAL' => '06FBDDB778A3B94B6ECB82DC6D95B04A551E',
'SSL_SERVER_M_VERSION' => '3',
'SSL_SERVER_SAN_DNS_0' => 'mayookham.com',
'SSL_SERVER_S_DN' => 'CN=mayookham.com',
'SSL_SERVER_S_DN_CN' => 'mayookham.com',
'SSL_SERVER_V_END' => 'Sep 6 22:12:38 2026 GMT',
'SSL_SERVER_V_START' => 'Jun 8 22:12:39 2026 GMT',
'SSL_SESSION_ID' => 'acfcaa246eb8554fb3cd35ff7345e28f04e00e22f5abfe24ba29ee52b3013cc7',
'SSL_SESSION_RESUMED' => 'Initial',
'SSL_TLS_SNI' => 'mayookham.com',
'SSL_VERSION_INTERFACE' => 'mod_ssl/2.4.37',
'SSL_VERSION_LIBRARY' => 'OpenSSL/1.1.1k',
'UNIQUE_ID' => 'anx5ehUgDqoCurp16MLozwAAAEU',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1786542458.3221,
'REQUEST_TIME' => (int) 1786542458,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[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 => [
'requested' => 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 => 'https'
[private] userInfo => ''
[private] host => 'mayookham.com'
[private] port => null
[private] path => '/book-now'
[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 => object(DebugKit\Middleware\DebugKitMiddleware) {},
(int) 1 => 'Cake\Error\Middleware\ErrorHandlerMiddleware',
(int) 2 => 'Cake\Routing\Middleware\AssetMiddleware',
(int) 3 => 'Cake\Routing\Middleware\RoutingMiddleware',
(int) 4 => object(App\Application) {}
]
[protected] callables => [
(int) 0 => object(DebugKit\Middleware\DebugKitMiddleware) {},
(int) 1 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {},
(int) 2 => object(Cake\Routing\Middleware\AssetMiddleware) {},
(int) 3 => object(Cake\Routing\Middleware\RoutingMiddleware) {},
(int) 4 => object(App\Application) {}
]
}
object(Cake\Http\ServerRequest) {
params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => []
]
data => []
query => []
cookies => []
url => 'book-now'
base => ''
webroot => '/'
here => '/book-now'
trustProxy => false
[protected] _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/mayookham/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/mayookham/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_HOST' => 'mayookham.com',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin',
'PHPRC' => '/etc/sentora/configs/apache/fcgi-config/mayookham',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'REDIRECT_REDIRECT_SSL_CIPHER_ALGKEYSIZE' => '256',
'REDIRECT_REDIRECT_SSL_CIPHER_EXPORT' => 'false',
'REDIRECT_REDIRECT_SSL_CIPHER_USEKEYSIZE' => '256',
'REDIRECT_REDIRECT_SSL_CLIENT_VERIFY' => 'NONE',
'REDIRECT_REDIRECT_SSL_COMPRESS_METHOD' => 'NULL',
'REDIRECT_REDIRECT_SSL_PROTOCOL' => 'TLSv1.3',
'REDIRECT_REDIRECT_SSL_SECURE_RENEG' => 'true',
'REDIRECT_REDIRECT_SSL_SERVER_A_KEY' => 'rsaEncryption',
'REDIRECT_REDIRECT_SSL_SERVER_A_SIG' => 'sha256WithRSAEncryption',
'REDIRECT_REDIRECT_SSL_SERVER_I_DN' => 'CN=YR2,O=Let's Encrypt,C=US',
'REDIRECT_REDIRECT_SSL_SERVER_I_DN_C' => 'US',
'REDIRECT_REDIRECT_SSL_SERVER_I_DN_CN' => 'YR2',
'REDIRECT_REDIRECT_SSL_SERVER_I_DN_O' => 'Let's Encrypt',
'REDIRECT_REDIRECT_SSL_SERVER_M_SERIAL' => '06FBDDB778A3B94B6ECB82DC6D95B04A551E',
'REDIRECT_REDIRECT_SSL_SERVER_M_VERSION' => '3',
'REDIRECT_REDIRECT_SSL_SERVER_SAN_DNS_0' => 'mayookham.com',
'REDIRECT_REDIRECT_SSL_SERVER_S_DN' => 'CN=mayookham.com',
'REDIRECT_REDIRECT_SSL_SERVER_S_DN_CN' => 'mayookham.com',
'REDIRECT_REDIRECT_SSL_SERVER_V_END' => 'Sep 6 22:12:38 2026 GMT',
'REDIRECT_REDIRECT_SSL_SERVER_V_START' => 'Jun 8 22:12:39 2026 GMT',
'REDIRECT_REDIRECT_SSL_SESSION_ID' => 'acfcaa246eb8554fb3cd35ff7345e28f04e00e22f5abfe24ba29ee52b3013cc7',
'REDIRECT_REDIRECT_SSL_SESSION_RESUMED' => 'Initial',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'mayookham.com',
'REDIRECT_REDIRECT_SSL_VERSION_INTERFACE' => 'mod_ssl/2.4.37',
'REDIRECT_REDIRECT_SSL_VERSION_LIBRARY' => 'OpenSSL/1.1.1k',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'anx5ehUgDqoCurp16MLozwAAAEU',
'REDIRECT_SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'REDIRECT_SSL_CIPHER_ALGKEYSIZE' => '256',
'REDIRECT_SSL_CIPHER_EXPORT' => 'false',
'REDIRECT_SSL_CIPHER_USEKEYSIZE' => '256',
'REDIRECT_SSL_CLIENT_VERIFY' => 'NONE',
'REDIRECT_SSL_COMPRESS_METHOD' => 'NULL',
'REDIRECT_SSL_PROTOCOL' => 'TLSv1.3',
'REDIRECT_SSL_SECURE_RENEG' => 'true',
'REDIRECT_SSL_SERVER_A_KEY' => 'rsaEncryption',
'REDIRECT_SSL_SERVER_A_SIG' => 'sha256WithRSAEncryption',
'REDIRECT_SSL_SERVER_I_DN' => 'CN=YR2,O=Let's Encrypt,C=US',
'REDIRECT_SSL_SERVER_I_DN_C' => 'US',
'REDIRECT_SSL_SERVER_I_DN_CN' => 'YR2',
'REDIRECT_SSL_SERVER_I_DN_O' => 'Let's Encrypt',
'REDIRECT_SSL_SERVER_M_SERIAL' => '06FBDDB778A3B94B6ECB82DC6D95B04A551E',
'REDIRECT_SSL_SERVER_M_VERSION' => '3',
'REDIRECT_SSL_SERVER_SAN_DNS_0' => 'mayookham.com',
'REDIRECT_SSL_SERVER_S_DN' => 'CN=mayookham.com',
'REDIRECT_SSL_SERVER_S_DN_CN' => 'mayookham.com',
'REDIRECT_SSL_SERVER_V_END' => 'Sep 6 22:12:38 2026 GMT',
'REDIRECT_SSL_SERVER_V_START' => 'Jun 8 22:12:39 2026 GMT',
'REDIRECT_SSL_SESSION_ID' => 'acfcaa246eb8554fb3cd35ff7345e28f04e00e22f5abfe24ba29ee52b3013cc7',
'REDIRECT_SSL_SESSION_RESUMED' => 'Initial',
'REDIRECT_SSL_TLS_SNI' => 'mayookham.com',
'REDIRECT_SSL_VERSION_INTERFACE' => 'mod_ssl/2.4.37',
'REDIRECT_SSL_VERSION_LIBRARY' => 'OpenSSL/1.1.1k',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'anx5ehUgDqoCurp16MLozwAAAEU',
'REDIRECT_URL' => '/webroot/book-now',
'REMOTE_ADDR' => '216.73.216.7',
'REMOTE_PORT' => '59858',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '//book-now',
'SCRIPT_FILENAME' => '/home/mayookham/public_html/webroot/index.php',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_ADDR' => '195.250.31.216',
'SERVER_ADMIN' => 'mayookham@mayookham.com',
'SERVER_NAME' => 'mayookham.com',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SSL_CIPHER_EXPORT' => 'false',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CLIENT_VERIFY' => 'NONE',
'SSL_COMPRESS_METHOD' => 'NULL',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_SECURE_RENEG' => 'true',
'SSL_SERVER_A_KEY' => 'rsaEncryption',
'SSL_SERVER_A_SIG' => 'sha256WithRSAEncryption',
'SSL_SERVER_I_DN' => 'CN=YR2,O=Let's Encrypt,C=US',
'SSL_SERVER_I_DN_C' => 'US',
'SSL_SERVER_I_DN_CN' => 'YR2',
'SSL_SERVER_I_DN_O' => 'Let's Encrypt',
'SSL_SERVER_M_SERIAL' => '06FBDDB778A3B94B6ECB82DC6D95B04A551E',
'SSL_SERVER_M_VERSION' => '3',
'SSL_SERVER_SAN_DNS_0' => 'mayookham.com',
'SSL_SERVER_S_DN' => 'CN=mayookham.com',
'SSL_SERVER_S_DN_CN' => 'mayookham.com',
'SSL_SERVER_V_END' => 'Sep 6 22:12:38 2026 GMT',
'SSL_SERVER_V_START' => 'Jun 8 22:12:39 2026 GMT',
'SSL_SESSION_ID' => 'acfcaa246eb8554fb3cd35ff7345e28f04e00e22f5abfe24ba29ee52b3013cc7',
'SSL_SESSION_RESUMED' => 'Initial',
'SSL_TLS_SNI' => 'mayookham.com',
'SSL_VERSION_INTERFACE' => 'mod_ssl/2.4.37',
'SSL_VERSION_LIBRARY' => 'OpenSSL/1.1.1k',
'UNIQUE_ID' => 'anx5ehUgDqoCurp16MLozwAAAEU',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1786542458.3221,
'REQUEST_TIME' => (int) 1786542458,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[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 => [
'requested' => 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 => 'https'
[private] userInfo => ''
[private] host => 'mayookham.com'
[private] port => null
[private] path => '/book-now'
[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.
If you want to customize this error message, create src/Template/Error/pdo_error.ctp
Warning (2): file_put_contents() [<a href='http://php.net/function.file-put-contents'>function.file-put-contents</a>]: Only 0 of 3165 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: 14 unable to open database file in /home/mayookham/public_html/vendor/cakephp/cakephp/src/Database/Statement/StatementDecorator.php on line 174 Request URL: /book-now Client IP: 216.73.216.7 Stack Trace: #0 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Database/Statement/StatementDecorator.php(174): PDOStatement->execute(NULL) #1 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Database/Statement/StatementDecorator.php(174): Cake\Database\Statement\StatementDecorator->execute(NULL) #2 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Database/Statement/BufferedStatement.php(76): Cake\Database\Statement\StatementDecorator->execute(NULL) #3 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Database/Statement/SqliteStatement.php(41): Cake\Database\Statement\BufferedStatement->execute(NULL) #4 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Database/Connection.php(313): Cake\Database\Statement\SqliteStatement->execute() #5 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Database/Query.php(213): Cake\Database\Connection->run(Object(Cake\ORM\Query)) #6 /home/mayookham/public_html/vendor/cakephp/cakephp/src/ORM/Table.php(1916): Cake\Database\Query->execute() #7 /home/mayookham/public_html/vendor/cakephp/cakephp/src/ORM/Table.php(1810): Cake\ORM\Table->_insert(Object(DebugKit\Model\Entity\Request), Array) #8 /home/mayookham/public_html/vendor/cakephp/cakephp/src/ORM/Table.php(1723): Cake\ORM\Table->_processSave(Object(DebugKit\Model\Entity\Request), Object(ArrayObject)) #9 /home/mayookham/public_html/vendor/cakephp/cakephp/src/ORM/Table.php(1446): Cake\ORM\Table->Cake\ORM\{closure}() #10 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Database/Connection.php(680): Cake\ORM\Table->Cake\ORM\{closure}(Object(Cake\Database\Connection)) #11 /home/mayookham/public_html/vendor/cakephp/cakephp/src/ORM/Table.php(1447): Cake\Database\Connection->transactional(Object(Closure)) #12 /home/mayookham/public_html/vendor/cakephp/cakephp/src/ORM/Table.php(1724): Cake\ORM\Table->_executeTransaction(Object(Closure), true) #13 /home/mayookham/public_html/vendor/cakephp/debug_kit/src/ToolbarService.php(204): Cake\ORM\Table->save(Object(DebugKit\Model\Entity\Request)) #14 /home/mayookham/public_html/vendor/cakephp/debug_kit/src/Middleware/DebugKitMiddleware.php(53): DebugKit\ToolbarService->saveData(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #15 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Http/Runner.php(65): DebugKit\Middleware\DebugKitMiddleware->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response), Object(Cake\Http\Runner)) #16 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Http/Runner.php(51): Cake\Http\Runner->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #17 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Http/Server.php(80): Cake\Http\Runner->run(Object(Cake\Http\MiddlewareQueue), Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #18 /home/mayookham/public_html/webroot/index.php(37): Cake\Http\Server->run() #19 {main} ' $context = [ 'scope' => [] ] $output = '2026-08-12 13:47:38 Error: [PDOException] SQLSTATE[HY000]: General error: 14 unable to open database file in /home/mayookham/public_html/vendor/cakephp/cakephp/src/Database/Statement/StatementDecorator.php on line 174 Request URL: /book-now Client IP: 216.73.216.7 Stack Trace: #0 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Database/Statement/StatementDecorator.php(174): PDOStatement->execute(NULL) #1 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Database/Statement/StatementDecorator.php(174): Cake\Database\Statement\StatementDecorator->execute(NULL) #2 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Database/Statement/BufferedStatement.php(76): Cake\Database\Statement\StatementDecorator->execute(NULL) #3 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Database/Statement/SqliteStatement.php(41): Cake\Database\Statement\BufferedStatement->execute(NULL) #4 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Database/Connection.php(313): Cake\Database\Statement\SqliteStatement->execute() #5 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Database/Query.php(213): Cake\Database\Connection->run(Object(Cake\ORM\Query)) #6 /home/mayookham/public_html/vendor/cakephp/cakephp/src/ORM/Table.php(1916): Cake\Database\Query->execute() #7 /home/mayookham/public_html/vendor/cakephp/cakephp/src/ORM/Table.php(1810): Cake\ORM\Table->_insert(Object(DebugKit\Model\Entity\Request), Array) #8 /home/mayookham/public_html/vendor/cakephp/cakephp/src/ORM/Table.php(1723): Cake\ORM\Table->_processSave(Object(DebugKit\Model\Entity\Request), Object(ArrayObject)) #9 /home/mayookham/public_html/vendor/cakephp/cakephp/src/ORM/Table.php(1446): Cake\ORM\Table->Cake\ORM\{closure}() #10 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Database/Connection.php(680): Cake\ORM\Table->Cake\ORM\{closure}(Object(Cake\Database\Connection)) #11 /home/mayookham/public_html/vendor/cakephp/cakephp/src/ORM/Table.php(1447): Cake\Database\Connection->transactional(Object(Closure)) #12 /home/mayookham/public_html/vendor/cakephp/cakephp/src/ORM/Table.php(1724): Cake\ORM\Table->_executeTransaction(Object(Closure), true) #13 /home/mayookham/public_html/vendor/cakephp/debug_kit/src/ToolbarService.php(204): Cake\ORM\Table->save(Object(DebugKit\Model\Entity\Request)) #14 /home/mayookham/public_html/vendor/cakephp/debug_kit/src/Middleware/DebugKitMiddleware.php(53): DebugKit\ToolbarService->saveData(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #15 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Http/Runner.php(65): DebugKit\Middleware\DebugKitMiddleware->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response), Object(Cake\Http\Runner)) #16 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Http/Runner.php(51): Cake\Http\Runner->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #17 /home/mayookham/public_html/vendor/cakephp/cakephp/src/Http/Server.php(80): Cake\Http\Runner->run(Object(Cake\Http\MiddlewareQueue), Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #18 /home/mayookham/public_html/webroot/index.php(37): Cake\Http\Server->run() #19 {main} ' $filename = 'error.log' $pathname = '/home/mayookham/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\BaseErrorHandler::_logException() - CORE/src/Error/BaseErrorHandler.php, line 319 Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 188 Cake\Error\BaseErrorHandler::wrapAndHandleException() - CORE/src/Error/BaseErrorHandler.php, line 171 [main] - [internal], line ??