Error The action downloadPdf is not defined in HomeController
|
$request = $this->request; |
|
$action = $request->getParam('action'); |
|
|
|
if (!$this->isAction($action)) { |
|
throw new MissingActionException([ |
|
'controller' => $this->name . 'Controller', |
|
'action' => $request->getParam('action'), |
|
'prefix' => $request->getParam('prefix') ?: '', |
|
'plugin' => $request->getParam('plugin'), |
Arguments
|
if ($result instanceof ResponseInterface) { |
|
return $result; |
|
} |
|
|
|
$action = $controller->getAction(); |
|
$args = $this->getActionArgs( |
|
$action, |
|
array_values((array)$controller->getRequest()->getParam('pass')) |
|
); |
|
|
|
return $runner->run($middlewareQueue, $controller->getRequest(), $this); |
|
} |
|
|
|
return $this->handle($controller->getRequest()); |
|
} |
|
|
|
/** |
|
* Invoke the action. |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Home',
'action' => 'downloadPdf',
'pass' => [
(int) 0 => '160',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/usr/bin:/bin',
'TEMP' => '/tmp',
'TMP' => '/tmp',
'TMPDIR' => '/tmp',
'PWD' => '/',
'HTTP_ACCEPT' => '*/*',
'CONTENT_LENGTH' => '0',
'HTTP_HOST' => 'chiturf.com',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_FORWARDED_FOR' => '44.204.94.166',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_REAL_IP' => '44.204.94.166',
'HTTP_X_SUCURI_CLIENTIP' => '44.204.94.166',
'HTTP_X_SUCURI_COUNTRY' => 'US',
'HTTP_X_HTTPS' => '1',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgYcfnpqYQWZttX83So1wQAAAJ8',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/home/download_pdf/160',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://chiturf.com/home/download_pdf/160',
'REDIRECT_REDIRECT_USER_ID' => '6385206',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'chiturf.com',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZgYcfnpqYQWZttX83So1wQAAAJ8',
'REDIRECT_SCRIPT_URL' => '/home/download_pdf/160',
'REDIRECT_SCRIPT_URI' => 'https://chiturf.com/home/download_pdf/160',
'REDIRECT_USER_ID' => '6385206',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'chiturf.com',
'REDIRECT_STATUS' => '200',
'UNIQUE_ID' => 'ZgYcfnpqYQWZttX83So1wQAAAJ8',
'SCRIPT_URL' => '/home/download_pdf/160',
'SCRIPT_URI' => 'https://chiturf.com/home/download_pdf/160',
'USER_ID' => '6385206',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'chiturf.com',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_NAME' => 'chiturf.com',
'SERVER_ADDR' => '192.169.149.210',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '185.93.229.2',
'DOCUMENT_ROOT' => '/home/h88ij0e7h2dj/public_html/chiturf.com',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/h88ij0e7h2dj/public_html/chiturf.com',
'SERVER_ADMIN' => 'webmaster@chiturf.chicagoturfcleaning.com',
'SCRIPT_FILENAME' => '/home/h88ij0e7h2dj/public_html/chiturf.com/webroot/index.php',
'REMOTE_PORT' => '62984',
'REDIRECT_URL' => '/webroot/home/download_pdf/160',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/home/download_pdf/160',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711676542.4072,
'REQUEST_TIME' => (int) 1711676542,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'chiturf.com'
private port => null
private path => '/home/download_pdf/160'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
} |
|
|
|
$controller = $this->controllerFactory->create($request); |
|
|
|
return $this->controllerFactory->invoke($controller); |
|
} |
|
} |
|
|
Arguments
object(App\Controller\HomeController) id:0 {
paginate => [
]
RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) id:1 {
'components' => [
]
'implementedEvents' => [
'Controller.startup' => 'startup',
'Controller.beforeRender' => 'beforeRender',
]
'_config' => [
'checkHttpCache' => true,
'viewClassMap' => [
'' => [maximum depth reached],
],
]
}
Flash => object(Cake\Controller\Component\FlashComponent) id:2 {
'components' => [
]
'implementedEvents' => [
]
'_config' => [
'key' => 'flash',
'element' => 'default',
'plugin' => null,
'params' => [
'' => [maximum depth reached],
],
'clear' => false,
'duplicate' => true,
]
}
Home => object(App\Model\Table\HomeTable) id:3 {
'registryAlias' => 'Home'
'table' => 'homes'
'alias' => 'Home'
'entityClass' => 'App\Model\Entity\Home'
'associations' => [
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
SocialLinks => object(App\Model\Table\SocialLinksTable) id:4 {
'registryAlias' => 'SocialLinks'
'table' => 'social_links'
'alias' => 'SocialLinks'
'entityClass' => 'Cake\ORM\Entity'
'associations' => [
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
WarehouseAddresses => object(App\Model\Table\WarehouseAddressesTable) id:5 {
'registryAlias' => 'WarehouseAddresses'
'table' => 'warehouse_addresses'
'alias' => 'WarehouseAddresses'
'entityClass' => 'Cake\ORM\Entity'
'associations' => [
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
protected name => 'Home'
protected request => object(Cake\Http\ServerRequest) id:6 {
trustProxy => false
protected params => [
'' => [maximum depth reached],
]
protected data => [
'' => [maximum depth reached],
]
protected query => [
'' => [maximum depth reached],
]
protected cookies => [
'' => [maximum depth reached],
]
protected _environment => [
'' => [maximum depth reached],
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
'' => [maximum depth reached],
]
protected _detectors => [
'' => [maximum depth reached],
]
protected _detectorCache => [
'' => [maximum depth reached],
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:7 {
}
protected uri => object(Laminas\Diactoros\Uri) id:8 {
}
protected session => object(Cake\Http\Session) id:9 {
}
protected flash => object(Cake\Http\FlashMessage) id:10 {
}
protected attributes => [
'' => [maximum depth reached],
]
protected emulatedAttributes => [
'' => [maximum depth reached],
]
protected uploadedFiles => [
'' => [maximum depth reached],
]
protected protocol => null
protected requestTarget => null
}
protected response => object(Cake\Http\Response) id:11 {
'status' => (int) 200
'contentType' => 'text/html'
'headers' => [
'Content-Type' => [
'' => [maximum depth reached],
],
]
'file' => null
'fileRange' => [
]
'cookies' => object(Cake\Http\Cookie\CookieCollection) id:12 {
}
'cacheDirectives' => [
]
'body' => ''
}
protected autoRender => true
protected _components => object(Cake\Controller\ComponentRegistry) id:13 {
'_Controller' => object(App\Controller\HomeController) id: 0 {}
'_loaded' => [
(int) 0 => 'RequestHandler',
(int) 1 => 'Flash',
]
'_eventManager' => object(Cake\Event\EventManager) id:14 {
}
'_eventClass' => 'Cake\Event\Event'
}
protected plugin => null
protected middlewares => [
]
protected _eventManager => object(Cake\Event\EventManager) id: 14 {}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'Home'
protected _tableLocator => object(Cake\ORM\Locator\TableLocator) id:15 {
protected locations => [
'' => [maximum depth reached],
]
protected _config => [
'' => [maximum depth reached],
]
protected instances => [
'' => [maximum depth reached],
]
protected _fallbacked => [
'' => [maximum depth reached],
]
protected fallbackClassName => 'Cake\ORM\Table'
protected allowFallbackClass => false
protected options => [
'' => [maximum depth reached],
]
}
protected modelClass => 'Home'
protected _modelFactories => [
'Table' => [
(int) 0 => object(Cake\ORM\Locator\TableLocator) id: 15 {},
(int) 1 => 'get',
],
]
protected _modelType => 'Table'
protected _viewBuilder => object(Cake\View\ViewBuilder) id:16 {
protected _templatePath => null
protected _template => null
protected _plugin => null
protected _theme => null
protected _layout => null
protected _autoLayout => true
protected _layoutPath => null
protected _name => null
protected _className => null
protected _options => [
'' => [maximum depth reached],
]
protected _helpers => [
'' => [maximum depth reached],
]
protected _vars => [
'' => [maximum depth reached],
]
}
}
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
|
} |
|
|
|
$response = new Response([ |
|
'body' => 'Middleware queue was exhausted without returning a response ' |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Home',
'action' => 'downloadPdf',
'pass' => [
(int) 0 => '160',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/usr/bin:/bin',
'TEMP' => '/tmp',
'TMP' => '/tmp',
'TMPDIR' => '/tmp',
'PWD' => '/',
'HTTP_ACCEPT' => '*/*',
'CONTENT_LENGTH' => '0',
'HTTP_HOST' => 'chiturf.com',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_FORWARDED_FOR' => '44.204.94.166',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_REAL_IP' => '44.204.94.166',
'HTTP_X_SUCURI_CLIENTIP' => '44.204.94.166',
'HTTP_X_SUCURI_COUNTRY' => 'US',
'HTTP_X_HTTPS' => '1',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgYcfnpqYQWZttX83So1wQAAAJ8',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/home/download_pdf/160',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://chiturf.com/home/download_pdf/160',
'REDIRECT_REDIRECT_USER_ID' => '6385206',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'chiturf.com',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZgYcfnpqYQWZttX83So1wQAAAJ8',
'REDIRECT_SCRIPT_URL' => '/home/download_pdf/160',
'REDIRECT_SCRIPT_URI' => 'https://chiturf.com/home/download_pdf/160',
'REDIRECT_USER_ID' => '6385206',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'chiturf.com',
'REDIRECT_STATUS' => '200',
'UNIQUE_ID' => 'ZgYcfnpqYQWZttX83So1wQAAAJ8',
'SCRIPT_URL' => '/home/download_pdf/160',
'SCRIPT_URI' => 'https://chiturf.com/home/download_pdf/160',
'USER_ID' => '6385206',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'chiturf.com',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_NAME' => 'chiturf.com',
'SERVER_ADDR' => '192.169.149.210',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '185.93.229.2',
'DOCUMENT_ROOT' => '/home/h88ij0e7h2dj/public_html/chiturf.com',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/h88ij0e7h2dj/public_html/chiturf.com',
'SERVER_ADMIN' => 'webmaster@chiturf.chicagoturfcleaning.com',
'SCRIPT_FILENAME' => '/home/h88ij0e7h2dj/public_html/chiturf.com/webroot/index.php',
'REMOTE_PORT' => '62984',
'REDIRECT_URL' => '/webroot/home/download_pdf/160',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/home/download_pdf/160',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711676542.4072,
'REQUEST_TIME' => (int) 1711676542,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'chiturf.com'
private port => null
private path => '/home/download_pdf/160'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
*/ |
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
if (!in_array($request->getMethod(), $this->methods, true)) { |
|
return $handler->handle($request); |
|
} |
|
[$type] = explode(';', $request->getHeaderLine('Content-Type')); |
|
$type = strtolower($type); |
|
if (!isset($this->parsers[$type])) { |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Home',
'action' => 'downloadPdf',
'pass' => [
(int) 0 => '160',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/usr/bin:/bin',
'TEMP' => '/tmp',
'TMP' => '/tmp',
'TMPDIR' => '/tmp',
'PWD' => '/',
'HTTP_ACCEPT' => '*/*',
'CONTENT_LENGTH' => '0',
'HTTP_HOST' => 'chiturf.com',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_FORWARDED_FOR' => '44.204.94.166',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_REAL_IP' => '44.204.94.166',
'HTTP_X_SUCURI_CLIENTIP' => '44.204.94.166',
'HTTP_X_SUCURI_COUNTRY' => 'US',
'HTTP_X_HTTPS' => '1',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgYcfnpqYQWZttX83So1wQAAAJ8',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/home/download_pdf/160',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://chiturf.com/home/download_pdf/160',
'REDIRECT_REDIRECT_USER_ID' => '6385206',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'chiturf.com',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZgYcfnpqYQWZttX83So1wQAAAJ8',
'REDIRECT_SCRIPT_URL' => '/home/download_pdf/160',
'REDIRECT_SCRIPT_URI' => 'https://chiturf.com/home/download_pdf/160',
'REDIRECT_USER_ID' => '6385206',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'chiturf.com',
'REDIRECT_STATUS' => '200',
'UNIQUE_ID' => 'ZgYcfnpqYQWZttX83So1wQAAAJ8',
'SCRIPT_URL' => '/home/download_pdf/160',
'SCRIPT_URI' => 'https://chiturf.com/home/download_pdf/160',
'USER_ID' => '6385206',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'chiturf.com',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_NAME' => 'chiturf.com',
'SERVER_ADDR' => '192.169.149.210',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '185.93.229.2',
'DOCUMENT_ROOT' => '/home/h88ij0e7h2dj/public_html/chiturf.com',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/h88ij0e7h2dj/public_html/chiturf.com',
'SERVER_ADMIN' => 'webmaster@chiturf.chicagoturfcleaning.com',
'SCRIPT_FILENAME' => '/home/h88ij0e7h2dj/public_html/chiturf.com/webroot/index.php',
'REMOTE_PORT' => '62984',
'REDIRECT_URL' => '/webroot/home/download_pdf/160',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/home/download_pdf/160',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711676542.4072,
'REQUEST_TIME' => (int) 1711676542,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'chiturf.com'
private port => null
private path => '/home/download_pdf/160'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Home',
'action' => 'downloadPdf',
'pass' => [
(int) 0 => '160',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/usr/bin:/bin',
'TEMP' => '/tmp',
'TMP' => '/tmp',
'TMPDIR' => '/tmp',
'PWD' => '/',
'HTTP_ACCEPT' => '*/*',
'CONTENT_LENGTH' => '0',
'HTTP_HOST' => 'chiturf.com',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_FORWARDED_FOR' => '44.204.94.166',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_REAL_IP' => '44.204.94.166',
'HTTP_X_SUCURI_CLIENTIP' => '44.204.94.166',
'HTTP_X_SUCURI_COUNTRY' => 'US',
'HTTP_X_HTTPS' => '1',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgYcfnpqYQWZttX83So1wQAAAJ8',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/home/download_pdf/160',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://chiturf.com/home/download_pdf/160',
'REDIRECT_REDIRECT_USER_ID' => '6385206',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'chiturf.com',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZgYcfnpqYQWZttX83So1wQAAAJ8',
'REDIRECT_SCRIPT_URL' => '/home/download_pdf/160',
'REDIRECT_SCRIPT_URI' => 'https://chiturf.com/home/download_pdf/160',
'REDIRECT_USER_ID' => '6385206',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'chiturf.com',
'REDIRECT_STATUS' => '200',
'UNIQUE_ID' => 'ZgYcfnpqYQWZttX83So1wQAAAJ8',
'SCRIPT_URL' => '/home/download_pdf/160',
'SCRIPT_URI' => 'https://chiturf.com/home/download_pdf/160',
'USER_ID' => '6385206',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'chiturf.com',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_NAME' => 'chiturf.com',
'SERVER_ADDR' => '192.169.149.210',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '185.93.229.2',
'DOCUMENT_ROOT' => '/home/h88ij0e7h2dj/public_html/chiturf.com',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/h88ij0e7h2dj/public_html/chiturf.com',
'SERVER_ADMIN' => 'webmaster@chiturf.chicagoturfcleaning.com',
'SCRIPT_FILENAME' => '/home/h88ij0e7h2dj/public_html/chiturf.com/webroot/index.php',
'REMOTE_PORT' => '62984',
'REDIRECT_URL' => '/webroot/home/download_pdf/160',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/home/download_pdf/160',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711676542.4072,
'REQUEST_TIME' => (int) 1711676542,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'chiturf.com'
private port => null
private path => '/home/download_pdf/160'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 4
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/h88ij0e7h2dj/public_html/chiturf.com/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
); |
|
} |
|
$matching = Router::getRouteCollection()->getMiddleware($middleware); |
|
if (!$matching) { |
|
return $handler->handle($request); |
|
} |
|
|
|
$middleware = new MiddlewareQueue($matching); |
|
$runner = new Runner(); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Home',
'action' => 'downloadPdf',
'pass' => [
(int) 0 => '160',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/usr/bin:/bin',
'TEMP' => '/tmp',
'TMP' => '/tmp',
'TMPDIR' => '/tmp',
'PWD' => '/',
'HTTP_ACCEPT' => '*/*',
'CONTENT_LENGTH' => '0',
'HTTP_HOST' => 'chiturf.com',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_FORWARDED_FOR' => '44.204.94.166',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_REAL_IP' => '44.204.94.166',
'HTTP_X_SUCURI_CLIENTIP' => '44.204.94.166',
'HTTP_X_SUCURI_COUNTRY' => 'US',
'HTTP_X_HTTPS' => '1',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgYcfnpqYQWZttX83So1wQAAAJ8',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/home/download_pdf/160',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://chiturf.com/home/download_pdf/160',
'REDIRECT_REDIRECT_USER_ID' => '6385206',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'chiturf.com',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZgYcfnpqYQWZttX83So1wQAAAJ8',
'REDIRECT_SCRIPT_URL' => '/home/download_pdf/160',
'REDIRECT_SCRIPT_URI' => 'https://chiturf.com/home/download_pdf/160',
'REDIRECT_USER_ID' => '6385206',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'chiturf.com',
'REDIRECT_STATUS' => '200',
'UNIQUE_ID' => 'ZgYcfnpqYQWZttX83So1wQAAAJ8',
'SCRIPT_URL' => '/home/download_pdf/160',
'SCRIPT_URI' => 'https://chiturf.com/home/download_pdf/160',
'USER_ID' => '6385206',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'chiturf.com',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_NAME' => 'chiturf.com',
'SERVER_ADDR' => '192.169.149.210',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '185.93.229.2',
'DOCUMENT_ROOT' => '/home/h88ij0e7h2dj/public_html/chiturf.com',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/h88ij0e7h2dj/public_html/chiturf.com',
'SERVER_ADMIN' => 'webmaster@chiturf.chicagoturfcleaning.com',
'SCRIPT_FILENAME' => '/home/h88ij0e7h2dj/public_html/chiturf.com/webroot/index.php',
'REMOTE_PORT' => '62984',
'REDIRECT_URL' => '/webroot/home/download_pdf/160',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/home/download_pdf/160',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711676542.4072,
'REQUEST_TIME' => (int) 1711676542,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'chiturf.com'
private port => null
private path => '/home/download_pdf/160'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Home',
'action' => 'downloadPdf',
'pass' => [
(int) 0 => '160',
],
'plugin' => null,
'_matchedRoute' => '/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/usr/bin:/bin',
'TEMP' => '/tmp',
'TMP' => '/tmp',
'TMPDIR' => '/tmp',
'PWD' => '/',
'HTTP_ACCEPT' => '*/*',
'CONTENT_LENGTH' => '0',
'HTTP_HOST' => 'chiturf.com',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_FORWARDED_FOR' => '44.204.94.166',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_REAL_IP' => '44.204.94.166',
'HTTP_X_SUCURI_CLIENTIP' => '44.204.94.166',
'HTTP_X_SUCURI_COUNTRY' => 'US',
'HTTP_X_HTTPS' => '1',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgYcfnpqYQWZttX83So1wQAAAJ8',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/home/download_pdf/160',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://chiturf.com/home/download_pdf/160',
'REDIRECT_REDIRECT_USER_ID' => '6385206',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'chiturf.com',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZgYcfnpqYQWZttX83So1wQAAAJ8',
'REDIRECT_SCRIPT_URL' => '/home/download_pdf/160',
'REDIRECT_SCRIPT_URI' => 'https://chiturf.com/home/download_pdf/160',
'REDIRECT_USER_ID' => '6385206',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'chiturf.com',
'REDIRECT_STATUS' => '200',
'UNIQUE_ID' => 'ZgYcfnpqYQWZttX83So1wQAAAJ8',
'SCRIPT_URL' => '/home/download_pdf/160',
'SCRIPT_URI' => 'https://chiturf.com/home/download_pdf/160',
'USER_ID' => '6385206',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'chiturf.com',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_NAME' => 'chiturf.com',
'SERVER_ADDR' => '192.169.149.210',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '185.93.229.2',
'DOCUMENT_ROOT' => '/home/h88ij0e7h2dj/public_html/chiturf.com',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/h88ij0e7h2dj/public_html/chiturf.com',
'SERVER_ADMIN' => 'webmaster@chiturf.chicagoturfcleaning.com',
'SCRIPT_FILENAME' => '/home/h88ij0e7h2dj/public_html/chiturf.com/webroot/index.php',
'REMOTE_PORT' => '62984',
'REDIRECT_URL' => '/webroot/home/download_pdf/160',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/home/download_pdf/160',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711676542.4072,
'REQUEST_TIME' => (int) 1711676542,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'chiturf.com'
private port => null
private path => '/home/download_pdf/160'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 4
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/h88ij0e7h2dj/public_html/chiturf.com/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
$url = $request->getUri()->getPath(); |
|
if (strpos($url, '..') !== false || strpos($url, '.') === false) { |
|
return $handler->handle($request); |
|
} |
|
|
|
if (strpos($url, '/.') !== false) { |
|
return $handler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/usr/bin:/bin',
'TEMP' => '/tmp',
'TMP' => '/tmp',
'TMPDIR' => '/tmp',
'PWD' => '/',
'HTTP_ACCEPT' => '*/*',
'CONTENT_LENGTH' => '0',
'HTTP_HOST' => 'chiturf.com',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_FORWARDED_FOR' => '44.204.94.166',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_REAL_IP' => '44.204.94.166',
'HTTP_X_SUCURI_CLIENTIP' => '44.204.94.166',
'HTTP_X_SUCURI_COUNTRY' => 'US',
'HTTP_X_HTTPS' => '1',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgYcfnpqYQWZttX83So1wQAAAJ8',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/home/download_pdf/160',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://chiturf.com/home/download_pdf/160',
'REDIRECT_REDIRECT_USER_ID' => '6385206',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'chiturf.com',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZgYcfnpqYQWZttX83So1wQAAAJ8',
'REDIRECT_SCRIPT_URL' => '/home/download_pdf/160',
'REDIRECT_SCRIPT_URI' => 'https://chiturf.com/home/download_pdf/160',
'REDIRECT_USER_ID' => '6385206',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'chiturf.com',
'REDIRECT_STATUS' => '200',
'UNIQUE_ID' => 'ZgYcfnpqYQWZttX83So1wQAAAJ8',
'SCRIPT_URL' => '/home/download_pdf/160',
'SCRIPT_URI' => 'https://chiturf.com/home/download_pdf/160',
'USER_ID' => '6385206',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'chiturf.com',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_NAME' => 'chiturf.com',
'SERVER_ADDR' => '192.169.149.210',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '185.93.229.2',
'DOCUMENT_ROOT' => '/home/h88ij0e7h2dj/public_html/chiturf.com',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/h88ij0e7h2dj/public_html/chiturf.com',
'SERVER_ADMIN' => 'webmaster@chiturf.chicagoturfcleaning.com',
'SCRIPT_FILENAME' => '/home/h88ij0e7h2dj/public_html/chiturf.com/webroot/index.php',
'REMOTE_PORT' => '62984',
'REDIRECT_URL' => '/webroot/home/download_pdf/160',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/home/download_pdf/160',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711676542.4072,
'REQUEST_TIME' => (int) 1711676542,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'chiturf.com'
private port => null
private path => '/home/download_pdf/160'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/usr/bin:/bin',
'TEMP' => '/tmp',
'TMP' => '/tmp',
'TMPDIR' => '/tmp',
'PWD' => '/',
'HTTP_ACCEPT' => '*/*',
'CONTENT_LENGTH' => '0',
'HTTP_HOST' => 'chiturf.com',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_FORWARDED_FOR' => '44.204.94.166',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_REAL_IP' => '44.204.94.166',
'HTTP_X_SUCURI_CLIENTIP' => '44.204.94.166',
'HTTP_X_SUCURI_COUNTRY' => 'US',
'HTTP_X_HTTPS' => '1',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgYcfnpqYQWZttX83So1wQAAAJ8',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/home/download_pdf/160',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://chiturf.com/home/download_pdf/160',
'REDIRECT_REDIRECT_USER_ID' => '6385206',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'chiturf.com',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZgYcfnpqYQWZttX83So1wQAAAJ8',
'REDIRECT_SCRIPT_URL' => '/home/download_pdf/160',
'REDIRECT_SCRIPT_URI' => 'https://chiturf.com/home/download_pdf/160',
'REDIRECT_USER_ID' => '6385206',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'chiturf.com',
'REDIRECT_STATUS' => '200',
'UNIQUE_ID' => 'ZgYcfnpqYQWZttX83So1wQAAAJ8',
'SCRIPT_URL' => '/home/download_pdf/160',
'SCRIPT_URI' => 'https://chiturf.com/home/download_pdf/160',
'USER_ID' => '6385206',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'chiturf.com',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_NAME' => 'chiturf.com',
'SERVER_ADDR' => '192.169.149.210',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '185.93.229.2',
'DOCUMENT_ROOT' => '/home/h88ij0e7h2dj/public_html/chiturf.com',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/h88ij0e7h2dj/public_html/chiturf.com',
'SERVER_ADMIN' => 'webmaster@chiturf.chicagoturfcleaning.com',
'SCRIPT_FILENAME' => '/home/h88ij0e7h2dj/public_html/chiturf.com/webroot/index.php',
'REMOTE_PORT' => '62984',
'REDIRECT_URL' => '/webroot/home/download_pdf/160',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/home/download_pdf/160',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711676542.4072,
'REQUEST_TIME' => (int) 1711676542,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'chiturf.com'
private port => null
private path => '/home/download_pdf/160'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 4
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/h88ij0e7h2dj/public_html/chiturf.com/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
*/ |
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
try { |
|
return $handler->handle($request); |
|
} catch (RedirectException $exception) { |
|
return $this->handleRedirect($exception); |
|
} catch (Throwable $exception) { |
|
return $this->handleException($exception, $request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/usr/bin:/bin',
'TEMP' => '/tmp',
'TMP' => '/tmp',
'TMPDIR' => '/tmp',
'PWD' => '/',
'HTTP_ACCEPT' => '*/*',
'CONTENT_LENGTH' => '0',
'HTTP_HOST' => 'chiturf.com',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_FORWARDED_FOR' => '44.204.94.166',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_REAL_IP' => '44.204.94.166',
'HTTP_X_SUCURI_CLIENTIP' => '44.204.94.166',
'HTTP_X_SUCURI_COUNTRY' => 'US',
'HTTP_X_HTTPS' => '1',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgYcfnpqYQWZttX83So1wQAAAJ8',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/home/download_pdf/160',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://chiturf.com/home/download_pdf/160',
'REDIRECT_REDIRECT_USER_ID' => '6385206',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'chiturf.com',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZgYcfnpqYQWZttX83So1wQAAAJ8',
'REDIRECT_SCRIPT_URL' => '/home/download_pdf/160',
'REDIRECT_SCRIPT_URI' => 'https://chiturf.com/home/download_pdf/160',
'REDIRECT_USER_ID' => '6385206',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'chiturf.com',
'REDIRECT_STATUS' => '200',
'UNIQUE_ID' => 'ZgYcfnpqYQWZttX83So1wQAAAJ8',
'SCRIPT_URL' => '/home/download_pdf/160',
'SCRIPT_URI' => 'https://chiturf.com/home/download_pdf/160',
'USER_ID' => '6385206',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'chiturf.com',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_NAME' => 'chiturf.com',
'SERVER_ADDR' => '192.169.149.210',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '185.93.229.2',
'DOCUMENT_ROOT' => '/home/h88ij0e7h2dj/public_html/chiturf.com',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/h88ij0e7h2dj/public_html/chiturf.com',
'SERVER_ADMIN' => 'webmaster@chiturf.chicagoturfcleaning.com',
'SCRIPT_FILENAME' => '/home/h88ij0e7h2dj/public_html/chiturf.com/webroot/index.php',
'REMOTE_PORT' => '62984',
'REDIRECT_URL' => '/webroot/home/download_pdf/160',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/home/download_pdf/160',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711676542.4072,
'REQUEST_TIME' => (int) 1711676542,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'chiturf.com'
private port => null
private path => '/home/download_pdf/160'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/usr/bin:/bin',
'TEMP' => '/tmp',
'TMP' => '/tmp',
'TMPDIR' => '/tmp',
'PWD' => '/',
'HTTP_ACCEPT' => '*/*',
'CONTENT_LENGTH' => '0',
'HTTP_HOST' => 'chiturf.com',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_FORWARDED_FOR' => '44.204.94.166',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_REAL_IP' => '44.204.94.166',
'HTTP_X_SUCURI_CLIENTIP' => '44.204.94.166',
'HTTP_X_SUCURI_COUNTRY' => 'US',
'HTTP_X_HTTPS' => '1',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgYcfnpqYQWZttX83So1wQAAAJ8',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/home/download_pdf/160',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://chiturf.com/home/download_pdf/160',
'REDIRECT_REDIRECT_USER_ID' => '6385206',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'chiturf.com',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZgYcfnpqYQWZttX83So1wQAAAJ8',
'REDIRECT_SCRIPT_URL' => '/home/download_pdf/160',
'REDIRECT_SCRIPT_URI' => 'https://chiturf.com/home/download_pdf/160',
'REDIRECT_USER_ID' => '6385206',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'chiturf.com',
'REDIRECT_STATUS' => '200',
'UNIQUE_ID' => 'ZgYcfnpqYQWZttX83So1wQAAAJ8',
'SCRIPT_URL' => '/home/download_pdf/160',
'SCRIPT_URI' => 'https://chiturf.com/home/download_pdf/160',
'USER_ID' => '6385206',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'chiturf.com',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_NAME' => 'chiturf.com',
'SERVER_ADDR' => '192.169.149.210',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '185.93.229.2',
'DOCUMENT_ROOT' => '/home/h88ij0e7h2dj/public_html/chiturf.com',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/h88ij0e7h2dj/public_html/chiturf.com',
'SERVER_ADMIN' => 'webmaster@chiturf.chicagoturfcleaning.com',
'SCRIPT_FILENAME' => '/home/h88ij0e7h2dj/public_html/chiturf.com/webroot/index.php',
'REMOTE_PORT' => '62984',
'REDIRECT_URL' => '/webroot/home/download_pdf/160',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/home/download_pdf/160',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711676542.4072,
'REQUEST_TIME' => (int) 1711676542,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'chiturf.com'
private port => null
private path => '/home/download_pdf/160'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 4
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/h88ij0e7h2dj/public_html/chiturf.com/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
$this->queue = $queue; |
|
$this->queue->rewind(); |
|
$this->fallbackHandler = $fallbackHandler; |
|
|
|
return $this->handle($request); |
|
} |
|
|
|
/** |
|
* Handle incoming server request and return a response. |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/usr/bin:/bin',
'TEMP' => '/tmp',
'TMP' => '/tmp',
'TMPDIR' => '/tmp',
'PWD' => '/',
'HTTP_ACCEPT' => '*/*',
'CONTENT_LENGTH' => '0',
'HTTP_HOST' => 'chiturf.com',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_FORWARDED_FOR' => '44.204.94.166',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_REAL_IP' => '44.204.94.166',
'HTTP_X_SUCURI_CLIENTIP' => '44.204.94.166',
'HTTP_X_SUCURI_COUNTRY' => 'US',
'HTTP_X_HTTPS' => '1',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgYcfnpqYQWZttX83So1wQAAAJ8',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/home/download_pdf/160',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://chiturf.com/home/download_pdf/160',
'REDIRECT_REDIRECT_USER_ID' => '6385206',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'chiturf.com',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZgYcfnpqYQWZttX83So1wQAAAJ8',
'REDIRECT_SCRIPT_URL' => '/home/download_pdf/160',
'REDIRECT_SCRIPT_URI' => 'https://chiturf.com/home/download_pdf/160',
'REDIRECT_USER_ID' => '6385206',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'chiturf.com',
'REDIRECT_STATUS' => '200',
'UNIQUE_ID' => 'ZgYcfnpqYQWZttX83So1wQAAAJ8',
'SCRIPT_URL' => '/home/download_pdf/160',
'SCRIPT_URI' => 'https://chiturf.com/home/download_pdf/160',
'USER_ID' => '6385206',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'chiturf.com',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_NAME' => 'chiturf.com',
'SERVER_ADDR' => '192.169.149.210',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '185.93.229.2',
'DOCUMENT_ROOT' => '/home/h88ij0e7h2dj/public_html/chiturf.com',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/h88ij0e7h2dj/public_html/chiturf.com',
'SERVER_ADMIN' => 'webmaster@chiturf.chicagoturfcleaning.com',
'SCRIPT_FILENAME' => '/home/h88ij0e7h2dj/public_html/chiturf.com/webroot/index.php',
'REMOTE_PORT' => '62984',
'REDIRECT_URL' => '/webroot/home/download_pdf/160',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/home/download_pdf/160',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711676542.4072,
'REQUEST_TIME' => (int) 1711676542,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'chiturf.com'
private port => null
private path => '/home/download_pdf/160'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
} |
|
|
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
|
|
$response = $this->runner->run($middleware, $request, $this->app); |
|
|
|
if ($request instanceof ServerRequest) { |
|
$request->getSession()->close(); |
|
} |
Arguments
object(Cake\Http\MiddlewareQueue) id:0 {
protected position => (int) 4
protected queue => [
(int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) id:1 {
},
(int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) id:2 {
},
(int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) id:3 {
},
(int) 3 => object(Cake\Http\Middleware\BodyParserMiddleware) id:4 {
},
]
}
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/usr/bin:/bin',
'TEMP' => '/tmp',
'TMP' => '/tmp',
'TMPDIR' => '/tmp',
'PWD' => '/',
'HTTP_ACCEPT' => '*/*',
'CONTENT_LENGTH' => '0',
'HTTP_HOST' => 'chiturf.com',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_FORWARDED_FOR' => '44.204.94.166',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_X_REAL_IP' => '44.204.94.166',
'HTTP_X_SUCURI_CLIENTIP' => '44.204.94.166',
'HTTP_X_SUCURI_COUNTRY' => 'US',
'HTTP_X_HTTPS' => '1',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgYcfnpqYQWZttX83So1wQAAAJ8',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/home/download_pdf/160',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://chiturf.com/home/download_pdf/160',
'REDIRECT_REDIRECT_USER_ID' => '6385206',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'chiturf.com',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZgYcfnpqYQWZttX83So1wQAAAJ8',
'REDIRECT_SCRIPT_URL' => '/home/download_pdf/160',
'REDIRECT_SCRIPT_URI' => 'https://chiturf.com/home/download_pdf/160',
'REDIRECT_USER_ID' => '6385206',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'chiturf.com',
'REDIRECT_STATUS' => '200',
'UNIQUE_ID' => 'ZgYcfnpqYQWZttX83So1wQAAAJ8',
'SCRIPT_URL' => '/home/download_pdf/160',
'SCRIPT_URI' => 'https://chiturf.com/home/download_pdf/160',
'USER_ID' => '6385206',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'chiturf.com',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_NAME' => 'chiturf.com',
'SERVER_ADDR' => '192.169.149.210',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '185.93.229.2',
'DOCUMENT_ROOT' => '/home/h88ij0e7h2dj/public_html/chiturf.com',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/h88ij0e7h2dj/public_html/chiturf.com',
'SERVER_ADMIN' => 'webmaster@chiturf.chicagoturfcleaning.com',
'SCRIPT_FILENAME' => '/home/h88ij0e7h2dj/public_html/chiturf.com/webroot/index.php',
'REMOTE_PORT' => '62984',
'REDIRECT_URL' => '/webroot/home/download_pdf/160',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/home/download_pdf/160',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711676542.4072,
'REQUEST_TIME' => (int) 1711676542,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #5
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'chiturf.com'
private port => null
private path => '/home/download_pdf/160'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(App\Application) id:0 {
protected configDir => '/home/h88ij0e7h2dj/public_html/chiturf.com/config/'
protected plugins => object(Cake\Core\PluginCollection) id:1 {
protected plugins => [
'' => [maximum depth reached],
]
protected names => [
'' => [maximum depth reached],
]
protected positions => [
'' => [maximum depth reached],
]
protected loopDepth => (int) -1
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:2 {
protected container => object(Cake\Core\Container) id:3 {
}
protected controller => object(App\Controller\HomeController) id:4 {
}
}
protected container => object(Cake\Core\Container) id: 3 {}
protected _eventManager => object(Cake\Event\EventManager) id:5 {
'_listeners' => [
]
'_isGlobal' => true
'_trackEvents' => false
'_generalManager' => '(object) EventManager'
'_dispatchedEvents' => null
}
protected _eventClass => 'Cake\Event\Event'
}
|
// Bind your application to the server. |
|
$server = new Server(new Application(dirname(__DIR__) . '/config')); |
|
|
|
// Run the request/response through the application and emit the response. |
|
$server->emit($server->run()); |
|
|
Error
Create HomeController::downloadPdf() in file: src/Controller/HomeController.php.
<?php
namespace App\Controller;
use App\Controller\AppController;
class HomeController extends AppController
{
public function downloadPdf()
{
}
}
If you want to customize this error message, create
templates/Error/missing_action.php