$auth = end($this->_authenticateObjects); |
|
if ($auth === false) { |
|
throw new Exception('At least one authenticate object must be available.'); |
|
} |
|
$result = $auth->unauthenticated($controller->getRequest(), $response); |
|
if ($result !== null) { |
|
return $result; |
|
} |
|
|
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'lang' => 'it', 'controller' => 'Orders', 'action' => 'history', 'pass' => [], 'prefix' => 'user', 'plugin' => null, '_matchedRoute' => '/user/:lang/:controller/:action/*', '_ext' => null, '_csrfToken' => 'f1c34c4b66382408a4fb9305d9615ffd250f4be399d7ccff1449b1658c021ca1c8e7563c59d9074dd683e0b444a45a3eaf4ba21ed6d3e4bf9feffeab2f3b6781', 'isAjax' => false ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'tuastampa', 'HOME' => '/var/www/vhosts/tuastampa.it', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/user/it/orders/history', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/user/it/orders/history', 'REMOTE_PORT' => '35056', 'SCRIPT_FILENAME' => '/var/www/vhosts/tuastampa.it/httpdocs/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/tuastampa.it/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/tuastampa.it/httpdocs', 'REMOTE_ADDR' => '44.205.5.65', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '51.83.134.161', 'SERVER_NAME' => 'tuastampa.it', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '<address>Apache Server at tuastampa.it Port 443</address> ', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_REAL_IP' => '44.205.5.65', 'HTTP_HOST' => 'tuastampa.it', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'SCRIPT_URL' => '/user/it/orders/history', 'UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'REDIRECT_SCRIPT_URL' => '/user/it/orders/history', 'REDIRECT_UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/user/it/orders/history', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711617797.0913, 'REQUEST_TIME' => (int) 1711617797, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'user/it/orders/history' [protected] base => '' [protected] webroot => '/' [protected] here => '/user/it/orders/history' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'mobile' => false, 'tablet' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'tuastampa.it' [private] port => null [private] path => '/user/it/orders/history' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 7200 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, 'cacheDirectives' => [], 'body' => '' }
if (!$this->_getUser()) { |
|
if ($isLoginAction) { |
|
return null; |
|
} |
|
$result = $this->_unauthenticated($controller); |
|
if ($result instanceof Response) { |
|
$event->stopPropagation(); |
|
} |
|
|
object(App\Controller\User\OrdersController) { helpers => [] request => object(Cake\Http\ServerRequest) { 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] url => 'user/it/orders/history' [protected] base => '' [protected] webroot => '/' [protected] here => '/user/it/orders/history' [protected] trustedProxies => [[maximum depth reached]] [protected] _input => null [protected] _detectors => [ [maximum depth reached] ] [protected] _detectorCache => [ [maximum depth reached] ] [protected] stream => object(Zend\Diactoros\PhpInputStream) {} [protected] uri => object(Zend\Diactoros\Uri) {} [protected] session => object(Cake\Http\Session) {} [protected] attributes => [[maximum depth reached]] [protected] emulatedAttributes => [ [maximum depth reached] ] [protected] uploadedFiles => [[maximum depth reached]] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ [maximum depth reached] ] } response => object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ [maximum depth reached] ], 'file' => null, 'fileRange' => [[maximum depth reached]], 'cookies' => object(Cake\Http\Cookie\CookieCollection) {}, 'cacheDirectives' => [[maximum depth reached]], 'body' => '' } paginate => [] components => [] View => null passedArgs => [] modelClass => 'Orders' viewClass => null viewVars => [ 'lang' => 'it', '_meta' => [ 'title' => '🔥 Stampa PDF Online 👉 A4 COLORI - 0,07€ | B/N 0,03€', 'keywords' => 'stampa pdf online, stampa online pdf, tua stampa, stampa pdf online prezzi, stampare pdf online, stampa documenti online spedizione gratuita, stampa documenti online, tuastampa, stampare online pdf, stampa file online, stampa file pdf online, stampa documenti, stampa documenti online, stampe online pdf, stampa on line pdf, stampa documenti pdf online, stampare file pdf online, stampare file online, stampa pdf, stampare documenti', 'description' => '🔥 STAMPA DOCUMENTI ONLINE ⚡ PREZZO PIU BASSO NON ESISTE 🧡 STAMPARE ONLINE PDF - A4 - A3 🔵 COLORI 0,07€ / pagina ⚪⚫ B/N 0,03€ / pagina ⚠️Ordina ONLINE - www.tuastampa.it 🚀 SPEDIZIONE GRATIS per ordini >50€ ❓Perchè stampare Online❓ ✅Miglior prezzo sul mercato ✅Dimentica il dolore di acquistare cartucce costose o ricaricarle ✅Risparmia fino a 5 volte rispetto al costo del toner e della stampante ✅Spedizione veloce 24 ore e gratuita per ordini superiori a 50€ ✅Ricevi i documenti a casa o in ufficio ✅ECO: stiamo riciclando ogni singola cartuccia o toner' ], 'arrLang' => [ 'close' => 'Chiudi', 'error' => 'Errore', 'ok' => 'OK', 'cancel' => 'Cancel', 'yes_delete_it' => 'Yes, delete it!', 'link_copied' => 'The link was copied', 'no_file' => 'No File', 'choose_file' => 'Choose a file to upload.', 'something_wrong' => 'Errore imprevisto! Assistenza tel. 0686122002', 'yes' => 'Si', 'no' => 'No', 'yes_do_it' => 'Yes, do it!', 'attention' => 'Attenzione!', 'disabled_option' => 'This option is disabled for the moment', 'oops' => 'Oops...', 'coupon_minimum_order' => 'This coupon can be used with a minimum order: ', 'refill-credits' => 'Refill credits' ], 'browser' => [ 'browser' => false, 'version' => false ], 'languages' => [ 'en' => [ [maximum depth reached] ], 'it' => [ [maximum depth reached] ] ], 'upload_config' => [ 'max_file_size' => (int) 999400, 'content' => [ [maximum depth reached] ] ], 'max_files' => [ 'count' => (int) 5, 'price' => (float) 0.2 ], 'csrfToken' => 'f1c34c4b66382408a4fb9305d9615ffd250f4be399d7ccff1449b1658c021ca1c8e7563c59d9074dd683e0b444a45a3eaf4ba21ed6d3e4bf9feffeab2f3b6781', 'formatOptions' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ], (int) 2 => [ [maximum depth reached] ], (int) 3 => [ [maximum depth reached] ], (int) 4 => [ [maximum depth reached] ], (int) 5 => [ [maximum depth reached] ], (int) 6 => [ [maximum depth reached] ] ], 'feedbacks' => object(Cake\ORM\Query) {}, 'isMobile' => false, 'shippingMethods' => object(Cake\Collection\Collection) {}, 'paymentMethods' => object(Cake\Collection\Collection) {}, 'isTablet' => false, 'userInfo' => null, 'controller' => 'Orders', 'defaultValues' => [ 'format' => 'A4', 'sides' => (int) 1, 'type' => 'bn', 'binding' => 'no_stitch', 'gmq' => '80', 'layout' => 'vertical', 'copies' => (int) 1, 'pages' => (int) 1, 'quality' => 'inkjet', 'page_price' => (float) 0.03 ], 'printFormats' => [ 'A0' => [ [maximum depth reached] ], 'A0_PLUS' => [ [maximum depth reached] ], 'A1' => [ [maximum depth reached] ], 'A2' => [ [maximum depth reached] ], 'A4' => [ [maximum depth reached] ], 'A3' => [ [maximum depth reached] ], 'A3_PLUS' => [ [maximum depth reached] ], 'A5' => [ [maximum depth reached] ] ], 'printPrices' => [ 'bindings' => [ [maximum depth reached] ], 'gmqs' => [ [maximum depth reached] ] ], 'pdfTmp' => null, 'shipping_prices' => [ (int) 1 => [ [maximum depth reached] ], (int) 2 => [ [maximum depth reached] ], (int) 3 => [ [maximum depth reached] ], (int) 4 => [ [maximum depth reached] ], (int) 5 => [ [maximum depth reached] ], (int) 6 => [ [maximum depth reached] ], (int) 7 => [ [maximum depth reached] ] ], 'free_shipping_price' => (float) 50, 'urgent_order_price' => (float) 5, 'tmpFiles' => null, 'tmpTotal' => [ 'copies' => (int) 0, 'price' => (int) 0, 'aditional_price' => (int) 0 ] ] 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] ] } Auth => object(TinyAuth\Controller\Component\AuthComponent) { 'components' => [ [maximum depth reached] ], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } Func => object(App\Controller\Component\FuncComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } AuthUser => object(TinyAuth\Controller\Component\AuthUserComponent) { 'components' => [ [maximum depth reached] ], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } Files => object(App\Model\Table\FilesTable) { 'registryAlias' => 'Files', 'table' => 'files', 'alias' => 'Files', 'entityClass' => 'App\Model\Entity\File', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } ShippingMethods => object(App\Model\Table\ShippingMethodsTable) { 'registryAlias' => 'ShippingMethods', 'table' => 'shipping_methods', 'alias' => 'ShippingMethods', 'entityClass' => 'App\Model\Entity\ShippingMethod', 'associations' => [[maximum depth reached]], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } PaymentMethods => object(App\Model\Table\PaymentMethodsTable) { 'registryAlias' => 'PaymentMethods', 'table' => 'payment_methods', 'alias' => 'PaymentMethods', 'entityClass' => 'App\Model\Entity\PaymentMethod', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } Feedbacks => object(App\Model\Table\FeedbacksTable) { 'registryAlias' => 'Feedbacks', 'table' => 'feedbacks', 'alias' => 'Feedbacks', 'entityClass' => 'App\Model\Entity\Feedback', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } [protected] name => 'Orders' [protected] _responseClass => 'Cake\Http\Response' [protected] autoRender => true [protected] _components => object(Cake\Controller\ComponentRegistry) { '_Controller' => object(App\Controller\User\OrdersController) {}, '_loaded' => [ [maximum depth reached] ], '_eventManager' => object(Cake\Event\EventManager) {}, '_eventClass' => 'Cake\Event\Event' } [protected] _validViewOptions => [ (int) 0 => 'passedArgs' ] [protected] plugin => null [protected] _eventManager => object(Cake\Event\EventManager) { '_listeners' => [ [maximum depth reached] ], '_isGlobal' => false, '_trackEvents' => false, '_generalManager' => '(object) EventManager', '_dispatchedEvents' => null } [protected] _eventClass => 'Cake\Event\Event' [protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) { [protected] locations => [ [maximum depth reached] ] [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 => null [protected] _template => null [protected] _plugin => null [protected] _theme => null [protected] _layout => 'user' [protected] _autoLayout => null [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 \Cake\Http\Response|null |
|
*/ |
|
public function startup(Event $event) |
|
{ |
|
return $this->authCheck($event); |
|
} |
|
|
|
/** |
|
* Main execution method, handles initial authentication check and redirection |
object(Cake\Event\Event) { result => null [protected] _name => 'Controller.startup' [protected] _subject => object(App\Controller\User\OrdersController) { helpers => [[maximum depth reached]] request => object(Cake\Http\ServerRequest) {} response => object(Cake\Http\Response) {} paginate => [[maximum depth reached]] components => [[maximum depth reached]] View => null passedArgs => [[maximum depth reached]] modelClass => 'Orders' viewClass => null viewVars => [ [maximum depth reached] ] RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) {} Flash => object(Cake\Controller\Component\FlashComponent) {} Auth => object(TinyAuth\Controller\Component\AuthComponent) {} Func => object(App\Controller\Component\FuncComponent) {} AuthUser => object(TinyAuth\Controller\Component\AuthUserComponent) {} Files => object(App\Model\Table\FilesTable) {} ShippingMethods => object(App\Model\Table\ShippingMethodsTable) {} PaymentMethods => object(App\Model\Table\PaymentMethodsTable) {} Feedbacks => object(App\Model\Table\FeedbacksTable) {} [protected] name => 'Orders' [protected] _responseClass => 'Cake\Http\Response' [protected] autoRender => true [protected] _components => object(Cake\Controller\ComponentRegistry) {} [protected] _validViewOptions => [ [maximum depth reached] ] [protected] plugin => null [protected] _eventManager => object(Cake\Event\EventManager) {} [protected] _eventClass => 'Cake\Event\Event' [protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) {} [protected] _modelFactories => [ [maximum depth reached] ] [protected] _modelType => 'Table' [protected] _viewBuilder => object(Cake\View\ViewBuilder) {} } [protected] _data => [] [protected] _stopped => false }
protected function _callListener(callable $listener, Event $event) |
|
{ |
|
$data = $event->getData(); |
|
|
|
return $listener($event, ...array_values($data)); |
|
} |
|
|
|
/** |
|
* {@inheritDoc} |
object(Cake\Event\Event) { result => null [protected] _name => 'Controller.startup' [protected] _subject => object(App\Controller\User\OrdersController) { helpers => [[maximum depth reached]] request => object(Cake\Http\ServerRequest) {} response => object(Cake\Http\Response) {} paginate => [[maximum depth reached]] components => [[maximum depth reached]] View => null passedArgs => [[maximum depth reached]] modelClass => 'Orders' viewClass => null viewVars => [ [maximum depth reached] ] RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) {} Flash => object(Cake\Controller\Component\FlashComponent) {} Auth => object(TinyAuth\Controller\Component\AuthComponent) {} Func => object(App\Controller\Component\FuncComponent) {} AuthUser => object(TinyAuth\Controller\Component\AuthUserComponent) {} Files => object(App\Model\Table\FilesTable) {} ShippingMethods => object(App\Model\Table\ShippingMethodsTable) {} PaymentMethods => object(App\Model\Table\PaymentMethodsTable) {} Feedbacks => object(App\Model\Table\FeedbacksTable) {} [protected] name => 'Orders' [protected] _responseClass => 'Cake\Http\Response' [protected] autoRender => true [protected] _components => object(Cake\Controller\ComponentRegistry) {} [protected] _validViewOptions => [ [maximum depth reached] ] [protected] plugin => null [protected] _eventManager => object(Cake\Event\EventManager) {} [protected] _eventClass => 'Cake\Event\Event' [protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) {} [protected] _modelFactories => [ [maximum depth reached] ] [protected] _modelType => 'Table' [protected] _viewBuilder => object(Cake\View\ViewBuilder) {} } [protected] _data => [] [protected] _stopped => false }
foreach ($listeners as $listener) { |
|
if ($event->isStopped()) { |
|
break; |
|
} |
|
$result = $this->_callListener($listener['callable'], $event); |
|
if ($result === false) { |
|
$event->stopPropagation(); |
|
} |
|
if ($result !== null) { |
[ (int) 0 => object(TinyAuth\Controller\Component\AuthComponent) { 'components' => [ (int) 0 => 'RequestHandler', (int) 1 => 'Flash' ], 'implementedEvents' => [ 'Controller.initialize' => 'authCheck', 'Controller.startup' => 'startup' ], '_config' => [ 'authenticate' => [ [maximum depth reached] ], 'authorize' => [ [maximum depth reached] ], 'ajaxLogin' => null, 'flash' => [ [maximum depth reached] ], 'loginAction' => [ [maximum depth reached] ], 'loginRedirect' => [ [maximum depth reached] ], 'logoutRedirect' => [ [maximum depth reached] ], 'authError' => 'Did you really think you are allowed to see that?', 'unauthorizedRedirect' => [ [maximum depth reached] ], 'storage' => 'Session', 'checkAuthIn' => 'Controller.startup', 'autoClearCache' => true, 'multiRole' => false, 'roleColumn' => 'role_id', 'clearCache' => true, 'allowAdapter' => 'TinyAuth\Auth\AllowAdapter\IniAllowAdapter', 'allowFilePath' => null, 'allowFile' => 'auth_allow.ini', 'allowNonPrefixed' => false, 'allowPrefixes' => [[maximum depth reached]], 'aclAdapter' => 'TinyAuth\Auth\AclAdapter\IniAclAdapter', 'idColumn' => 'id', 'userColumn' => 'user_id', 'aliasColumn' => 'alias', 'rolesTable' => 'Roles', 'usersTable' => 'Users', 'pivotTable' => null, 'superAdminRole' => null, 'superAdmin' => null, 'superAdminColumn' => null, 'authorizeByPrefix' => false, 'allowLoggedIn' => false, 'protectedPrefix' => 'admin', 'aclFilePath' => null, 'aclFile' => 'auth_acl.ini', 'includeAuthentication' => false ] }, (int) 1 => 'startup' ] object(Cake\Event\Event) { result => null [protected] _name => 'Controller.startup' [protected] _subject => object(App\Controller\User\OrdersController) { helpers => [[maximum depth reached]] request => object(Cake\Http\ServerRequest) {} response => object(Cake\Http\Response) {} paginate => [[maximum depth reached]] components => [[maximum depth reached]] View => null passedArgs => [[maximum depth reached]] modelClass => 'Orders' viewClass => null viewVars => [ [maximum depth reached] ] RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) {} Flash => object(Cake\Controller\Component\FlashComponent) {} Auth => object(TinyAuth\Controller\Component\AuthComponent) {} Func => object(App\Controller\Component\FuncComponent) {} AuthUser => object(TinyAuth\Controller\Component\AuthUserComponent) {} Files => object(App\Model\Table\FilesTable) {} ShippingMethods => object(App\Model\Table\ShippingMethodsTable) {} PaymentMethods => object(App\Model\Table\PaymentMethodsTable) {} Feedbacks => object(App\Model\Table\FeedbacksTable) {} [protected] name => 'Orders' [protected] _responseClass => 'Cake\Http\Response' [protected] autoRender => true [protected] _components => object(Cake\Controller\ComponentRegistry) {} [protected] _validViewOptions => [ [maximum depth reached] ] [protected] plugin => null [protected] _eventManager => object(Cake\Event\EventManager) {} [protected] _eventClass => 'Cake\Event\Event' [protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) {} [protected] _modelFactories => [ [maximum depth reached] ] [protected] _modelType => 'Table' [protected] _viewBuilder => object(Cake\View\ViewBuilder) {} } [protected] _data => [] [protected] _stopped => false }
$subject = $this; |
|
} |
|
|
|
$event = new $this->_eventClass($name, $subject, $data); |
|
$this->getEventManager()->dispatch($event); |
|
|
|
return $event; |
|
} |
|
} |
object(Cake\Event\Event) { result => null [protected] _name => 'Controller.startup' [protected] _subject => object(App\Controller\User\OrdersController) { helpers => [[maximum depth reached]] request => object(Cake\Http\ServerRequest) {} response => object(Cake\Http\Response) {} paginate => [[maximum depth reached]] components => [[maximum depth reached]] View => null passedArgs => [[maximum depth reached]] modelClass => 'Orders' viewClass => null viewVars => [ [maximum depth reached] ] RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) {} Flash => object(Cake\Controller\Component\FlashComponent) {} Auth => object(TinyAuth\Controller\Component\AuthComponent) {} Func => object(App\Controller\Component\FuncComponent) {} AuthUser => object(TinyAuth\Controller\Component\AuthUserComponent) {} Files => object(App\Model\Table\FilesTable) {} ShippingMethods => object(App\Model\Table\ShippingMethodsTable) {} PaymentMethods => object(App\Model\Table\PaymentMethodsTable) {} Feedbacks => object(App\Model\Table\FeedbacksTable) {} [protected] name => 'Orders' [protected] _responseClass => 'Cake\Http\Response' [protected] autoRender => true [protected] _components => object(Cake\Controller\ComponentRegistry) {} [protected] _validViewOptions => [ [maximum depth reached] ] [protected] plugin => null [protected] _eventManager => object(Cake\Event\EventManager) {} [protected] _eventClass => 'Cake\Event\Event' [protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) {} [protected] _modelFactories => [ [maximum depth reached] ] [protected] _modelType => 'Table' [protected] _viewBuilder => object(Cake\View\ViewBuilder) {} } [protected] _data => [] [protected] _stopped => false }
$event = $this->dispatchEvent('Controller.initialize'); |
|
if ($event->getResult() instanceof Response) { |
|
return $event->getResult(); |
|
} |
|
$event = $this->dispatchEvent('Controller.startup'); |
|
if ($event->getResult() instanceof Response) { |
|
return $event->getResult(); |
|
} |
|
|
'Controller.startup'
protected function _invoke(Controller $controller) |
|
{ |
|
$this->dispatchEvent('Dispatcher.invokeController', ['controller' => $controller]); |
|
|
|
$result = $controller->startupProcess(); |
|
if ($result instanceof Response) { |
|
return $result; |
|
} |
|
|
No arguments
} else { |
|
$controller = $this->factory->create($request, $response); |
|
} |
|
|
|
$response = $this->_invoke($controller); |
|
if ($request->getParam('return')) { |
|
return $response; |
|
} |
|
|
object(App\Controller\User\OrdersController) { helpers => [] request => object(Cake\Http\ServerRequest) { 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] url => 'user/it/orders/history' [protected] base => '' [protected] webroot => '/' [protected] here => '/user/it/orders/history' [protected] trustedProxies => [[maximum depth reached]] [protected] _input => null [protected] _detectors => [ [maximum depth reached] ] [protected] _detectorCache => [ [maximum depth reached] ] [protected] stream => object(Zend\Diactoros\PhpInputStream) {} [protected] uri => object(Zend\Diactoros\Uri) {} [protected] session => object(Cake\Http\Session) {} [protected] attributes => [[maximum depth reached]] [protected] emulatedAttributes => [ [maximum depth reached] ] [protected] uploadedFiles => [[maximum depth reached]] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ [maximum depth reached] ] } response => object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ [maximum depth reached] ], 'file' => null, 'fileRange' => [[maximum depth reached]], 'cookies' => object(Cake\Http\Cookie\CookieCollection) {}, 'cacheDirectives' => [[maximum depth reached]], 'body' => '' } paginate => [] components => [] View => null passedArgs => [] modelClass => 'Orders' viewClass => null viewVars => [ 'lang' => 'it', '_meta' => [ 'title' => '🔥 Stampa PDF Online 👉 A4 COLORI - 0,07€ | B/N 0,03€', 'keywords' => 'stampa pdf online, stampa online pdf, tua stampa, stampa pdf online prezzi, stampare pdf online, stampa documenti online spedizione gratuita, stampa documenti online, tuastampa, stampare online pdf, stampa file online, stampa file pdf online, stampa documenti, stampa documenti online, stampe online pdf, stampa on line pdf, stampa documenti pdf online, stampare file pdf online, stampare file online, stampa pdf, stampare documenti', 'description' => '🔥 STAMPA DOCUMENTI ONLINE ⚡ PREZZO PIU BASSO NON ESISTE 🧡 STAMPARE ONLINE PDF - A4 - A3 🔵 COLORI 0,07€ / pagina ⚪⚫ B/N 0,03€ / pagina ⚠️Ordina ONLINE - www.tuastampa.it 🚀 SPEDIZIONE GRATIS per ordini >50€ ❓Perchè stampare Online❓ ✅Miglior prezzo sul mercato ✅Dimentica il dolore di acquistare cartucce costose o ricaricarle ✅Risparmia fino a 5 volte rispetto al costo del toner e della stampante ✅Spedizione veloce 24 ore e gratuita per ordini superiori a 50€ ✅Ricevi i documenti a casa o in ufficio ✅ECO: stiamo riciclando ogni singola cartuccia o toner' ], 'arrLang' => [ 'close' => 'Chiudi', 'error' => 'Errore', 'ok' => 'OK', 'cancel' => 'Cancel', 'yes_delete_it' => 'Yes, delete it!', 'link_copied' => 'The link was copied', 'no_file' => 'No File', 'choose_file' => 'Choose a file to upload.', 'something_wrong' => 'Errore imprevisto! Assistenza tel. 0686122002', 'yes' => 'Si', 'no' => 'No', 'yes_do_it' => 'Yes, do it!', 'attention' => 'Attenzione!', 'disabled_option' => 'This option is disabled for the moment', 'oops' => 'Oops...', 'coupon_minimum_order' => 'This coupon can be used with a minimum order: ', 'refill-credits' => 'Refill credits' ], 'browser' => [ 'browser' => false, 'version' => false ], 'languages' => [ 'en' => [ [maximum depth reached] ], 'it' => [ [maximum depth reached] ] ], 'upload_config' => [ 'max_file_size' => (int) 999400, 'content' => [ [maximum depth reached] ] ], 'max_files' => [ 'count' => (int) 5, 'price' => (float) 0.2 ], 'csrfToken' => 'f1c34c4b66382408a4fb9305d9615ffd250f4be399d7ccff1449b1658c021ca1c8e7563c59d9074dd683e0b444a45a3eaf4ba21ed6d3e4bf9feffeab2f3b6781', 'formatOptions' => [ (int) 0 => [ [maximum depth reached] ], (int) 1 => [ [maximum depth reached] ], (int) 2 => [ [maximum depth reached] ], (int) 3 => [ [maximum depth reached] ], (int) 4 => [ [maximum depth reached] ], (int) 5 => [ [maximum depth reached] ], (int) 6 => [ [maximum depth reached] ] ], 'feedbacks' => object(Cake\ORM\Query) {}, 'isMobile' => false, 'shippingMethods' => object(Cake\Collection\Collection) {}, 'paymentMethods' => object(Cake\Collection\Collection) {}, 'isTablet' => false, 'userInfo' => null, 'controller' => 'Orders', 'defaultValues' => [ 'format' => 'A4', 'sides' => (int) 1, 'type' => 'bn', 'binding' => 'no_stitch', 'gmq' => '80', 'layout' => 'vertical', 'copies' => (int) 1, 'pages' => (int) 1, 'quality' => 'inkjet', 'page_price' => (float) 0.03 ], 'printFormats' => [ 'A0' => [ [maximum depth reached] ], 'A0_PLUS' => [ [maximum depth reached] ], 'A1' => [ [maximum depth reached] ], 'A2' => [ [maximum depth reached] ], 'A4' => [ [maximum depth reached] ], 'A3' => [ [maximum depth reached] ], 'A3_PLUS' => [ [maximum depth reached] ], 'A5' => [ [maximum depth reached] ] ], 'printPrices' => [ 'bindings' => [ [maximum depth reached] ], 'gmqs' => [ [maximum depth reached] ] ], 'pdfTmp' => null, 'shipping_prices' => [ (int) 1 => [ [maximum depth reached] ], (int) 2 => [ [maximum depth reached] ], (int) 3 => [ [maximum depth reached] ], (int) 4 => [ [maximum depth reached] ], (int) 5 => [ [maximum depth reached] ], (int) 6 => [ [maximum depth reached] ], (int) 7 => [ [maximum depth reached] ] ], 'free_shipping_price' => (float) 50, 'urgent_order_price' => (float) 5, 'tmpFiles' => null, 'tmpTotal' => [ 'copies' => (int) 0, 'price' => (int) 0, 'aditional_price' => (int) 0 ] ] 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] ] } Auth => object(TinyAuth\Controller\Component\AuthComponent) { 'components' => [ [maximum depth reached] ], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } Func => object(App\Controller\Component\FuncComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } AuthUser => object(TinyAuth\Controller\Component\AuthUserComponent) { 'components' => [ [maximum depth reached] ], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } Files => object(App\Model\Table\FilesTable) { 'registryAlias' => 'Files', 'table' => 'files', 'alias' => 'Files', 'entityClass' => 'App\Model\Entity\File', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } ShippingMethods => object(App\Model\Table\ShippingMethodsTable) { 'registryAlias' => 'ShippingMethods', 'table' => 'shipping_methods', 'alias' => 'ShippingMethods', 'entityClass' => 'App\Model\Entity\ShippingMethod', 'associations' => [[maximum depth reached]], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } PaymentMethods => object(App\Model\Table\PaymentMethodsTable) { 'registryAlias' => 'PaymentMethods', 'table' => 'payment_methods', 'alias' => 'PaymentMethods', 'entityClass' => 'App\Model\Entity\PaymentMethod', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } Feedbacks => object(App\Model\Table\FeedbacksTable) { 'registryAlias' => 'Feedbacks', 'table' => 'feedbacks', 'alias' => 'Feedbacks', 'entityClass' => 'App\Model\Entity\Feedback', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } [protected] name => 'Orders' [protected] _responseClass => 'Cake\Http\Response' [protected] autoRender => true [protected] _components => object(Cake\Controller\ComponentRegistry) { '_Controller' => object(App\Controller\User\OrdersController) {}, '_loaded' => [ [maximum depth reached] ], '_eventManager' => object(Cake\Event\EventManager) {}, '_eventClass' => 'Cake\Event\Event' } [protected] _validViewOptions => [ (int) 0 => 'passedArgs' ] [protected] plugin => null [protected] _eventManager => object(Cake\Event\EventManager) { '_listeners' => [ [maximum depth reached] ], '_isGlobal' => false, '_trackEvents' => false, '_generalManager' => '(object) EventManager', '_dispatchedEvents' => null } [protected] _eventClass => 'Cake\Event\Event' [protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) { [protected] locations => [ [maximum depth reached] ] [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 => null [protected] _template => null [protected] _plugin => null [protected] _theme => null [protected] _layout => 'user' [protected] _autoLayout => null [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 \Psr\Http\Message\ResponseInterface |
|
*/ |
|
public function __invoke(ServerRequestInterface $request, ResponseInterface $response, $next) |
|
{ |
|
return $this->getDispatcher()->dispatch($request, $response); |
|
} |
|
|
|
/** |
|
* Get the ActionDispatcher. |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'lang' => 'it', 'controller' => 'Orders', 'action' => 'history', 'pass' => [], 'prefix' => 'user', 'plugin' => null, '_matchedRoute' => '/user/:lang/:controller/:action/*', '_ext' => null, '_csrfToken' => 'f1c34c4b66382408a4fb9305d9615ffd250f4be399d7ccff1449b1658c021ca1c8e7563c59d9074dd683e0b444a45a3eaf4ba21ed6d3e4bf9feffeab2f3b6781' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'tuastampa', 'HOME' => '/var/www/vhosts/tuastampa.it', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/user/it/orders/history', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/user/it/orders/history', 'REMOTE_PORT' => '35056', 'SCRIPT_FILENAME' => '/var/www/vhosts/tuastampa.it/httpdocs/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/tuastampa.it/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/tuastampa.it/httpdocs', 'REMOTE_ADDR' => '44.205.5.65', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '51.83.134.161', 'SERVER_NAME' => 'tuastampa.it', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '<address>Apache Server at tuastampa.it Port 443</address> ', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_REAL_IP' => '44.205.5.65', 'HTTP_HOST' => 'tuastampa.it', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'SCRIPT_URL' => '/user/it/orders/history', 'UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'REDIRECT_SCRIPT_URL' => '/user/it/orders/history', 'REDIRECT_UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/user/it/orders/history', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711617797.0913, 'REQUEST_TIME' => (int) 1711617797, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'user/it/orders/history' [protected] base => '' [protected] webroot => '/' [protected] here => '/user/it/orders/history' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'mobile' => false, 'tablet' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'tuastampa.it' [private] port => null [private] path => '/user/it/orders/history' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 7200 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'lang' => 'it', 'controller' => 'Orders', 'action' => 'history', 'pass' => [], 'prefix' => 'user', 'plugin' => null, '_matchedRoute' => '/user/:lang/:controller/:action/*', '_ext' => null, '_csrfToken' => 'f1c34c4b66382408a4fb9305d9615ffd250f4be399d7ccff1449b1658c021ca1c8e7563c59d9074dd683e0b444a45a3eaf4ba21ed6d3e4bf9feffeab2f3b6781' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'tuastampa', 'HOME' => '/var/www/vhosts/tuastampa.it', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/user/it/orders/history', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/user/it/orders/history', 'REMOTE_PORT' => '35056', 'SCRIPT_FILENAME' => '/var/www/vhosts/tuastampa.it/httpdocs/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/tuastampa.it/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/tuastampa.it/httpdocs', 'REMOTE_ADDR' => '44.205.5.65', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '51.83.134.161', 'SERVER_NAME' => 'tuastampa.it', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '<address>Apache Server at tuastampa.it Port 443</address> ', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_REAL_IP' => '44.205.5.65', 'HTTP_HOST' => 'tuastampa.it', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'SCRIPT_URL' => '/user/it/orders/history', 'UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'REDIRECT_SCRIPT_URL' => '/user/it/orders/history', 'REDIRECT_UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/user/it/orders/history', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711617797.0913, 'REQUEST_TIME' => (int) 1711617797, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'user/it/orders/history' [protected] base => '' [protected] webroot => '/' [protected] here => '/user/it/orders/history' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'mobile' => false, 'tablet' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'tuastampa.it' [private] port => null [private] path => '/user/it/orders/history' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 7200 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 5 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
} |
|
|
|
Configure::write('App.language', $lang); |
|
|
|
return $next($request, $response); |
|
} |
|
|
|
/** |
|
* Get languages accepted by browser and return the one matching one of |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'lang' => 'it', 'controller' => 'Orders', 'action' => 'history', 'pass' => [], 'prefix' => 'user', 'plugin' => null, '_matchedRoute' => '/user/:lang/:controller/:action/*', '_ext' => null, '_csrfToken' => 'f1c34c4b66382408a4fb9305d9615ffd250f4be399d7ccff1449b1658c021ca1c8e7563c59d9074dd683e0b444a45a3eaf4ba21ed6d3e4bf9feffeab2f3b6781' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'tuastampa', 'HOME' => '/var/www/vhosts/tuastampa.it', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/user/it/orders/history', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/user/it/orders/history', 'REMOTE_PORT' => '35056', 'SCRIPT_FILENAME' => '/var/www/vhosts/tuastampa.it/httpdocs/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/tuastampa.it/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/tuastampa.it/httpdocs', 'REMOTE_ADDR' => '44.205.5.65', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '51.83.134.161', 'SERVER_NAME' => 'tuastampa.it', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '<address>Apache Server at tuastampa.it Port 443</address> ', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_REAL_IP' => '44.205.5.65', 'HTTP_HOST' => 'tuastampa.it', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'SCRIPT_URL' => '/user/it/orders/history', 'UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'REDIRECT_SCRIPT_URL' => '/user/it/orders/history', 'REDIRECT_UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/user/it/orders/history', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711617797.0913, 'REQUEST_TIME' => (int) 1711617797, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'user/it/orders/history' [protected] base => '' [protected] webroot => '/' [protected] here => '/user/it/orders/history' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'mobile' => false, 'tablet' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'tuastampa.it' [private] port => null [private] path => '/user/it/orders/history' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 7200 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'lang' => 'it', 'controller' => 'Orders', 'action' => 'history', 'pass' => [], 'prefix' => 'user', 'plugin' => null, '_matchedRoute' => '/user/:lang/:controller/:action/*', '_ext' => null, '_csrfToken' => 'f1c34c4b66382408a4fb9305d9615ffd250f4be399d7ccff1449b1658c021ca1c8e7563c59d9074dd683e0b444a45a3eaf4ba21ed6d3e4bf9feffeab2f3b6781' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'tuastampa', 'HOME' => '/var/www/vhosts/tuastampa.it', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/user/it/orders/history', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/user/it/orders/history', 'REMOTE_PORT' => '35056', 'SCRIPT_FILENAME' => '/var/www/vhosts/tuastampa.it/httpdocs/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/tuastampa.it/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/tuastampa.it/httpdocs', 'REMOTE_ADDR' => '44.205.5.65', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '51.83.134.161', 'SERVER_NAME' => 'tuastampa.it', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '<address>Apache Server at tuastampa.it Port 443</address> ', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_REAL_IP' => '44.205.5.65', 'HTTP_HOST' => 'tuastampa.it', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'SCRIPT_URL' => '/user/it/orders/history', 'UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'REDIRECT_SCRIPT_URL' => '/user/it/orders/history', 'REDIRECT_UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/user/it/orders/history', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711617797.0913, 'REQUEST_TIME' => (int) 1711617797, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'user/it/orders/history' [protected] base => '' [protected] webroot => '/' [protected] here => '/user/it/orders/history' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'mobile' => false, 'tablet' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'tuastampa.it' [private] port => null [private] path => '/user/it/orders/history' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 7200 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 5 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'lang' => 'it', 'controller' => 'Orders', 'action' => 'history', 'pass' => [], 'prefix' => 'user', 'plugin' => null, '_matchedRoute' => '/user/:lang/:controller/:action/*', '_ext' => null, '_csrfToken' => 'f1c34c4b66382408a4fb9305d9615ffd250f4be399d7ccff1449b1658c021ca1c8e7563c59d9074dd683e0b444a45a3eaf4ba21ed6d3e4bf9feffeab2f3b6781' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'tuastampa', 'HOME' => '/var/www/vhosts/tuastampa.it', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/user/it/orders/history', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/user/it/orders/history', 'REMOTE_PORT' => '35056', 'SCRIPT_FILENAME' => '/var/www/vhosts/tuastampa.it/httpdocs/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/tuastampa.it/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/tuastampa.it/httpdocs', 'REMOTE_ADDR' => '44.205.5.65', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '51.83.134.161', 'SERVER_NAME' => 'tuastampa.it', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '<address>Apache Server at tuastampa.it Port 443</address> ', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_REAL_IP' => '44.205.5.65', 'HTTP_HOST' => 'tuastampa.it', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'SCRIPT_URL' => '/user/it/orders/history', 'UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'REDIRECT_SCRIPT_URL' => '/user/it/orders/history', 'REDIRECT_UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/user/it/orders/history', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711617797.0913, 'REQUEST_TIME' => (int) 1711617797, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'user/it/orders/history' [protected] base => '' [protected] webroot => '/' [protected] here => '/user/it/orders/history' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'mobile' => false, 'tablet' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'tuastampa.it' [private] port => null [private] path => '/user/it/orders/history' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 7200 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 2 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
$token = $this->_createToken(); |
|
$request = $this->_addTokenToRequest($token, $request); |
|
$response = $this->_addTokenCookie($token, $request, $response); |
|
|
|
return $next($request, $response); |
|
} |
|
$request = $this->_validateAndUnsetTokenField($request); |
|
|
|
return $next($request, $response); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'lang' => 'it', 'controller' => 'Orders', 'action' => 'history', 'pass' => [], 'prefix' => 'user', 'plugin' => null, '_matchedRoute' => '/user/:lang/:controller/:action/*', '_ext' => null, '_csrfToken' => 'f1c34c4b66382408a4fb9305d9615ffd250f4be399d7ccff1449b1658c021ca1c8e7563c59d9074dd683e0b444a45a3eaf4ba21ed6d3e4bf9feffeab2f3b6781' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'tuastampa', 'HOME' => '/var/www/vhosts/tuastampa.it', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/user/it/orders/history', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/user/it/orders/history', 'REMOTE_PORT' => '35056', 'SCRIPT_FILENAME' => '/var/www/vhosts/tuastampa.it/httpdocs/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/tuastampa.it/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/tuastampa.it/httpdocs', 'REMOTE_ADDR' => '44.205.5.65', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '51.83.134.161', 'SERVER_NAME' => 'tuastampa.it', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '<address>Apache Server at tuastampa.it Port 443</address> ', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_REAL_IP' => '44.205.5.65', 'HTTP_HOST' => 'tuastampa.it', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'SCRIPT_URL' => '/user/it/orders/history', 'UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'REDIRECT_SCRIPT_URL' => '/user/it/orders/history', 'REDIRECT_UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/user/it/orders/history', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711617797.0913, 'REQUEST_TIME' => (int) 1711617797, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'user/it/orders/history' [protected] base => '' [protected] webroot => '/' [protected] here => '/user/it/orders/history' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'mobile' => false, 'tablet' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'tuastampa.it' [private] port => null [private] path => '/user/it/orders/history' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 7200 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'lang' => 'it', 'controller' => 'Orders', 'action' => 'history', 'pass' => [], 'prefix' => 'user', 'plugin' => null, '_matchedRoute' => '/user/:lang/:controller/:action/*', '_ext' => null, '_csrfToken' => 'f1c34c4b66382408a4fb9305d9615ffd250f4be399d7ccff1449b1658c021ca1c8e7563c59d9074dd683e0b444a45a3eaf4ba21ed6d3e4bf9feffeab2f3b6781' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'tuastampa', 'HOME' => '/var/www/vhosts/tuastampa.it', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/user/it/orders/history', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/user/it/orders/history', 'REMOTE_PORT' => '35056', 'SCRIPT_FILENAME' => '/var/www/vhosts/tuastampa.it/httpdocs/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/tuastampa.it/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/tuastampa.it/httpdocs', 'REMOTE_ADDR' => '44.205.5.65', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '51.83.134.161', 'SERVER_NAME' => 'tuastampa.it', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '<address>Apache Server at tuastampa.it Port 443</address> ', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_REAL_IP' => '44.205.5.65', 'HTTP_HOST' => 'tuastampa.it', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'SCRIPT_URL' => '/user/it/orders/history', 'UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'REDIRECT_SCRIPT_URL' => '/user/it/orders/history', 'REDIRECT_UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/user/it/orders/history', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711617797.0913, 'REQUEST_TIME' => (int) 1711617797, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'user/it/orders/history' [protected] base => '' [protected] webroot => '/' [protected] here => '/user/it/orders/history' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'mobile' => false, 'tablet' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'tuastampa.it' [private] port => null [private] path => '/user/it/orders/history' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 7200 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 2 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
{ |
|
$this->middleware = $middleware; |
|
$this->index = 0; |
|
|
|
return $this->__invoke($request, $response); |
|
} |
|
|
|
/** |
|
* @param \Psr\Http\Message\ServerRequestInterface $request The server request |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'lang' => 'it', 'controller' => 'Orders', 'action' => 'history', 'pass' => [], 'prefix' => 'user', 'plugin' => null, '_matchedRoute' => '/user/:lang/:controller/:action/*', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'tuastampa', 'HOME' => '/var/www/vhosts/tuastampa.it', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/user/it/orders/history', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/user/it/orders/history', 'REMOTE_PORT' => '35056', 'SCRIPT_FILENAME' => '/var/www/vhosts/tuastampa.it/httpdocs/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/tuastampa.it/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/tuastampa.it/httpdocs', 'REMOTE_ADDR' => '44.205.5.65', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '51.83.134.161', 'SERVER_NAME' => 'tuastampa.it', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '<address>Apache Server at tuastampa.it Port 443</address> ', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_REAL_IP' => '44.205.5.65', 'HTTP_HOST' => 'tuastampa.it', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'SCRIPT_URL' => '/user/it/orders/history', 'UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'REDIRECT_SCRIPT_URL' => '/user/it/orders/history', 'REDIRECT_UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/user/it/orders/history', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711617797.0913, 'REQUEST_TIME' => (int) 1711617797, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'user/it/orders/history' [protected] base => '' [protected] webroot => '/' [protected] here => '/user/it/orders/history' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'tuastampa.it' [private] port => null [private] path => '/user/it/orders/history' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 7200 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$matching[] = $next; |
|
$middleware = new MiddlewareQueue($matching); |
|
$runner = new Runner(); |
|
|
|
return $runner->run($middleware, $request, $response); |
|
} |
|
} |
|
|
object(Cake\Http\MiddlewareQueue) { [protected] queue => [ (int) 0 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) {}, (int) 1 => object(Cake\Http\Runner) {} ] [protected] callables => [ (int) 0 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) {}, (int) 1 => object(Cake\Http\Runner) {} ] } object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'lang' => 'it', 'controller' => 'Orders', 'action' => 'history', 'pass' => [], 'prefix' => 'user', 'plugin' => null, '_matchedRoute' => '/user/:lang/:controller/:action/*', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'tuastampa', 'HOME' => '/var/www/vhosts/tuastampa.it', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/user/it/orders/history', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/user/it/orders/history', 'REMOTE_PORT' => '35056', 'SCRIPT_FILENAME' => '/var/www/vhosts/tuastampa.it/httpdocs/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/tuastampa.it/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/tuastampa.it/httpdocs', 'REMOTE_ADDR' => '44.205.5.65', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '51.83.134.161', 'SERVER_NAME' => 'tuastampa.it', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '<address>Apache Server at tuastampa.it Port 443</address> ', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_REAL_IP' => '44.205.5.65', 'HTTP_HOST' => 'tuastampa.it', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'SCRIPT_URL' => '/user/it/orders/history', 'UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'REDIRECT_SCRIPT_URL' => '/user/it/orders/history', 'REDIRECT_UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/user/it/orders/history', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711617797.0913, 'REQUEST_TIME' => (int) 1711617797, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'user/it/orders/history' [protected] base => '' [protected] webroot => '/' [protected] here => '/user/it/orders/history' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'tuastampa.it' [private] port => null [private] path => '/user/it/orders/history' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 7200 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'lang' => 'it', 'controller' => 'Orders', 'action' => 'history', 'pass' => [], 'prefix' => 'user', 'plugin' => null, '_matchedRoute' => '/user/:lang/:controller/:action/*', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'tuastampa', 'HOME' => '/var/www/vhosts/tuastampa.it', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/user/it/orders/history', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/user/it/orders/history', 'REMOTE_PORT' => '35056', 'SCRIPT_FILENAME' => '/var/www/vhosts/tuastampa.it/httpdocs/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/tuastampa.it/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/tuastampa.it/httpdocs', 'REMOTE_ADDR' => '44.205.5.65', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '51.83.134.161', 'SERVER_NAME' => 'tuastampa.it', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '<address>Apache Server at tuastampa.it Port 443</address> ', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_REAL_IP' => '44.205.5.65', 'HTTP_HOST' => 'tuastampa.it', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'SCRIPT_URL' => '/user/it/orders/history', 'UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'REDIRECT_SCRIPT_URL' => '/user/it/orders/history', 'REDIRECT_UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/user/it/orders/history', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711617797.0913, 'REQUEST_TIME' => (int) 1711617797, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'user/it/orders/history' [protected] base => '' [protected] webroot => '/' [protected] here => '/user/it/orders/history' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'tuastampa.it' [private] port => null [private] path => '/user/it/orders/history' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 7200 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 5 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
public function __invoke($request, $response, $next) |
|
{ |
|
$url = $request->getUri()->getPath(); |
|
if (strpos($url, '..') !== false || strpos($url, '.') === false) { |
|
return $next($request, $response); |
|
} |
|
|
|
if (strpos($url, '/.') !== false) { |
|
return $next($request, $response); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'tuastampa', 'HOME' => '/var/www/vhosts/tuastampa.it', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/user/it/orders/history', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/user/it/orders/history', 'REMOTE_PORT' => '35056', 'SCRIPT_FILENAME' => '/var/www/vhosts/tuastampa.it/httpdocs/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/tuastampa.it/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/tuastampa.it/httpdocs', 'REMOTE_ADDR' => '44.205.5.65', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '51.83.134.161', 'SERVER_NAME' => 'tuastampa.it', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '<address>Apache Server at tuastampa.it Port 443</address> ', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_REAL_IP' => '44.205.5.65', 'HTTP_HOST' => 'tuastampa.it', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'SCRIPT_URL' => '/user/it/orders/history', 'UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'REDIRECT_SCRIPT_URL' => '/user/it/orders/history', 'REDIRECT_UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/user/it/orders/history', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711617797.0913, 'REQUEST_TIME' => (int) 1711617797, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'user/it/orders/history' [protected] base => '' [protected] webroot => '/' [protected] here => '/user/it/orders/history' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'tuastampa.it' [private] port => null [private] path => '/user/it/orders/history' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 7200 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'tuastampa', 'HOME' => '/var/www/vhosts/tuastampa.it', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/user/it/orders/history', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/user/it/orders/history', 'REMOTE_PORT' => '35056', 'SCRIPT_FILENAME' => '/var/www/vhosts/tuastampa.it/httpdocs/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/tuastampa.it/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/tuastampa.it/httpdocs', 'REMOTE_ADDR' => '44.205.5.65', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '51.83.134.161', 'SERVER_NAME' => 'tuastampa.it', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '<address>Apache Server at tuastampa.it Port 443</address> ', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_REAL_IP' => '44.205.5.65', 'HTTP_HOST' => 'tuastampa.it', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'SCRIPT_URL' => '/user/it/orders/history', 'UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'REDIRECT_SCRIPT_URL' => '/user/it/orders/history', 'REDIRECT_UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/user/it/orders/history', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711617797.0913, 'REQUEST_TIME' => (int) 1711617797, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'user/it/orders/history' [protected] base => '' [protected] webroot => '/' [protected] here => '/user/it/orders/history' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'tuastampa.it' [private] port => null [private] path => '/user/it/orders/history' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 7200 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 5 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
*/ |
|
public function __invoke($request, $response, $next) |
|
{ |
|
try { |
|
return $next($request, $response); |
|
} catch (Throwable $exception) { |
|
return $this->handleException($exception, $request, $response); |
|
} catch (Exception $exception) { |
|
return $this->handleException($exception, $request, $response); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'tuastampa', 'HOME' => '/var/www/vhosts/tuastampa.it', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/user/it/orders/history', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/user/it/orders/history', 'REMOTE_PORT' => '35056', 'SCRIPT_FILENAME' => '/var/www/vhosts/tuastampa.it/httpdocs/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/tuastampa.it/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/tuastampa.it/httpdocs', 'REMOTE_ADDR' => '44.205.5.65', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '51.83.134.161', 'SERVER_NAME' => 'tuastampa.it', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '<address>Apache Server at tuastampa.it Port 443</address> ', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_REAL_IP' => '44.205.5.65', 'HTTP_HOST' => 'tuastampa.it', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'SCRIPT_URL' => '/user/it/orders/history', 'UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'REDIRECT_SCRIPT_URL' => '/user/it/orders/history', 'REDIRECT_UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/user/it/orders/history', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711617797.0913, 'REQUEST_TIME' => (int) 1711617797, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'user/it/orders/history' [protected] base => '' [protected] webroot => '/' [protected] here => '/user/it/orders/history' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'tuastampa.it' [private] port => null [private] path => '/user/it/orders/history' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 7200 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'tuastampa', 'HOME' => '/var/www/vhosts/tuastampa.it', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/user/it/orders/history', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/user/it/orders/history', 'REMOTE_PORT' => '35056', 'SCRIPT_FILENAME' => '/var/www/vhosts/tuastampa.it/httpdocs/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/tuastampa.it/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/tuastampa.it/httpdocs', 'REMOTE_ADDR' => '44.205.5.65', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '51.83.134.161', 'SERVER_NAME' => 'tuastampa.it', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '<address>Apache Server at tuastampa.it Port 443</address> ', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_REAL_IP' => '44.205.5.65', 'HTTP_HOST' => 'tuastampa.it', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'SCRIPT_URL' => '/user/it/orders/history', 'UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'REDIRECT_SCRIPT_URL' => '/user/it/orders/history', 'REDIRECT_UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/user/it/orders/history', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711617797.0913, 'REQUEST_TIME' => (int) 1711617797, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'user/it/orders/history' [protected] base => '' [protected] webroot => '/' [protected] here => '/user/it/orders/history' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'tuastampa.it' [private] port => null [private] path => '/user/it/orders/history' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 7200 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 5 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
{ |
|
$this->middleware = $middleware; |
|
$this->index = 0; |
|
|
|
return $this->__invoke($request, $response); |
|
} |
|
|
|
/** |
|
* @param \Psr\Http\Message\ServerRequestInterface $request The server request |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'tuastampa', 'HOME' => '/var/www/vhosts/tuastampa.it', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/user/it/orders/history', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/user/it/orders/history', 'REMOTE_PORT' => '35056', 'SCRIPT_FILENAME' => '/var/www/vhosts/tuastampa.it/httpdocs/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/tuastampa.it/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/tuastampa.it/httpdocs', 'REMOTE_ADDR' => '44.205.5.65', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '51.83.134.161', 'SERVER_NAME' => 'tuastampa.it', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '<address>Apache Server at tuastampa.it Port 443</address> ', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_REAL_IP' => '44.205.5.65', 'HTTP_HOST' => 'tuastampa.it', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'SCRIPT_URL' => '/user/it/orders/history', 'UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'REDIRECT_SCRIPT_URL' => '/user/it/orders/history', 'REDIRECT_UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/user/it/orders/history', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711617797.0913, 'REQUEST_TIME' => (int) 1711617797, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'user/it/orders/history' [protected] base => '' [protected] webroot => '/' [protected] here => '/user/it/orders/history' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'tuastampa.it' [private] port => null [private] path => '/user/it/orders/history' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 7200 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
} |
|
$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(ADmad\I18n\Middleware\I18nMiddleware) {}, (int) 4 => 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(ADmad\I18n\Middleware\I18nMiddleware) {}, (int) 4 => object(App\Application) {} ] } object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'tuastampa', 'HOME' => '/var/www/vhosts/tuastampa.it', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/user/it/orders/history', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/user/it/orders/history', 'REMOTE_PORT' => '35056', 'SCRIPT_FILENAME' => '/var/www/vhosts/tuastampa.it/httpdocs/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/tuastampa.it/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/tuastampa.it/httpdocs', 'REMOTE_ADDR' => '44.205.5.65', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '51.83.134.161', 'SERVER_NAME' => 'tuastampa.it', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '<address>Apache Server at tuastampa.it Port 443</address> ', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_REAL_IP' => '44.205.5.65', 'HTTP_HOST' => 'tuastampa.it', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'SCRIPT_URL' => '/user/it/orders/history', 'UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'REDIRECT_SCRIPT_URL' => '/user/it/orders/history', 'REDIRECT_UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://tuastampa.it/user/it/orders/history', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/user/it/orders/history', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgU3BRdlS4hFWidrKkYhFQAAAAY', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711617797.0913, 'REQUEST_TIME' => (int) 1711617797, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'user/it/orders/history' [protected] base => '' [protected] webroot => '/' [protected] here => '/user/it/orders/history' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'tuastampa.it' [private] port => null [private] path => '/user/it/orders/history' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 7200 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
// 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()); |
No arguments
If you want to customize this error message, create src/Template/Error/error400.ctp