Error: SQLSTATE[HY000] [1045] Access denied for user 'zbzpbqmy_portda'@'localhost' (using password: YES)
$connection = new PDO( |
|
$dsn, |
|
$config['username'], |
|
$config['password'], |
|
$config['flags'] |
|
); |
|
$this->connection($connection); |
|
|
|
return true; |
'mysql:host=localhost;port=3306;dbname=zbzpbqmy_portda;charset=utf8' 'zbzpbqmy_portda' 'pu^;,s!0G;HR' [ (int) 12 => false, (int) 1000 => true, (int) 3 => (int) 2 ]
} else { |
|
$dsn = "mysql:unix_socket={$config['unix_socket']};dbname={$config['database']}"; |
|
} |
|
|
|
$this->_connect($dsn, $config); |
|
|
|
if (!empty($config['init'])) { |
|
$connection = $this->connection(); |
|
foreach ((array)$config['init'] as $command) { |
'mysql:host=localhost;port=3306;dbname=zbzpbqmy_portda;charset=utf8' [ 'driver' => 'Cake\Database\Driver\Mysql', 'persistent' => false, 'host' => 'localhost', 'username' => 'zbzpbqmy_portda', 'password' => 'pu^;,s!0G;HR', 'database' => 'zbzpbqmy_portda', 'encoding' => 'utf8', 'timezone' => '+04:00', 'flags' => [ (int) 12 => false, (int) 1000 => true, (int) 3 => (int) 2 ], 'cacheMetadata' => true, 'log' => false, 'quoteIdentifiers' => true, 'url' => null, 'name' => 'default', 'port' => '3306', 'init' => [ (int) 0 => 'SET time_zone = '+04:00'', (int) 1 => 'SET NAMES utf8' ] ]
* @return \Cake\Database\StatementInterface |
|
*/ |
|
public function prepare($query) |
|
{ |
|
$this->connect(); |
|
$isObject = $query instanceof Query; |
|
$statement = $this->_connection->prepare($isObject ? $query->sql() : $query); |
|
$result = new MysqlStatement($statement, $this); |
|
if ($isObject && $query->bufferResults() === false) { |
No arguments
* @return \Cake\Database\StatementInterface |
|
*/ |
|
public function prepare($sql) |
|
{ |
|
$statement = $this->_driver->prepare($sql); |
|
|
|
if ($this->_logQueries) { |
|
$statement = $this->_newLogger($statement); |
|
} |
'INSERT INTO plans_user_list (user_email,count) values('','1')'
* @return \Cake\Database\StatementInterface |
|
*/ |
|
public function query($sql) |
|
{ |
|
$statement = $this->prepare($sql); |
|
$statement->execute(); |
|
|
|
return $statement; |
|
} |
'INSERT INTO plans_user_list (user_email,count) values('','1')'
$statement = $this->prepare($query); |
|
$statement->bind($params, $types); |
|
$statement->execute(); |
|
} else { |
|
$statement = $this->query($query); |
|
} |
|
|
|
return $statement; |
|
} |
'INSERT INTO plans_user_list (user_email,count) values('','1')'
$cakeDescription = 'Portleads Flexi';
|
|
$this->autoRender="false";
|
|
// counting the users entering here
|
|
$user_email = $this->request->session()->read('Auth.Users.email');
|
|
$countUser = $conn->execute("INSERT INTO plans_user_list (user_email,count) values('$user_email','1')");
|
|
?>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
'INSERT INTO plans_user_list (user_email,count) values('','1')'
$this->__viewFile = $viewFile; |
|
extract($dataForView); |
|
ob_start(); |
|
|
|
include $this->__viewFile; |
|
|
|
unset($this->__viewFile); |
|
|
|
return ob_get_clean(); |
'/home/zbzpbqmy/public_html/src/Template/Pages/cost_per_lead.ctp'
$initialBlocks = count($this->Blocks->unclosed()); |
|
|
|
$this->dispatchEvent('View.beforeRenderFile', [$viewFile]); |
|
|
|
$content = $this->_evaluate($viewFile, $data); |
|
|
|
$afterEvent = $this->dispatchEvent('View.afterRenderFile', [$viewFile, $content]); |
|
if (isset($afterEvent->result)) { |
|
$content = $afterEvent->result; |
'/home/zbzpbqmy/public_html/src/Template/Pages/cost_per_lead.ctp' [ 'page' => 'cost-per-lead', 'subpage' => null, 'base_url' => 'https://www.portda.net', 'message' => '', 'member' => (int) 3 ]
$viewFileName = $view !== false ? $this->_getViewFileName($view) : null; |
|
if ($viewFileName) { |
|
$this->_currentType = static::TYPE_TEMPLATE; |
|
$this->dispatchEvent('View.beforeRender', [$viewFileName]); |
|
$this->Blocks->set('content', $this->_render($viewFileName)); |
|
$this->dispatchEvent('View.afterRender', [$viewFileName]); |
|
} |
|
|
|
if ($this->layout && $this->autoLayout) { |
'/home/zbzpbqmy/public_html/src/Template/Pages/cost_per_lead.ctp'
$builder->template($this->request->params['action']); |
|
} |
|
|
|
$this->View = $this->createView(); |
|
$this->response->body($this->View->render($view, $layout)); |
|
|
|
return $this->response; |
|
} |
|
|
'cost-per-lead' null
|
|
$this->set(compact('page', 'subpage')); |
|
|
|
try { |
|
$this->render(implode('/', $path)); |
|
} catch (MissingTemplateException $e) { |
|
if (Configure::read('debug')) { |
|
throw $e; |
|
} |
'cost-per-lead'
]); |
|
} |
|
$callable = [$this, $request->params['action']]; |
|
|
|
return call_user_func_array($callable, $request->params['pass']); |
|
} |
|
|
|
/** |
|
* Merge components, helpers vars from |
[
(int) 0 => object(App\Controller\PagesController) {
avg_rate => null
external_ugsa_country => (int) 0
rated => null
total_rated => null
paginate => [
'limit' => (int) 25,
'order' => [
[maximum depth reached]
]
]
name => 'Pages'
helpers => []
request => object(Cake\Network\Request) {}
response => object(Cake\Network\Response) {}
autoRender => false
components => []
View => object(App\View\AppView) {}
plugin => null
passedArgs => [
(int) 0 => 'cost-per-lead'
]
modelClass => 'Pages'
viewClass => null
viewVars => [
'page' => 'cost-per-lead',
'subpage' => null,
'base_url' => 'https://www.portda.net',
'message' => '',
'member' => (int) 3
]
RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) {}
Flash => object(Cake\Controller\Component\FlashComponent) {}
Cookie => object(Cake\Controller\Component\CookieComponent) {}
Auth => object(Cake\Controller\Component\AuthComponent) {}
Paginator => object(Cake\Controller\Component\PaginatorComponent) {}
Vessels => object(Cake\ORM\Table) {}
[protected] _responseClass => 'Cake\Network\Response'
[protected] _components => object(Cake\Controller\ComponentRegistry) {}
[protected] _validViewOptions => [
(int) 0 => 'passedArgs'
]
[protected] _eventManager => object(Cake\Event\EventManager) {}
[protected] _eventClass => '\Cake\Event\Event'
[protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) {}
[protected] _modelFactories => [
'Table' => [
[maximum depth reached]
]
]
[protected] _modelType => 'Table'
[protected] _viewBuilder => object(Cake\View\ViewBuilder) {}
},
(int) 1 => 'view'
]
[
(int) 0 => 'cost-per-lead'
]
if ($result instanceof Response) { |
|
return $result; |
|
} |
|
|
|
$response = $controller->invokeAction(); |
|
if ($response !== null && !($response instanceof Response)) { |
|
throw new LogicException('Controller actions can only return Cake\Network\Response or null.'); |
|
} |
|
|
No arguments
} else { |
|
$controller = $this->factory->create($request, $response); |
|
} |
|
|
|
$response = $this->_invoke($controller); |
|
if (isset($request->params['return'])) { |
|
return $response; |
|
} |
|
|
object(App\Controller\PagesController) {
avg_rate => null
external_ugsa_country => (int) 0
rated => null
total_rated => null
paginate => [
'limit' => (int) 25,
'order' => [
'Vessels.id' => 'asc'
]
]
name => 'Pages'
helpers => []
request => object(Cake\Network\Request) {
params => [
[maximum depth reached]
]
data => [[maximum depth reached]]
query => [[maximum depth reached]]
cookies => [[maximum depth reached]]
url => ''
base => ''
webroot => '/'
here => '/'
trustProxy => false
[protected] _environment => [
[maximum depth reached]
]
[protected] _detectors => [
[maximum depth reached]
]
[protected] _detectorCache => [
[maximum depth reached]
]
[protected] _input => ''
[protected] _session => object(Cake\Network\Session) {}
}
response => object(Cake\Network\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [[maximum depth reached]],
'file' => null,
'fileRange' => [[maximum depth reached]],
'cookies' => [[maximum depth reached]],
'cacheDirectives' => [[maximum depth reached]],
'body' => ''
}
autoRender => false
components => []
View => object(App\View\AppView) {
Blocks => object(Cake\View\ViewBlock) {}
plugin => null
name => 'Pages'
passedArgs => [
[maximum depth reached]
]
helpers => [[maximum depth reached]]
templatePath => 'Pages'
template => 'view'
layout => 'default'
layoutPath => null
autoLayout => true
subDir => null
theme => null
hasRendered => false
uuids => [[maximum depth reached]]
request => object(Cake\Network\Request) {}
response => object(Cake\Network\Response) {}
elementCache => 'default'
viewClass => null
viewVars => [
[maximum depth reached]
]
__viewFile => '/home/zbzpbqmy/public_html/src/Template/Pages/cost_per_lead.ctp'
autoRender => 'false'
[protected] _helpers => object(Cake\View\HelperRegistry) {}
[protected] _ext => '.ctp'
[protected] _passedVars => [
[maximum depth reached]
]
[protected] _paths => [
[maximum depth reached]
]
[protected] _pathsForPlugin => [[maximum depth reached]]
[protected] _parents => [[maximum depth reached]]
[protected] _current => '/home/zbzpbqmy/public_html/src/Template/Pages/cost_per_lead.ctp'
[protected] _currentType => 'view'
[protected] _stack => [[maximum depth reached]]
[protected] _eventManager => object(Cake\Event\EventManager) {}
[protected] _eventClass => '\Cake\Event\Event'
[protected] _viewBuilder => null
}
plugin => null
passedArgs => [
(int) 0 => 'cost-per-lead'
]
modelClass => 'Pages'
viewClass => null
viewVars => [
'page' => 'cost-per-lead',
'subpage' => null,
'base_url' => 'https://www.portda.net',
'message' => '',
'member' => (int) 3
]
RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) {
'components' => [[maximum depth reached]],
'implementedEvents' => [
[maximum depth reached]
],
'_config' => [
[maximum depth reached]
]
}
Flash => object(Cake\Controller\Component\FlashComponent) {
'components' => [[maximum depth reached]],
'implementedEvents' => [[maximum depth reached]],
'_config' => [
[maximum depth reached]
]
}
Cookie => object(Cake\Controller\Component\CookieComponent) {
'components' => [[maximum depth reached]],
'implementedEvents' => [[maximum depth reached]],
'_config' => [
[maximum depth reached]
]
}
Auth => object(Cake\Controller\Component\AuthComponent) {
'components' => [
[maximum depth reached]
],
'implementedEvents' => [
[maximum depth reached]
],
'_config' => [
[maximum depth reached]
]
}
Paginator => object(Cake\Controller\Component\PaginatorComponent) {
'components' => [[maximum depth reached]],
'implementedEvents' => [[maximum depth reached]],
'_config' => [
[maximum depth reached]
]
}
Vessels => object(Cake\ORM\Table) {
'registryAlias' => 'Vessels',
'table' => 'vessels',
'alias' => 'Vessels',
'entityClass' => '\Cake\ORM\Entity',
'associations' => [[maximum depth reached]],
'behaviors' => [[maximum depth reached]],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
[protected] _responseClass => 'Cake\Network\Response'
[protected] _components => object(Cake\Controller\ComponentRegistry) {
'_Controller' => object(App\Controller\PagesController) {},
'_loaded' => [
[maximum depth reached]
],
'_eventManager' => object(Cake\Event\EventManager) {},
'_eventClass' => '\Cake\Event\Event'
}
[protected] _validViewOptions => [
(int) 0 => 'passedArgs'
]
[protected] _eventManager => object(Cake\Event\EventManager) {
'_listeners' => [
[maximum depth reached]
],
'_isGlobal' => false,
'_eventList' => null,
'_trackEvents' => false,
'_generalManager' => '(object) EventManager'
}
[protected] _eventClass => '\Cake\Event\Event'
[protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) {
[protected] _config => [[maximum depth reached]]
[protected] _instances => [
[maximum depth reached]
]
[protected] _fallbacked => [
[maximum depth reached]
]
[protected] _options => [
[maximum depth reached]
]
}
[protected] _modelFactories => [
'Table' => [
(int) 0 => object(Cake\ORM\Locator\TableLocator) {},
(int) 1 => 'get'
]
]
[protected] _modelType => 'Table'
[protected] _viewBuilder => object(Cake\View\ViewBuilder) {
[protected] _templatePath => 'Pages'
[protected] _template => 'view'
[protected] _plugin => null
[protected] _theme => null
[protected] _layout => null
[protected] _autoLayout => null
[protected] _layoutPath => null
[protected] _name => 'Pages'
[protected] _className => null
[protected] _options => [
[maximum depth reached]
]
[protected] _helpers => [[maximum depth reached]]
}
}
$cakeRequest = RequestTransformer::toCake($request); |
|
$cakeResponse = ResponseTransformer::toCake($response); |
|
|
|
// Dispatch the request/response to CakePHP |
|
$cakeResponse = $this->getDispatcher()->dispatch($cakeRequest, $cakeResponse); |
|
|
|
// Convert the response back into a PSR7 object. |
|
return ResponseTransformer::toPsr($cakeResponse); |
|
} |
object(Cake\Network\Request) {
params => [
'pass' => [
(int) 0 => 'cost-per-lead'
],
'controller' => 'Pages',
'action' => 'view',
'plugin' => null,
'_matchedRoute' => '/',
'_ext' => null,
'isAjax' => false
]
data => []
query => []
cookies => []
url => ''
base => ''
webroot => '/'
here => '/'
trustProxy => false
[protected] _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/zbzpbqmy/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/zbzpbqmy/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_HOST' => 'portda.net',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php80/root/etc:/opt/cpanel/ea-php80/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_STATUS' => '200',
'REMOTE_ADDR' => '216.73.216.19',
'REMOTE_PORT' => '35179',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/',
'SCRIPT_FILENAME' => '/home/zbzpbqmy/public_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '162.214.187.153',
'SERVER_ADMIN' => 'webmaster@portda.net',
'SERVER_NAME' => 'portda.net',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'portda.net',
'TZ' => 'America/Denver',
'UNIQUE_ID' => 'aQBYKNY3QF5RSWQXMYh3gwAAAUY',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1761630248.4207,
'REQUEST_TIME' => (int) 1761630248,
'argv' => [],
'argc' => (int) 0,
'HTTP_X_HTTP_METHOD_OVERRIDE' => null,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
'HTTP_IF_NONE_MATCH' => null,
'HTTP_IF_MODIFIED_SINCE' => 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] _input => ''
[protected] _session => object(Cake\Network\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => '216000'
[protected] _isCLI => false
}
}
object(Cake\Network\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [],
'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(Zend\Diactoros\ServerRequest) {
[protected] headers => [
'accept' => [
(int) 0 => '*/*'
],
'accept-encoding' => [
(int) 0 => 'gzip, br, zstd, deflate'
],
'host' => [
(int) 0 => 'portda.net'
],
'user-agent' => [
(int) 0 => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)'
]
]
[protected] headerNames => [
'accept' => 'accept',
'accept-encoding' => 'accept-encoding',
'host' => 'host',
'user-agent' => 'user-agent'
]
[private] attributes => [
'base' => '',
'webroot' => '/',
'session' => object(Cake\Network\Session) {},
'params' => [
'pass' => [
[maximum depth reached]
],
'controller' => 'Pages',
'action' => 'view',
'plugin' => null,
'_matchedRoute' => '/'
]
]
[private] cookieParams => []
[private] parsedBody => []
[private] queryParams => []
[private] serverParams => [
'CONTEXT_DOCUMENT_ROOT' => '/home/zbzpbqmy/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/zbzpbqmy/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_HOST' => 'portda.net',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php80/root/etc:/opt/cpanel/ea-php80/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_STATUS' => '200',
'REMOTE_ADDR' => '216.73.216.19',
'REMOTE_PORT' => '35179',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/',
'SCRIPT_FILENAME' => '/home/zbzpbqmy/public_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '162.214.187.153',
'SERVER_ADMIN' => 'webmaster@portda.net',
'SERVER_NAME' => 'portda.net',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'portda.net',
'TZ' => 'America/Denver',
'UNIQUE_ID' => 'aQBYKNY3QF5RSWQXMYh3gwAAAUY',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1761630248.4207,
'REQUEST_TIME' => (int) 1761630248,
'argv' => [],
'argc' => (int) 0
]
[private] uploadedFiles => []
[private] protocol => '1.1'
[private] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => true
}
[private] method => 'GET'
[private] requestTarget => null
[private] uri => object(Zend\Diactoros\Uri) {
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'portda.net'
[private] port => null
[private] path => '/'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
}
object(Zend\Diactoros\Response) {
[protected] headers => []
[protected] headerNames => []
[private] phrases => [
(int) 100 => 'Continue',
(int) 101 => 'Switching Protocols',
(int) 102 => 'Processing',
(int) 200 => 'OK',
(int) 201 => 'Created',
(int) 202 => 'Accepted',
(int) 203 => 'Non-Authoritative Information',
(int) 204 => 'No Content',
(int) 205 => 'Reset Content',
(int) 206 => 'Partial Content',
(int) 207 => 'Multi-status',
(int) 208 => 'Already Reported',
(int) 226 => 'IM used',
(int) 300 => 'Multiple Choices',
(int) 301 => 'Moved Permanently',
(int) 302 => 'Found',
(int) 303 => 'See Other',
(int) 304 => 'Not Modified',
(int) 305 => 'Use Proxy',
(int) 306 => 'Switch Proxy',
(int) 307 => 'Temporary Redirect',
(int) 308 => 'Permanent Redirect',
(int) 400 => 'Bad Request',
(int) 401 => 'Unauthorized',
(int) 402 => 'Payment Required',
(int) 403 => 'Forbidden',
(int) 404 => 'Not Found',
(int) 405 => 'Method Not Allowed',
(int) 406 => 'Not Acceptable',
(int) 407 => 'Proxy Authentication Required',
(int) 408 => 'Request Time-out',
(int) 409 => 'Conflict',
(int) 410 => 'Gone',
(int) 411 => 'Length Required',
(int) 412 => 'Precondition Failed',
(int) 413 => 'Request Entity Too Large',
(int) 414 => 'Request-URI Too Large',
(int) 415 => 'Unsupported Media Type',
(int) 416 => 'Requested range not satisfiable',
(int) 417 => 'Expectation Failed',
(int) 418 => 'I'm a teapot',
(int) 421 => 'Misdirected Request',
(int) 422 => 'Unprocessable Entity',
(int) 423 => 'Locked',
(int) 424 => 'Failed Dependency',
(int) 425 => 'Unordered Collection',
(int) 426 => 'Upgrade Required',
(int) 428 => 'Precondition Required',
(int) 429 => 'Too Many Requests',
(int) 431 => 'Request Header Fields Too Large',
(int) 444 => 'Connection Closed Without Response',
(int) 451 => 'Unavailable For Legal Reasons',
(int) 499 => 'Client Closed Request',
(int) 500 => 'Internal Server Error',
(int) 501 => 'Not Implemented',
(int) 502 => 'Bad Gateway',
(int) 503 => 'Service Unavailable',
(int) 504 => 'Gateway Time-out',
(int) 505 => 'HTTP Version not supported',
(int) 506 => 'Variant Also Negotiates',
(int) 507 => 'Insufficient Storage',
(int) 508 => 'Loop Detected',
(int) 510 => 'Not Extended',
(int) 511 => 'Network Authentication Required',
(int) 599 => 'Network Connect Timeout Error'
]
[private] reasonPhrase => ''
[private] statusCode => (int) 200
[private] protocol => '1.1'
[private] stream => object(Zend\Diactoros\Stream) {
[protected] resource => resource
[protected] stream => 'php://memory'
}
}
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(Zend\Diactoros\ServerRequest) {
[protected] headers => [
'accept' => [
(int) 0 => '*/*'
],
'accept-encoding' => [
(int) 0 => 'gzip, br, zstd, deflate'
],
'host' => [
(int) 0 => 'portda.net'
],
'user-agent' => [
(int) 0 => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)'
]
]
[protected] headerNames => [
'accept' => 'accept',
'accept-encoding' => 'accept-encoding',
'host' => 'host',
'user-agent' => 'user-agent'
]
[private] attributes => [
'base' => '',
'webroot' => '/',
'session' => object(Cake\Network\Session) {},
'params' => [
'pass' => [
[maximum depth reached]
],
'controller' => 'Pages',
'action' => 'view',
'plugin' => null,
'_matchedRoute' => '/'
]
]
[private] cookieParams => []
[private] parsedBody => []
[private] queryParams => []
[private] serverParams => [
'CONTEXT_DOCUMENT_ROOT' => '/home/zbzpbqmy/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/zbzpbqmy/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_HOST' => 'portda.net',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php80/root/etc:/opt/cpanel/ea-php80/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_STATUS' => '200',
'REMOTE_ADDR' => '216.73.216.19',
'REMOTE_PORT' => '35179',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/',
'SCRIPT_FILENAME' => '/home/zbzpbqmy/public_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '162.214.187.153',
'SERVER_ADMIN' => 'webmaster@portda.net',
'SERVER_NAME' => 'portda.net',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'portda.net',
'TZ' => 'America/Denver',
'UNIQUE_ID' => 'aQBYKNY3QF5RSWQXMYh3gwAAAUY',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1761630248.4207,
'REQUEST_TIME' => (int) 1761630248,
'argv' => [],
'argc' => (int) 0
]
[private] uploadedFiles => []
[private] protocol => '1.1'
[private] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => true
}
[private] method => 'GET'
[private] requestTarget => null
[private] uri => object(Zend\Diactoros\Uri) {
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'portda.net'
[private] port => null
[private] path => '/'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
}
object(Zend\Diactoros\Response) {
[protected] headers => []
[protected] headerNames => []
[private] phrases => [
(int) 100 => 'Continue',
(int) 101 => 'Switching Protocols',
(int) 102 => 'Processing',
(int) 200 => 'OK',
(int) 201 => 'Created',
(int) 202 => 'Accepted',
(int) 203 => 'Non-Authoritative Information',
(int) 204 => 'No Content',
(int) 205 => 'Reset Content',
(int) 206 => 'Partial Content',
(int) 207 => 'Multi-status',
(int) 208 => 'Already Reported',
(int) 226 => 'IM used',
(int) 300 => 'Multiple Choices',
(int) 301 => 'Moved Permanently',
(int) 302 => 'Found',
(int) 303 => 'See Other',
(int) 304 => 'Not Modified',
(int) 305 => 'Use Proxy',
(int) 306 => 'Switch Proxy',
(int) 307 => 'Temporary Redirect',
(int) 308 => 'Permanent Redirect',
(int) 400 => 'Bad Request',
(int) 401 => 'Unauthorized',
(int) 402 => 'Payment Required',
(int) 403 => 'Forbidden',
(int) 404 => 'Not Found',
(int) 405 => 'Method Not Allowed',
(int) 406 => 'Not Acceptable',
(int) 407 => 'Proxy Authentication Required',
(int) 408 => 'Request Time-out',
(int) 409 => 'Conflict',
(int) 410 => 'Gone',
(int) 411 => 'Length Required',
(int) 412 => 'Precondition Failed',
(int) 413 => 'Request Entity Too Large',
(int) 414 => 'Request-URI Too Large',
(int) 415 => 'Unsupported Media Type',
(int) 416 => 'Requested range not satisfiable',
(int) 417 => 'Expectation Failed',
(int) 418 => 'I'm a teapot',
(int) 421 => 'Misdirected Request',
(int) 422 => 'Unprocessable Entity',
(int) 423 => 'Locked',
(int) 424 => 'Failed Dependency',
(int) 425 => 'Unordered Collection',
(int) 426 => 'Upgrade Required',
(int) 428 => 'Precondition Required',
(int) 429 => 'Too Many Requests',
(int) 431 => 'Request Header Fields Too Large',
(int) 444 => 'Connection Closed Without Response',
(int) 451 => 'Unavailable For Legal Reasons',
(int) 499 => 'Client Closed Request',
(int) 500 => 'Internal Server Error',
(int) 501 => 'Not Implemented',
(int) 502 => 'Bad Gateway',
(int) 503 => 'Service Unavailable',
(int) 504 => 'Gateway Time-out',
(int) 505 => 'HTTP Version not supported',
(int) 506 => 'Variant Also Negotiates',
(int) 507 => 'Insufficient Storage',
(int) 508 => 'Loop Detected',
(int) 510 => 'Not Extended',
(int) 511 => 'Network Authentication Required',
(int) 599 => 'Network Connect Timeout Error'
]
[private] reasonPhrase => ''
[private] statusCode => (int) 200
[private] protocol => '1.1'
[private] stream => object(Zend\Diactoros\Stream) {
[protected] resource => resource
[protected] stream => 'php://memory'
}
}
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Zend\Diactoros\ServerRequest) {
[protected] headers => [
'accept' => [
(int) 0 => '*/*'
],
'accept-encoding' => [
(int) 0 => 'gzip, br, zstd, deflate'
],
'host' => [
(int) 0 => 'portda.net'
],
'user-agent' => [
(int) 0 => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)'
]
]
[protected] headerNames => [
'accept' => 'accept',
'accept-encoding' => 'accept-encoding',
'host' => 'host',
'user-agent' => 'user-agent'
]
[private] attributes => [
'base' => '',
'webroot' => '/',
'session' => object(Cake\Network\Session) {},
'params' => [
'pass' => [
[maximum depth reached]
],
'controller' => 'Pages',
'action' => 'view',
'plugin' => null,
'_matchedRoute' => '/'
]
]
[private] cookieParams => []
[private] parsedBody => []
[private] queryParams => []
[private] serverParams => [
'CONTEXT_DOCUMENT_ROOT' => '/home/zbzpbqmy/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/zbzpbqmy/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_HOST' => 'portda.net',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php80/root/etc:/opt/cpanel/ea-php80/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_STATUS' => '200',
'REMOTE_ADDR' => '216.73.216.19',
'REMOTE_PORT' => '35179',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/',
'SCRIPT_FILENAME' => '/home/zbzpbqmy/public_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '162.214.187.153',
'SERVER_ADMIN' => 'webmaster@portda.net',
'SERVER_NAME' => 'portda.net',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'portda.net',
'TZ' => 'America/Denver',
'UNIQUE_ID' => 'aQBYKNY3QF5RSWQXMYh3gwAAAUY',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1761630248.4207,
'REQUEST_TIME' => (int) 1761630248,
'argv' => [],
'argc' => (int) 0
]
[private] uploadedFiles => []
[private] protocol => '1.1'
[private] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => true
}
[private] method => 'GET'
[private] requestTarget => null
[private] uri => object(Zend\Diactoros\Uri) {
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'portda.net'
[private] port => null
[private] path => '/'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
}
object(Zend\Diactoros\Response) {
[protected] headers => []
[protected] headerNames => []
[private] phrases => [
(int) 100 => 'Continue',
(int) 101 => 'Switching Protocols',
(int) 102 => 'Processing',
(int) 200 => 'OK',
(int) 201 => 'Created',
(int) 202 => 'Accepted',
(int) 203 => 'Non-Authoritative Information',
(int) 204 => 'No Content',
(int) 205 => 'Reset Content',
(int) 206 => 'Partial Content',
(int) 207 => 'Multi-status',
(int) 208 => 'Already Reported',
(int) 226 => 'IM used',
(int) 300 => 'Multiple Choices',
(int) 301 => 'Moved Permanently',
(int) 302 => 'Found',
(int) 303 => 'See Other',
(int) 304 => 'Not Modified',
(int) 305 => 'Use Proxy',
(int) 306 => 'Switch Proxy',
(int) 307 => 'Temporary Redirect',
(int) 308 => 'Permanent Redirect',
(int) 400 => 'Bad Request',
(int) 401 => 'Unauthorized',
(int) 402 => 'Payment Required',
(int) 403 => 'Forbidden',
(int) 404 => 'Not Found',
(int) 405 => 'Method Not Allowed',
(int) 406 => 'Not Acceptable',
(int) 407 => 'Proxy Authentication Required',
(int) 408 => 'Request Time-out',
(int) 409 => 'Conflict',
(int) 410 => 'Gone',
(int) 411 => 'Length Required',
(int) 412 => 'Precondition Failed',
(int) 413 => 'Request Entity Too Large',
(int) 414 => 'Request-URI Too Large',
(int) 415 => 'Unsupported Media Type',
(int) 416 => 'Requested range not satisfiable',
(int) 417 => 'Expectation Failed',
(int) 418 => 'I'm a teapot',
(int) 421 => 'Misdirected Request',
(int) 422 => 'Unprocessable Entity',
(int) 423 => 'Locked',
(int) 424 => 'Failed Dependency',
(int) 425 => 'Unordered Collection',
(int) 426 => 'Upgrade Required',
(int) 428 => 'Precondition Required',
(int) 429 => 'Too Many Requests',
(int) 431 => 'Request Header Fields Too Large',
(int) 444 => 'Connection Closed Without Response',
(int) 451 => 'Unavailable For Legal Reasons',
(int) 499 => 'Client Closed Request',
(int) 500 => 'Internal Server Error',
(int) 501 => 'Not Implemented',
(int) 502 => 'Bad Gateway',
(int) 503 => 'Service Unavailable',
(int) 504 => 'Gateway Time-out',
(int) 505 => 'HTTP Version not supported',
(int) 506 => 'Variant Also Negotiates',
(int) 507 => 'Insufficient Storage',
(int) 508 => 'Loop Detected',
(int) 510 => 'Not Extended',
(int) 511 => 'Network Authentication Required',
(int) 599 => 'Network Connect Timeout Error'
]
[private] reasonPhrase => ''
[private] statusCode => (int) 200
[private] protocol => '1.1'
[private] stream => object(Zend\Diactoros\Stream) {
[protected] resource => resource
[protected] stream => 'php://memory'
}
}
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(Zend\Diactoros\ServerRequest) {
[protected] headers => [
'accept' => [
(int) 0 => '*/*'
],
'accept-encoding' => [
(int) 0 => 'gzip, br, zstd, deflate'
],
'host' => [
(int) 0 => 'portda.net'
],
'user-agent' => [
(int) 0 => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)'
]
]
[protected] headerNames => [
'accept' => 'accept',
'accept-encoding' => 'accept-encoding',
'host' => 'host',
'user-agent' => 'user-agent'
]
[private] attributes => [
'base' => '',
'webroot' => '/',
'session' => object(Cake\Network\Session) {}
]
[private] cookieParams => []
[private] parsedBody => []
[private] queryParams => []
[private] serverParams => [
'CONTEXT_DOCUMENT_ROOT' => '/home/zbzpbqmy/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/zbzpbqmy/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_HOST' => 'portda.net',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php80/root/etc:/opt/cpanel/ea-php80/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_STATUS' => '200',
'REMOTE_ADDR' => '216.73.216.19',
'REMOTE_PORT' => '35179',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/',
'SCRIPT_FILENAME' => '/home/zbzpbqmy/public_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '162.214.187.153',
'SERVER_ADMIN' => 'webmaster@portda.net',
'SERVER_NAME' => 'portda.net',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'portda.net',
'TZ' => 'America/Denver',
'UNIQUE_ID' => 'aQBYKNY3QF5RSWQXMYh3gwAAAUY',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1761630248.4207,
'REQUEST_TIME' => (int) 1761630248,
'argv' => [],
'argc' => (int) 0
]
[private] uploadedFiles => []
[private] protocol => '1.1'
[private] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => true
}
[private] method => 'GET'
[private] requestTarget => null
[private] uri => object(Zend\Diactoros\Uri) {
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'portda.net'
[private] port => null
[private] path => '/'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
}
object(Zend\Diactoros\Response) {
[protected] headers => []
[protected] headerNames => []
[private] phrases => [
(int) 100 => 'Continue',
(int) 101 => 'Switching Protocols',
(int) 102 => 'Processing',
(int) 200 => 'OK',
(int) 201 => 'Created',
(int) 202 => 'Accepted',
(int) 203 => 'Non-Authoritative Information',
(int) 204 => 'No Content',
(int) 205 => 'Reset Content',
(int) 206 => 'Partial Content',
(int) 207 => 'Multi-status',
(int) 208 => 'Already Reported',
(int) 226 => 'IM used',
(int) 300 => 'Multiple Choices',
(int) 301 => 'Moved Permanently',
(int) 302 => 'Found',
(int) 303 => 'See Other',
(int) 304 => 'Not Modified',
(int) 305 => 'Use Proxy',
(int) 306 => 'Switch Proxy',
(int) 307 => 'Temporary Redirect',
(int) 308 => 'Permanent Redirect',
(int) 400 => 'Bad Request',
(int) 401 => 'Unauthorized',
(int) 402 => 'Payment Required',
(int) 403 => 'Forbidden',
(int) 404 => 'Not Found',
(int) 405 => 'Method Not Allowed',
(int) 406 => 'Not Acceptable',
(int) 407 => 'Proxy Authentication Required',
(int) 408 => 'Request Time-out',
(int) 409 => 'Conflict',
(int) 410 => 'Gone',
(int) 411 => 'Length Required',
(int) 412 => 'Precondition Failed',
(int) 413 => 'Request Entity Too Large',
(int) 414 => 'Request-URI Too Large',
(int) 415 => 'Unsupported Media Type',
(int) 416 => 'Requested range not satisfiable',
(int) 417 => 'Expectation Failed',
(int) 418 => 'I'm a teapot',
(int) 421 => 'Misdirected Request',
(int) 422 => 'Unprocessable Entity',
(int) 423 => 'Locked',
(int) 424 => 'Failed Dependency',
(int) 425 => 'Unordered Collection',
(int) 426 => 'Upgrade Required',
(int) 428 => 'Precondition Required',
(int) 429 => 'Too Many Requests',
(int) 431 => 'Request Header Fields Too Large',
(int) 444 => 'Connection Closed Without Response',
(int) 451 => 'Unavailable For Legal Reasons',
(int) 499 => 'Client Closed Request',
(int) 500 => 'Internal Server Error',
(int) 501 => 'Not Implemented',
(int) 502 => 'Bad Gateway',
(int) 503 => 'Service Unavailable',
(int) 504 => 'Gateway Time-out',
(int) 505 => 'HTTP Version not supported',
(int) 506 => 'Variant Also Negotiates',
(int) 507 => 'Insufficient Storage',
(int) 508 => 'Loop Detected',
(int) 510 => 'Not Extended',
(int) 511 => 'Network Authentication Required',
(int) 599 => 'Network Connect Timeout Error'
]
[private] reasonPhrase => ''
[private] statusCode => (int) 200
[private] protocol => '1.1'
[private] stream => object(Zend\Diactoros\Stream) {
[protected] resource => resource
[protected] stream => 'php://memory'
}
}
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Zend\Diactoros\ServerRequest) {
[protected] headers => [
'accept' => [
(int) 0 => '*/*'
],
'accept-encoding' => [
(int) 0 => 'gzip, br, zstd, deflate'
],
'host' => [
(int) 0 => 'portda.net'
],
'user-agent' => [
(int) 0 => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)'
]
]
[protected] headerNames => [
'accept' => 'accept',
'accept-encoding' => 'accept-encoding',
'host' => 'host',
'user-agent' => 'user-agent'
]
[private] attributes => [
'base' => '',
'webroot' => '/',
'session' => object(Cake\Network\Session) {}
]
[private] cookieParams => []
[private] parsedBody => []
[private] queryParams => []
[private] serverParams => [
'CONTEXT_DOCUMENT_ROOT' => '/home/zbzpbqmy/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/zbzpbqmy/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_HOST' => 'portda.net',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php80/root/etc:/opt/cpanel/ea-php80/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_STATUS' => '200',
'REMOTE_ADDR' => '216.73.216.19',
'REMOTE_PORT' => '35179',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/',
'SCRIPT_FILENAME' => '/home/zbzpbqmy/public_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '162.214.187.153',
'SERVER_ADMIN' => 'webmaster@portda.net',
'SERVER_NAME' => 'portda.net',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'portda.net',
'TZ' => 'America/Denver',
'UNIQUE_ID' => 'aQBYKNY3QF5RSWQXMYh3gwAAAUY',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1761630248.4207,
'REQUEST_TIME' => (int) 1761630248,
'argv' => [],
'argc' => (int) 0
]
[private] uploadedFiles => []
[private] protocol => '1.1'
[private] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => true
}
[private] method => 'GET'
[private] requestTarget => null
[private] uri => object(Zend\Diactoros\Uri) {
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'portda.net'
[private] port => null
[private] path => '/'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
}
object(Zend\Diactoros\Response) {
[protected] headers => []
[protected] headerNames => []
[private] phrases => [
(int) 100 => 'Continue',
(int) 101 => 'Switching Protocols',
(int) 102 => 'Processing',
(int) 200 => 'OK',
(int) 201 => 'Created',
(int) 202 => 'Accepted',
(int) 203 => 'Non-Authoritative Information',
(int) 204 => 'No Content',
(int) 205 => 'Reset Content',
(int) 206 => 'Partial Content',
(int) 207 => 'Multi-status',
(int) 208 => 'Already Reported',
(int) 226 => 'IM used',
(int) 300 => 'Multiple Choices',
(int) 301 => 'Moved Permanently',
(int) 302 => 'Found',
(int) 303 => 'See Other',
(int) 304 => 'Not Modified',
(int) 305 => 'Use Proxy',
(int) 306 => 'Switch Proxy',
(int) 307 => 'Temporary Redirect',
(int) 308 => 'Permanent Redirect',
(int) 400 => 'Bad Request',
(int) 401 => 'Unauthorized',
(int) 402 => 'Payment Required',
(int) 403 => 'Forbidden',
(int) 404 => 'Not Found',
(int) 405 => 'Method Not Allowed',
(int) 406 => 'Not Acceptable',
(int) 407 => 'Proxy Authentication Required',
(int) 408 => 'Request Time-out',
(int) 409 => 'Conflict',
(int) 410 => 'Gone',
(int) 411 => 'Length Required',
(int) 412 => 'Precondition Failed',
(int) 413 => 'Request Entity Too Large',
(int) 414 => 'Request-URI Too Large',
(int) 415 => 'Unsupported Media Type',
(int) 416 => 'Requested range not satisfiable',
(int) 417 => 'Expectation Failed',
(int) 418 => 'I'm a teapot',
(int) 421 => 'Misdirected Request',
(int) 422 => 'Unprocessable Entity',
(int) 423 => 'Locked',
(int) 424 => 'Failed Dependency',
(int) 425 => 'Unordered Collection',
(int) 426 => 'Upgrade Required',
(int) 428 => 'Precondition Required',
(int) 429 => 'Too Many Requests',
(int) 431 => 'Request Header Fields Too Large',
(int) 444 => 'Connection Closed Without Response',
(int) 451 => 'Unavailable For Legal Reasons',
(int) 499 => 'Client Closed Request',
(int) 500 => 'Internal Server Error',
(int) 501 => 'Not Implemented',
(int) 502 => 'Bad Gateway',
(int) 503 => 'Service Unavailable',
(int) 504 => 'Gateway Time-out',
(int) 505 => 'HTTP Version not supported',
(int) 506 => 'Variant Also Negotiates',
(int) 507 => 'Insufficient Storage',
(int) 508 => 'Loop Detected',
(int) 510 => 'Not Extended',
(int) 511 => 'Network Authentication Required',
(int) 599 => 'Network Connect Timeout Error'
]
[private] reasonPhrase => ''
[private] statusCode => (int) 200
[private] protocol => '1.1'
[private] stream => object(Zend\Diactoros\Stream) {
[protected] resource => resource
[protected] stream => 'php://memory'
}
}
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(Zend\Diactoros\ServerRequest) {
[protected] headers => [
'accept' => [
(int) 0 => '*/*'
],
'accept-encoding' => [
(int) 0 => 'gzip, br, zstd, deflate'
],
'host' => [
(int) 0 => 'portda.net'
],
'user-agent' => [
(int) 0 => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)'
]
]
[protected] headerNames => [
'accept' => 'accept',
'accept-encoding' => 'accept-encoding',
'host' => 'host',
'user-agent' => 'user-agent'
]
[private] attributes => [
'base' => '',
'webroot' => '/',
'session' => object(Cake\Network\Session) {}
]
[private] cookieParams => []
[private] parsedBody => []
[private] queryParams => []
[private] serverParams => [
'CONTEXT_DOCUMENT_ROOT' => '/home/zbzpbqmy/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/zbzpbqmy/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_HOST' => 'portda.net',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php80/root/etc:/opt/cpanel/ea-php80/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_STATUS' => '200',
'REMOTE_ADDR' => '216.73.216.19',
'REMOTE_PORT' => '35179',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/',
'SCRIPT_FILENAME' => '/home/zbzpbqmy/public_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '162.214.187.153',
'SERVER_ADMIN' => 'webmaster@portda.net',
'SERVER_NAME' => 'portda.net',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'portda.net',
'TZ' => 'America/Denver',
'UNIQUE_ID' => 'aQBYKNY3QF5RSWQXMYh3gwAAAUY',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1761630248.4207,
'REQUEST_TIME' => (int) 1761630248,
'argv' => [],
'argc' => (int) 0
]
[private] uploadedFiles => []
[private] protocol => '1.1'
[private] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => true
}
[private] method => 'GET'
[private] requestTarget => null
[private] uri => object(Zend\Diactoros\Uri) {
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'portda.net'
[private] port => null
[private] path => '/'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
}
object(Zend\Diactoros\Response) {
[protected] headers => []
[protected] headerNames => []
[private] phrases => [
(int) 100 => 'Continue',
(int) 101 => 'Switching Protocols',
(int) 102 => 'Processing',
(int) 200 => 'OK',
(int) 201 => 'Created',
(int) 202 => 'Accepted',
(int) 203 => 'Non-Authoritative Information',
(int) 204 => 'No Content',
(int) 205 => 'Reset Content',
(int) 206 => 'Partial Content',
(int) 207 => 'Multi-status',
(int) 208 => 'Already Reported',
(int) 226 => 'IM used',
(int) 300 => 'Multiple Choices',
(int) 301 => 'Moved Permanently',
(int) 302 => 'Found',
(int) 303 => 'See Other',
(int) 304 => 'Not Modified',
(int) 305 => 'Use Proxy',
(int) 306 => 'Switch Proxy',
(int) 307 => 'Temporary Redirect',
(int) 308 => 'Permanent Redirect',
(int) 400 => 'Bad Request',
(int) 401 => 'Unauthorized',
(int) 402 => 'Payment Required',
(int) 403 => 'Forbidden',
(int) 404 => 'Not Found',
(int) 405 => 'Method Not Allowed',
(int) 406 => 'Not Acceptable',
(int) 407 => 'Proxy Authentication Required',
(int) 408 => 'Request Time-out',
(int) 409 => 'Conflict',
(int) 410 => 'Gone',
(int) 411 => 'Length Required',
(int) 412 => 'Precondition Failed',
(int) 413 => 'Request Entity Too Large',
(int) 414 => 'Request-URI Too Large',
(int) 415 => 'Unsupported Media Type',
(int) 416 => 'Requested range not satisfiable',
(int) 417 => 'Expectation Failed',
(int) 418 => 'I'm a teapot',
(int) 421 => 'Misdirected Request',
(int) 422 => 'Unprocessable Entity',
(int) 423 => 'Locked',
(int) 424 => 'Failed Dependency',
(int) 425 => 'Unordered Collection',
(int) 426 => 'Upgrade Required',
(int) 428 => 'Precondition Required',
(int) 429 => 'Too Many Requests',
(int) 431 => 'Request Header Fields Too Large',
(int) 444 => 'Connection Closed Without Response',
(int) 451 => 'Unavailable For Legal Reasons',
(int) 499 => 'Client Closed Request',
(int) 500 => 'Internal Server Error',
(int) 501 => 'Not Implemented',
(int) 502 => 'Bad Gateway',
(int) 503 => 'Service Unavailable',
(int) 504 => 'Gateway Time-out',
(int) 505 => 'HTTP Version not supported',
(int) 506 => 'Variant Also Negotiates',
(int) 507 => 'Insufficient Storage',
(int) 508 => 'Loop Detected',
(int) 510 => 'Not Extended',
(int) 511 => 'Network Authentication Required',
(int) 599 => 'Network Connect Timeout Error'
]
[private] reasonPhrase => ''
[private] statusCode => (int) 200
[private] protocol => '1.1'
[private] stream => object(Zend\Diactoros\Stream) {
[protected] resource => resource
[protected] stream => 'php://memory'
}
}
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Zend\Diactoros\ServerRequest) {
[protected] headers => [
'accept' => [
(int) 0 => '*/*'
],
'accept-encoding' => [
(int) 0 => 'gzip, br, zstd, deflate'
],
'host' => [
(int) 0 => 'portda.net'
],
'user-agent' => [
(int) 0 => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)'
]
]
[protected] headerNames => [
'accept' => 'accept',
'accept-encoding' => 'accept-encoding',
'host' => 'host',
'user-agent' => 'user-agent'
]
[private] attributes => [
'base' => '',
'webroot' => '/',
'session' => object(Cake\Network\Session) {}
]
[private] cookieParams => []
[private] parsedBody => []
[private] queryParams => []
[private] serverParams => [
'CONTEXT_DOCUMENT_ROOT' => '/home/zbzpbqmy/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/zbzpbqmy/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_HOST' => 'portda.net',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php80/root/etc:/opt/cpanel/ea-php80/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_STATUS' => '200',
'REMOTE_ADDR' => '216.73.216.19',
'REMOTE_PORT' => '35179',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/',
'SCRIPT_FILENAME' => '/home/zbzpbqmy/public_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '162.214.187.153',
'SERVER_ADMIN' => 'webmaster@portda.net',
'SERVER_NAME' => 'portda.net',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'portda.net',
'TZ' => 'America/Denver',
'UNIQUE_ID' => 'aQBYKNY3QF5RSWQXMYh3gwAAAUY',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1761630248.4207,
'REQUEST_TIME' => (int) 1761630248,
'argv' => [],
'argc' => (int) 0
]
[private] uploadedFiles => []
[private] protocol => '1.1'
[private] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => true
}
[private] method => 'GET'
[private] requestTarget => null
[private] uri => object(Zend\Diactoros\Uri) {
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'portda.net'
[private] port => null
[private] path => '/'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
}
object(Zend\Diactoros\Response) {
[protected] headers => []
[protected] headerNames => []
[private] phrases => [
(int) 100 => 'Continue',
(int) 101 => 'Switching Protocols',
(int) 102 => 'Processing',
(int) 200 => 'OK',
(int) 201 => 'Created',
(int) 202 => 'Accepted',
(int) 203 => 'Non-Authoritative Information',
(int) 204 => 'No Content',
(int) 205 => 'Reset Content',
(int) 206 => 'Partial Content',
(int) 207 => 'Multi-status',
(int) 208 => 'Already Reported',
(int) 226 => 'IM used',
(int) 300 => 'Multiple Choices',
(int) 301 => 'Moved Permanently',
(int) 302 => 'Found',
(int) 303 => 'See Other',
(int) 304 => 'Not Modified',
(int) 305 => 'Use Proxy',
(int) 306 => 'Switch Proxy',
(int) 307 => 'Temporary Redirect',
(int) 308 => 'Permanent Redirect',
(int) 400 => 'Bad Request',
(int) 401 => 'Unauthorized',
(int) 402 => 'Payment Required',
(int) 403 => 'Forbidden',
(int) 404 => 'Not Found',
(int) 405 => 'Method Not Allowed',
(int) 406 => 'Not Acceptable',
(int) 407 => 'Proxy Authentication Required',
(int) 408 => 'Request Time-out',
(int) 409 => 'Conflict',
(int) 410 => 'Gone',
(int) 411 => 'Length Required',
(int) 412 => 'Precondition Failed',
(int) 413 => 'Request Entity Too Large',
(int) 414 => 'Request-URI Too Large',
(int) 415 => 'Unsupported Media Type',
(int) 416 => 'Requested range not satisfiable',
(int) 417 => 'Expectation Failed',
(int) 418 => 'I'm a teapot',
(int) 421 => 'Misdirected Request',
(int) 422 => 'Unprocessable Entity',
(int) 423 => 'Locked',
(int) 424 => 'Failed Dependency',
(int) 425 => 'Unordered Collection',
(int) 426 => 'Upgrade Required',
(int) 428 => 'Precondition Required',
(int) 429 => 'Too Many Requests',
(int) 431 => 'Request Header Fields Too Large',
(int) 444 => 'Connection Closed Without Response',
(int) 451 => 'Unavailable For Legal Reasons',
(int) 499 => 'Client Closed Request',
(int) 500 => 'Internal Server Error',
(int) 501 => 'Not Implemented',
(int) 502 => 'Bad Gateway',
(int) 503 => 'Service Unavailable',
(int) 504 => 'Gateway Time-out',
(int) 505 => 'HTTP Version not supported',
(int) 506 => 'Variant Also Negotiates',
(int) 507 => 'Insufficient Storage',
(int) 508 => 'Loop Detected',
(int) 510 => 'Not Extended',
(int) 511 => 'Network Authentication Required',
(int) 599 => 'Network Connect Timeout Error'
]
[private] reasonPhrase => ''
[private] statusCode => (int) 200
[private] protocol => '1.1'
[private] stream => object(Zend\Diactoros\Stream) {
[protected] resource => resource
[protected] stream => 'php://memory'
}
}
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(Zend\Diactoros\ServerRequest) {
[protected] headers => [
'accept' => [
(int) 0 => '*/*'
],
'accept-encoding' => [
(int) 0 => 'gzip, br, zstd, deflate'
],
'host' => [
(int) 0 => 'portda.net'
],
'user-agent' => [
(int) 0 => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)'
]
]
[protected] headerNames => [
'accept' => 'accept',
'accept-encoding' => 'accept-encoding',
'host' => 'host',
'user-agent' => 'user-agent'
]
[private] attributes => [
'base' => '',
'webroot' => '/',
'session' => object(Cake\Network\Session) {}
]
[private] cookieParams => []
[private] parsedBody => []
[private] queryParams => []
[private] serverParams => [
'CONTEXT_DOCUMENT_ROOT' => '/home/zbzpbqmy/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/zbzpbqmy/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_HOST' => 'portda.net',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php80/root/etc:/opt/cpanel/ea-php80/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_STATUS' => '200',
'REMOTE_ADDR' => '216.73.216.19',
'REMOTE_PORT' => '35179',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/',
'SCRIPT_FILENAME' => '/home/zbzpbqmy/public_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '162.214.187.153',
'SERVER_ADMIN' => 'webmaster@portda.net',
'SERVER_NAME' => 'portda.net',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'portda.net',
'TZ' => 'America/Denver',
'UNIQUE_ID' => 'aQBYKNY3QF5RSWQXMYh3gwAAAUY',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1761630248.4207,
'REQUEST_TIME' => (int) 1761630248,
'argv' => [],
'argc' => (int) 0
]
[private] uploadedFiles => []
[private] protocol => '1.1'
[private] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => true
}
[private] method => 'GET'
[private] requestTarget => null
[private] uri => object(Zend\Diactoros\Uri) {
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'portda.net'
[private] port => null
[private] path => '/'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
}
object(Zend\Diactoros\Response) {
[protected] headers => []
[protected] headerNames => []
[private] phrases => [
(int) 100 => 'Continue',
(int) 101 => 'Switching Protocols',
(int) 102 => 'Processing',
(int) 200 => 'OK',
(int) 201 => 'Created',
(int) 202 => 'Accepted',
(int) 203 => 'Non-Authoritative Information',
(int) 204 => 'No Content',
(int) 205 => 'Reset Content',
(int) 206 => 'Partial Content',
(int) 207 => 'Multi-status',
(int) 208 => 'Already Reported',
(int) 226 => 'IM used',
(int) 300 => 'Multiple Choices',
(int) 301 => 'Moved Permanently',
(int) 302 => 'Found',
(int) 303 => 'See Other',
(int) 304 => 'Not Modified',
(int) 305 => 'Use Proxy',
(int) 306 => 'Switch Proxy',
(int) 307 => 'Temporary Redirect',
(int) 308 => 'Permanent Redirect',
(int) 400 => 'Bad Request',
(int) 401 => 'Unauthorized',
(int) 402 => 'Payment Required',
(int) 403 => 'Forbidden',
(int) 404 => 'Not Found',
(int) 405 => 'Method Not Allowed',
(int) 406 => 'Not Acceptable',
(int) 407 => 'Proxy Authentication Required',
(int) 408 => 'Request Time-out',
(int) 409 => 'Conflict',
(int) 410 => 'Gone',
(int) 411 => 'Length Required',
(int) 412 => 'Precondition Failed',
(int) 413 => 'Request Entity Too Large',
(int) 414 => 'Request-URI Too Large',
(int) 415 => 'Unsupported Media Type',
(int) 416 => 'Requested range not satisfiable',
(int) 417 => 'Expectation Failed',
(int) 418 => 'I'm a teapot',
(int) 421 => 'Misdirected Request',
(int) 422 => 'Unprocessable Entity',
(int) 423 => 'Locked',
(int) 424 => 'Failed Dependency',
(int) 425 => 'Unordered Collection',
(int) 426 => 'Upgrade Required',
(int) 428 => 'Precondition Required',
(int) 429 => 'Too Many Requests',
(int) 431 => 'Request Header Fields Too Large',
(int) 444 => 'Connection Closed Without Response',
(int) 451 => 'Unavailable For Legal Reasons',
(int) 499 => 'Client Closed Request',
(int) 500 => 'Internal Server Error',
(int) 501 => 'Not Implemented',
(int) 502 => 'Bad Gateway',
(int) 503 => 'Service Unavailable',
(int) 504 => 'Gateway Time-out',
(int) 505 => 'HTTP Version not supported',
(int) 506 => 'Variant Also Negotiates',
(int) 507 => 'Insufficient Storage',
(int) 508 => 'Loop Detected',
(int) 510 => 'Not Extended',
(int) 511 => 'Network Authentication Required',
(int) 599 => 'Network Connect Timeout Error'
]
[private] reasonPhrase => ''
[private] statusCode => (int) 200
[private] protocol => '1.1'
[private] stream => object(Zend\Diactoros\Stream) {
[protected] resource => resource
[protected] stream => 'php://memory'
}
}
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(Cake\Error\Middleware\ErrorHandlerMiddleware) {},
(int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) {},
(int) 2 => object(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(Zend\Diactoros\ServerRequest) {
[protected] headers => [
'accept' => [
(int) 0 => '*/*'
],
'accept-encoding' => [
(int) 0 => 'gzip, br, zstd, deflate'
],
'host' => [
(int) 0 => 'portda.net'
],
'user-agent' => [
(int) 0 => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)'
]
]
[protected] headerNames => [
'accept' => 'accept',
'accept-encoding' => 'accept-encoding',
'host' => 'host',
'user-agent' => 'user-agent'
]
[private] attributes => [
'base' => '',
'webroot' => '/',
'session' => object(Cake\Network\Session) {}
]
[private] cookieParams => []
[private] parsedBody => []
[private] queryParams => []
[private] serverParams => [
'CONTEXT_DOCUMENT_ROOT' => '/home/zbzpbqmy/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/zbzpbqmy/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_HOST' => 'portda.net',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php80/root/etc:/opt/cpanel/ea-php80/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_STATUS' => '200',
'REMOTE_ADDR' => '216.73.216.19',
'REMOTE_PORT' => '35179',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/',
'SCRIPT_FILENAME' => '/home/zbzpbqmy/public_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '162.214.187.153',
'SERVER_ADMIN' => 'webmaster@portda.net',
'SERVER_NAME' => 'portda.net',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'portda.net',
'TZ' => 'America/Denver',
'UNIQUE_ID' => 'aQBYKNY3QF5RSWQXMYh3gwAAAUY',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1761630248.4207,
'REQUEST_TIME' => (int) 1761630248,
'argv' => [],
'argc' => (int) 0
]
[private] uploadedFiles => []
[private] protocol => '1.1'
[private] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => true
}
[private] method => 'GET'
[private] requestTarget => null
[private] uri => object(Zend\Diactoros\Uri) {
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'portda.net'
[private] port => null
[private] path => '/'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
}
object(Zend\Diactoros\Response) {
[protected] headers => []
[protected] headerNames => []
[private] phrases => [
(int) 100 => 'Continue',
(int) 101 => 'Switching Protocols',
(int) 102 => 'Processing',
(int) 200 => 'OK',
(int) 201 => 'Created',
(int) 202 => 'Accepted',
(int) 203 => 'Non-Authoritative Information',
(int) 204 => 'No Content',
(int) 205 => 'Reset Content',
(int) 206 => 'Partial Content',
(int) 207 => 'Multi-status',
(int) 208 => 'Already Reported',
(int) 226 => 'IM used',
(int) 300 => 'Multiple Choices',
(int) 301 => 'Moved Permanently',
(int) 302 => 'Found',
(int) 303 => 'See Other',
(int) 304 => 'Not Modified',
(int) 305 => 'Use Proxy',
(int) 306 => 'Switch Proxy',
(int) 307 => 'Temporary Redirect',
(int) 308 => 'Permanent Redirect',
(int) 400 => 'Bad Request',
(int) 401 => 'Unauthorized',
(int) 402 => 'Payment Required',
(int) 403 => 'Forbidden',
(int) 404 => 'Not Found',
(int) 405 => 'Method Not Allowed',
(int) 406 => 'Not Acceptable',
(int) 407 => 'Proxy Authentication Required',
(int) 408 => 'Request Time-out',
(int) 409 => 'Conflict',
(int) 410 => 'Gone',
(int) 411 => 'Length Required',
(int) 412 => 'Precondition Failed',
(int) 413 => 'Request Entity Too Large',
(int) 414 => 'Request-URI Too Large',
(int) 415 => 'Unsupported Media Type',
(int) 416 => 'Requested range not satisfiable',
(int) 417 => 'Expectation Failed',
(int) 418 => 'I'm a teapot',
(int) 421 => 'Misdirected Request',
(int) 422 => 'Unprocessable Entity',
(int) 423 => 'Locked',
(int) 424 => 'Failed Dependency',
(int) 425 => 'Unordered Collection',
(int) 426 => 'Upgrade Required',
(int) 428 => 'Precondition Required',
(int) 429 => 'Too Many Requests',
(int) 431 => 'Request Header Fields Too Large',
(int) 444 => 'Connection Closed Without Response',
(int) 451 => 'Unavailable For Legal Reasons',
(int) 499 => 'Client Closed Request',
(int) 500 => 'Internal Server Error',
(int) 501 => 'Not Implemented',
(int) 502 => 'Bad Gateway',
(int) 503 => 'Service Unavailable',
(int) 504 => 'Gateway Time-out',
(int) 505 => 'HTTP Version not supported',
(int) 506 => 'Variant Also Negotiates',
(int) 507 => 'Insufficient Storage',
(int) 508 => 'Loop Detected',
(int) 510 => 'Not Extended',
(int) 511 => 'Network Authentication Required',
(int) 599 => 'Network Connect Timeout Error'
]
[private] reasonPhrase => ''
[private] statusCode => (int) 200
[private] protocol => '1.1'
[private] stream => object(Zend\Diactoros\Stream) {
[protected] resource => resource
[protected] stream => 'php://memory'
}
}
$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
* @since 0.10.0 |
|
* @license http://www.opensource.org/licenses/mit-license.php MIT License |
|
*/ |
|
|
|
require 'webroot' . DIRECTORY_SEPARATOR . 'index.php'; |
|
|
'/home/zbzpbqmy/public_html/webroot/index.php'
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