if ($value === null || $value === '') { |
|
return null; |
|
} |
|
|
|
$this->checkNumeric($value); |
|
|
|
return (int)$value; |
|
} |
|
|
'{{store.id_store}}'
if (is_string($type)) { |
|
$type = Type::build($type); |
|
} |
|
if ($type instanceof TypeInterface) { |
|
$value = $type->toDatabase($value, $this->_driver); |
|
$type = $type->toStatement($value, $this->_driver); |
|
} |
|
|
|
return [$value, $type]; |
'{{store.id_store}}' object(Cake\Database\Driver\Mysql) { 'connected' => true }
if ($type === null) { |
|
$type = 'string'; |
|
} |
|
if (!ctype_digit($type)) { |
|
list($value, $type) = $this->cast($value, $type); |
|
} |
|
$this->_statement->bindValue($column, $value, $type); |
|
} |
|
|
'{{store.id_store}}' object(Cake\Database\Type\IntegerType) { 'name' => 'integer' }
return; |
|
} |
|
|
|
foreach ($bindings as $b) { |
|
$statement->bindValue($b['placeholder'], $b['value'], $b['type']); |
|
} |
|
} |
|
} |
|
|
'c0' '{{store.id_store}}' 'integer'
public function run(Query $query) |
|
{ |
|
return $this->getDisconnectRetry()->run(function () use ($query) { |
|
$statement = $this->prepare($query); |
|
$query->getValueBinder()->attachTo($statement); |
|
$statement->execute(); |
|
|
|
return $statement; |
|
}); |
object(Cake\Database\Statement\MysqlStatement) { [protected] _statement => object(PDOStatement) { queryString => 'SELECT `Stores`.`id_store` AS `Stores__id_store`, `Stores`.`id_country` AS `Stores__id_country`, `Stores`.`id_state` AS `Stores__id_state`, `Stores`.`is_deleted` AS `Stores__is_deleted`, `Stores`.`city` AS `Stores__city`, `Stores`.`postcode` AS `Stores__postcode`, `Stores`.`latitude` AS `Stores__latitude`, `Stores`.`longitude` AS `Stores__longitude`, `Stores`.`phone` AS `Stores__phone`, `Stores`.`fax` AS `Stores__fax`, `Stores`.`email` AS `Stores__email`, `Stores`.`active` AS `Stores__active`, `Stores`.`created` AS `Stores__created`, `Stores`.`modified` AS `Stores__modified`, `Stores`.`logo_url` AS `Stores__logo_url`, `Stores`.`image_url` AS `Stores__image_url`, `Stores`.`facebook_url` AS `Stores__facebook_url`, `Stores`.`twitter_url` AS `Stores__twitter_url`, `Stores`.`instagram_url` AS `Stores__instagram_url`, `Stores`.`quote_image_url` AS `Stores__quote_image_url`, `Stores`.`country` AS `Stores__country` FROM `store` `Stores` WHERE (`id_store` = :c0 AND `active` = :c1 AND `is_deleted` = :c2)' } [protected] _driver => object(Cake\Database\Driver\Mysql) { 'connected' => true } [protected] _hasExecuted => false [protected] _bufferResults => true }
$lastException = null; |
|
|
|
do { |
|
try { |
|
return $action(); |
|
} catch (Exception $e) { |
|
$lastException = $e; |
|
if (!$this->strategy->shouldRetry($e, $retryCount)) { |
|
throw $e; |
No arguments
$query->getValueBinder()->attachTo($statement); |
|
$statement->execute(); |
|
|
|
return $statement; |
|
}); |
|
} |
|
|
|
/** |
|
* Executes a SQL statement and returns the Statement object as result. |
object(Closure) { }
* @return \Cake\Database\StatementInterface |
|
*/ |
|
public function execute() |
|
{ |
|
$statement = $this->_connection->run($this); |
|
$this->_iterator = $this->_decorateStatement($statement); |
|
$this->_dirty = false; |
|
|
|
return $this->_iterator; |
object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT `Stores`.`id_store` AS `Stores__id_store`, `Stores`.`id_country` AS `Stores__id_country`, `Stores`.`id_state` AS `Stores__id_state`, `Stores`.`is_deleted` AS `Stores__is_deleted`, `Stores`.`city` AS `Stores__city`, `Stores`.`postcode` AS `Stores__postcode`, `Stores`.`latitude` AS `Stores__latitude`, `Stores`.`longitude` AS `Stores__longitude`, `Stores`.`phone` AS `Stores__phone`, `Stores`.`fax` AS `Stores__fax`, `Stores`.`email` AS `Stores__email`, `Stores`.`active` AS `Stores__active`, `Stores`.`created` AS `Stores__created`, `Stores`.`modified` AS `Stores__modified`, `Stores`.`logo_url` AS `Stores__logo_url`, `Stores`.`image_url` AS `Stores__image_url`, `Stores`.`facebook_url` AS `Stores__facebook_url`, `Stores`.`twitter_url` AS `Stores__twitter_url`, `Stores`.`instagram_url` AS `Stores__instagram_url`, `Stores`.`quote_image_url` AS `Stores__quote_image_url`, `Stores`.`country` AS `Stores__country` FROM `store` `Stores` WHERE (`id_store` = :c0 AND `active` = :c1 AND `is_deleted` = :c2)', 'params' => [ ':c0' => [ 'value' => '{{store.id_store}}', 'type' => 'integer', 'placeholder' => 'c0' ], ':c1' => [ 'value' => (int) 1, 'type' => 'boolean', 'placeholder' => 'c1' ], ':c2' => [ 'value' => (int) 0, 'type' => 'boolean', 'placeholder' => 'c2' ] ], 'defaultTypes' => [ 'Stores__id_store' => 'integer', 'Stores.id_store' => 'integer', 'id_store' => 'integer', 'Stores__id_country' => 'integer', 'Stores.id_country' => 'integer', 'id_country' => 'integer', 'Stores__id_state' => 'integer', 'Stores.id_state' => 'integer', 'id_state' => 'integer', 'Stores__is_deleted' => 'boolean', 'Stores.is_deleted' => 'boolean', 'is_deleted' => 'boolean', 'Stores__city' => 'string', 'Stores.city' => 'string', 'city' => 'string', 'Stores__postcode' => 'string', 'Stores.postcode' => 'string', 'postcode' => 'string', 'Stores__latitude' => 'decimal', 'Stores.latitude' => 'decimal', 'latitude' => 'decimal', 'Stores__longitude' => 'decimal', 'Stores.longitude' => 'decimal', 'longitude' => 'decimal', 'Stores__phone' => 'string', 'Stores.phone' => 'string', 'phone' => 'string', 'Stores__fax' => 'string', 'Stores.fax' => 'string', 'fax' => 'string', 'Stores__email' => 'string', 'Stores.email' => 'string', 'email' => 'string', 'Stores__active' => 'boolean', 'Stores.active' => 'boolean', 'active' => 'boolean', 'Stores__created' => 'datetime', 'Stores.created' => 'datetime', 'created' => 'datetime', 'Stores__modified' => 'datetime', 'Stores.modified' => 'datetime', 'modified' => 'datetime', 'Stores__logo_url' => 'string', 'Stores.logo_url' => 'string', 'logo_url' => 'string', 'Stores__image_url' => 'string', 'Stores.image_url' => 'string', 'image_url' => 'string', 'Stores__facebook_url' => 'string', 'Stores.facebook_url' => 'string', 'facebook_url' => 'string', 'Stores__twitter_url' => 'string', 'Stores.twitter_url' => 'string', 'twitter_url' => 'string', 'Stores__instagram_url' => 'string', 'Stores.instagram_url' => 'string', 'instagram_url' => 'string', 'Stores__quote_image_url' => 'string', 'Stores.quote_image_url' => 'string', 'quote_image_url' => 'string', 'Stores__country' => 'string', 'Stores.country' => 'string', 'country' => 'string', 'StoreShops__id_store' => 'integer', 'StoreShops.id_store' => 'integer', 'StoreShops__id_shop' => 'integer', 'StoreShops.id_shop' => 'integer', 'id_shop' => 'integer', 'StoreShops__id_domain' => 'integer', 'StoreShops.id_domain' => 'integer', 'id_domain' => 'integer', 'StoreShops__qb_realm_id' => 'string', 'StoreShops.qb_realm_id' => 'string', 'qb_realm_id' => 'string', 'StoreShops__company_name' => 'string', 'StoreShops.company_name' => 'string', 'company_name' => 'string', 'StoreShops__is_profygate' => 'boolean', 'StoreShops.is_profygate' => 'boolean', 'is_profygate' => 'boolean', 'StoreShops__currency' => 'string', 'StoreShops.currency' => 'string', 'currency' => 'string', 'StoreShops__currency_symbol' => 'string', 'StoreShops.currency_symbol' => 'string', 'currency_symbol' => 'string', 'StoreShops__currency_label' => 'string', 'StoreShops.currency_label' => 'string', 'currency_label' => 'string', 'StoreShops__id_financing' => 'integer', 'StoreShops.id_financing' => 'integer', 'id_financing' => 'integer', 'StoreLangs__id_store' => 'integer', 'StoreLangs.id_store' => 'integer', 'StoreLangs__id_lang' => 'integer', 'StoreLangs.id_lang' => 'integer', 'id_lang' => 'integer', 'StoreLangs__name' => 'string', 'StoreLangs.name' => 'string', 'name' => 'string', 'StoreLangs__address1' => 'string', 'StoreLangs.address1' => 'string', 'address1' => 'string', 'StoreLangs__address2' => 'string', 'StoreLangs.address2' => 'string', 'address2' => 'string', 'StoreLangs__hours' => 'text', 'StoreLangs.hours' => 'text', 'hours' => 'text', 'StoreLangs__note' => 'text', 'StoreLangs.note' => 'text', 'note' => 'text', 'StoreLangs__description' => 'text', 'StoreLangs.description' => 'text', 'description' => 'text', 'StoreLangs__invoice_legal' => 'text', 'StoreLangs.invoice_legal' => 'text', 'invoice_legal' => 'text', 'StoreLangs__invoice_note' => 'text', 'StoreLangs.invoice_note' => 'text', 'invoice_note' => 'text', 'StoreLangs__quote_question' => 'text', 'StoreLangs.quote_question' => 'text', 'quote_question' => 'text', 'CartRules__id_cart_rule' => 'integer', 'CartRules.id_cart_rule' => 'integer', 'id_cart_rule' => 'integer', 'CartRules__active' => 'boolean', 'CartRules.active' => 'boolean', 'CartRules__id_store' => 'integer', 'CartRules.id_store' => 'integer', 'CartRules__date_from' => 'datetime', 'CartRules.date_from' => 'datetime', 'date_from' => 'datetime', 'CartRules__date_to' => 'datetime', 'CartRules.date_to' => 'datetime', 'date_to' => 'datetime', 'CartRules__priority' => 'integer', 'CartRules.priority' => 'integer', 'priority' => 'integer', 'CartRules__type' => 'string', 'CartRules.type' => 'string', 'type' => 'string', 'CartRules__apply_on' => 'string', 'CartRules.apply_on' => 'string', 'apply_on' => 'string', 'CartRules__minimum_amount' => 'decimal', 'CartRules.minimum_amount' => 'decimal', 'minimum_amount' => 'decimal', 'CartRules__quantity' => 'integer', 'CartRules.quantity' => 'integer', 'quantity' => 'integer', 'CartRules__reduction_percent' => 'decimal', 'CartRules.reduction_percent' => 'decimal', 'reduction_percent' => 'decimal', 'CartRules__reduction_amount' => 'decimal', 'CartRules.reduction_amount' => 'decimal', 'reduction_amount' => 'decimal', 'CartRules__id_product' => 'integer', 'CartRules.id_product' => 'integer', 'id_product' => 'integer', 'CartRules__quantity_per_user' => 'integer', 'CartRules.quantity_per_user' => 'integer', 'quantity_per_user' => 'integer', 'CartRules__partial_use' => 'boolean', 'CartRules.partial_use' => 'boolean', 'partial_use' => 'boolean', 'CartRules__code' => 'string', 'CartRules.code' => 'string', 'code' => 'string', 'CartRules__minimum_amount_tax' => 'boolean', 'CartRules.minimum_amount_tax' => 'boolean', 'minimum_amount_tax' => 'boolean', 'CartRules__minimum_amount_currency' => 'integer', 'CartRules.minimum_amount_currency' => 'integer', 'minimum_amount_currency' => 'integer', 'CartRules__minimum_amount_shipping' => 'boolean', 'CartRules.minimum_amount_shipping' => 'boolean', 'minimum_amount_shipping' => 'boolean', 'CartRules__country_restriction' => 'boolean', 'CartRules.country_restriction' => 'boolean', 'country_restriction' => 'boolean', 'CartRules__carrier_restriction' => 'boolean', 'CartRules.carrier_restriction' => 'boolean', 'carrier_restriction' => 'boolean', 'CartRules__group_restriction' => 'boolean', 'CartRules.group_restriction' => 'boolean', 'group_restriction' => 'boolean', 'CartRules__cart_rule_restriction' => 'boolean', 'CartRules.cart_rule_restriction' => 'boolean', 'cart_rule_restriction' => 'boolean', 'CartRules__product_restriction' => 'boolean', 'CartRules.product_restriction' => 'boolean', 'product_restriction' => 'boolean', 'CartRules__shop_restriction' => 'boolean', 'CartRules.shop_restriction' => 'boolean', 'shop_restriction' => 'boolean', 'CartRules__free_shipping' => 'boolean', 'CartRules.free_shipping' => 'boolean', 'free_shipping' => 'boolean', 'CartRules__reduction_tax' => 'boolean', 'CartRules.reduction_tax' => 'boolean', 'reduction_tax' => 'boolean', 'CartRules__reduction_currency' => 'integer', 'CartRules.reduction_currency' => 'integer', 'reduction_currency' => 'integer', 'CartRules__reduction_product' => 'integer', 'CartRules.reduction_product' => 'integer', 'reduction_product' => 'integer', 'CartRules__reduction_exclude_special' => 'boolean', 'CartRules.reduction_exclude_special' => 'boolean', 'reduction_exclude_special' => 'boolean', 'CartRules__gift_product' => 'integer', 'CartRules.gift_product' => 'integer', 'gift_product' => 'integer', 'CartRules__gift_product_attribute' => 'integer', 'CartRules.gift_product_attribute' => 'integer', 'gift_product_attribute' => 'integer', 'CartRules__highlight' => 'boolean', 'CartRules.highlight' => 'boolean', 'highlight' => 'boolean', 'CartRules__description' => 'text', 'CartRules.description' => 'text', 'CartRules__created' => 'datetime', 'CartRules.created' => 'datetime', 'CartRules__modified' => 'datetime', 'CartRules.modified' => 'datetime', 'CartRuleLangs__id_cart_rule_lang' => 'integer', 'CartRuleLangs.id_cart_rule_lang' => 'integer', 'id_cart_rule_lang' => 'integer', 'CartRuleLangs__id_cart_rule' => 'integer', 'CartRuleLangs.id_cart_rule' => 'integer', 'CartRuleLangs__id_lang' => 'integer', 'CartRuleLangs.id_lang' => 'integer', 'CartRuleLangs__name' => 'string', 'CartRuleLangs.name' => 'string', 'CartRuleLangs__description' => 'string', 'CartRuleLangs.description' => 'string', 'StoreCalendars__id_store_calendar' => 'integer', 'StoreCalendars.id_store_calendar' => 'integer', 'id_store_calendar' => 'integer', 'StoreCalendars__id_store' => 'integer', 'StoreCalendars.id_store' => 'integer', 'StoreCalendars__id_shop' => 'integer', 'StoreCalendars.id_shop' => 'integer', 'StoreCalendars__is_opening_hour' => 'boolean', 'StoreCalendars.is_opening_hour' => 'boolean', 'is_opening_hour' => 'boolean', 'StoreCalendars__created' => 'datetime', 'StoreCalendars.created' => 'datetime', 'StoreCalendars__modified' => 'datetime', 'StoreCalendars.modified' => 'datetime', 'StoreCalendarAvailabilities__id_store_calendar_availability' => 'integer', 'StoreCalendarAvailabilities.id_store_calendar_availability' => 'integer', 'id_store_calendar_availability' => 'integer', 'StoreCalendarAvailabilities__id_store_calendar' => 'integer', 'StoreCalendarAvailabilities.id_store_calendar' => 'integer', 'StoreCalendarAvailabilities__weekday' => 'integer', 'StoreCalendarAvailabilities.weekday' => 'integer', 'weekday' => 'integer', 'StoreCalendarAvailabilities__is_available' => 'boolean', 'StoreCalendarAvailabilities.is_available' => 'boolean', 'is_available' => 'boolean', 'StoreCalendarAvailabilities__created' => 'datetime', 'StoreCalendarAvailabilities.created' => 'datetime', 'StoreCalendarAvailabilities__modified' => 'datetime', 'StoreCalendarAvailabilities.modified' => 'datetime', 'StoreCalendarAvailabilities__has_reason' => 'boolean', 'StoreCalendarAvailabilities.has_reason' => 'boolean', 'has_reason' => 'boolean', 'StoreCalendarAvailabilities__reason' => 'text', 'StoreCalendarAvailabilities.reason' => 'text', 'reason' => 'text', 'StoreCalendarAvailabilityHours__id_store_calendar_availability_hour' => 'integer', 'StoreCalendarAvailabilityHours.id_store_calendar_availability_hour' => 'integer', 'id_store_calendar_availability_hour' => 'integer', 'StoreCalendarAvailabilityHours__id_store_calendar_availability' => 'integer', 'StoreCalendarAvailabilityHours.id_store_calendar_availability' => 'integer', 'StoreCalendarAvailabilityHours__start_at' => 'string', 'StoreCalendarAvailabilityHours.start_at' => 'string', 'start_at' => 'string', 'StoreCalendarAvailabilityHours__end_at' => 'string', 'StoreCalendarAvailabilityHours.end_at' => 'string', 'end_at' => 'string' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'StoreShops' => [], 'StoreLangs' => [], 'CartRules' => [ 'CartRuleLangs' => [[maximum depth reached]] ], 'StoreCalendars' => [ 'StoreCalendarAvailabilities' => [ [maximum depth reached] ] ] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\StoresTable) { 'registryAlias' => 'Stores', 'table' => 'store', 'alias' => 'Stores', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } }
|
|
return new $decorator($this->_results); |
|
} |
|
|
|
$statement = $this->getEagerLoader()->loadExternal($this, $this->execute()); |
|
|
|
return new ResultSet($this, $statement); |
|
} |
|
|
No arguments
if ($this->_cache) { |
|
$results = $this->_cache->fetch($this); |
|
} |
|
if (!isset($results)) { |
|
$results = $this->_decorateResults($this->_execute()); |
|
if ($this->_cache) { |
|
$this->_cache->store($this, $results); |
|
} |
|
} |
No arguments
'You cannot call all() on a non-select query. Use execute() instead.' |
|
); |
|
} |
|
|
|
return $this->_all(); |
|
} |
|
|
|
/** |
|
* Trigger the beforeFind event on the query's repository object. |
No arguments
* @return array |
|
*/ |
|
public function toArray() |
|
{ |
|
return $this->all()->toArray(); |
|
} |
|
|
|
/** |
|
* Register a new MapReduce routine to be executed on top of the database results |
No arguments
'StoreShops',
|
|
'StoreLangs',
|
|
'CartRules.CartRuleLangs',
|
|
'StoreCalendars.StoreCalendarAvailabilities.StoreCalendarAvailabilityHours'
|
|
])->toArray();
|
|
|
|
if (count($store) == 0) {
|
|
|
|
$store2 = $this->Stores->find('all', ['conditions' => [
|
No arguments
} |
|
/** @var callable $callable */ |
|
$callable = [$this, $request->getParam('action')]; |
|
|
|
$result = $callable(...array_values($request->getParam('pass'))); |
|
if ($result instanceof Response) { |
|
$this->response = $result; |
|
} |
|
|
'{{store.id_store}}' '{{categorie.id_category}}'
if ($result instanceof Response) { |
|
return $result; |
|
} |
|
|
|
$response = $controller->invokeAction(); |
|
if ($response !== null && !($response instanceof Response)) { |
|
throw new LogicException('Controller actions can only return Cake\Http\Response or null.'); |
|
} |
|
|
No arguments
} else { |
|
$controller = $this->factory->create($request, $response); |
|
} |
|
|
|
$response = $this->_invoke($controller); |
|
if ($request->getParam('return')) { |
|
return $response; |
|
} |
|
|
object(App\Controller\infoController) { helpers => [ 'Html' => [ 'className' => 'Bootstrap.BootstrapHtml' ], 'Form' => [ 'className' => 'Bootstrap.BootstrapForm' ], 'Paginator' => [], 'Modal' => [ 'className' => 'Bootstrap.BootstrapModal' ], 'Crypt' => [], 'PG' => [] ] myprofile => null 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 => 'info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [protected] base => '' [protected] webroot => '/' [protected] here => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [protected] trustedProxies => [[maximum depth reached]] [protected] _input => null [protected] _detectors => [ [maximum depth reached] ] [protected] _detectorCache => [ [maximum depth reached] ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) {} [protected] uri => object(Laminas\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] ] [private] mergeFilesAsObjects => false } 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 => [ (int) 0 => '{{store.id_store}}', (int) 1 => '{{categorie.id_category}}' ] modelClass => 'Info' viewClass => null viewVars => [] 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] ] } Tools => object(App\Controller\Component\ToolsComponent) { 'components' => [ [maximum depth reached] ], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } Payment => object(App\Controller\Component\PaymentComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } Invoice => object(App\Controller\Component\InvoiceComponent) { 'components' => [ [maximum depth reached] ], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } Billing => object(App\Controller\Component\BillingComponent) { 'components' => [ [maximum depth reached] ], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } Notification => object(App\Controller\Component\NotificationComponent) { 'components' => [ [maximum depth reached] ], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } Useragent => object(App\Controller\Component\UseragentComponent) { 'components' => [ [maximum depth reached] ], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 1440 [protected] _isCLI => false } customClientFields => [ (int) 0 => 'Client.id', (int) 1 => 'Client.first_name', (int) 2 => 'Client.last_name', (int) 3 => 'Client.photo', (int) 4 => 'Client.photo_dir' ] customProfileFields => [ (int) 0 => 'Profiles.id', (int) 1 => 'Profiles.first_name', (int) 2 => 'Profiles.last_name', (int) 3 => 'Profiles.photo', (int) 4 => 'Profiles.photo_dir' ] customProfessionalFields => [ (int) 0 => 'Professionals.id', (int) 1 => 'Professionals.first_name', (int) 2 => 'Professionals.last_name', (int) 3 => 'Professionals.photo', (int) 4 => 'Professionals.photo_dir' ] customPartnerFields => [ (int) 0 => 'Partner.id', (int) 1 => 'Partner.first_name', (int) 2 => 'Partner.last_name', (int) 3 => 'Partner.photo', (int) 4 => 'Partner.photo_dir' ] customFamilyFields => [ (int) 0 => 'Family.id', (int) 1 => 'Family.first_name', (int) 2 => 'Family.last_name', (int) 3 => 'Family.photo', (int) 4 => 'Family.photo_dir' ] customProfessionalFieldsExtended => [ (int) 0 => 'Professionals.id', (int) 1 => 'Professionals.first_name', (int) 2 => 'Professionals.last_name', (int) 3 => 'Professionals.photo', (int) 4 => 'Professionals.photo_dir', (int) 5 => 'Professionals.available', (int) 6 => 'Professionals.bumped', (int) 7 => 'Professionals.addr_city', (int) 8 => 'Professionals.geoLat', (int) 9 => 'Professionals.geoLong', (int) 10 => 'Professionals.addr_no', (int) 11 => 'Professionals.addr_street', (int) 12 => 'Professionals.addr_postalcode', (int) 13 => 'Professionals.geoLatCompany', (int) 14 => 'Professionals.geoLongCompany', (int) 15 => 'Professionals.work_addr_city', (int) 16 => 'Professionals.work_addr_no', (int) 17 => 'Professionals.work_addr_street', (int) 18 => 'Professionals.work_addr_postalcode', (int) 19 => 'Professionals.created' ] customCartFields => [ (int) 0 => 'Carts.quote_id_store', (int) 1 => 'Carts.id_customer', (int) 2 => 'Carts.id_cart', (int) 3 => 'Carts.id_term', (int) 4 => 'Carts.id_lang', (int) 5 => 'Carts.created', (int) 6 => 'Carts.modified', (int) 7 => 'Carts.id_shop', (int) 8 => 'Carts.name', (int) 9 => 'Carts.temp_user_id', (int) 10 => 'Carts.id_pei', (int) 11 => 'Carts.id_quote_request' ] customCartFields2 => [ (int) 0 => 'Carts.quote_id_store', (int) 1 => 'Carts.id_customer', (int) 2 => 'Carts.id_cart', (int) 3 => 'Carts.id_term', (int) 4 => 'Carts.id_lang', (int) 5 => 'Carts.created', (int) 6 => 'Carts.modified', (int) 7 => 'Carts.id_shop', (int) 8 => 'Carts.name', (int) 9 => 'Carts.temp_user_id', (int) 10 => 'Carts.note_en', (int) 11 => 'Carts.note_fr', (int) 12 => 'CartProposals.id_cart', (int) 13 => 'CartProposals.id_cart_proposal', (int) 14 => 'CartProposals.comment', (int) 15 => 'Carts.id_pei', (int) 16 => 'Carts.id_quote_request' ] customCartProductFields => [ (int) 0 => 'Carts.id_cart', (int) 1 => 'Carts.id_lang', (int) 2 => 'Carts.created', (int) 3 => 'Carts.modified', (int) 4 => 'Carts.CartProducts.Products.price', (int) 5 => 'Carts.CartProducts.Products.thumbernail_url', (int) 6 => 'Carts.CartProducts.Products.image_url', (int) 7 => 'Carts.CartProducts.currency', (int) 8 => 'Carts.CartProducts.currency_symbol' ] Auth => object(Cake\Controller\Component\AuthComponent) { 'components' => [ [maximum depth reached] ], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } time_start => (float) 1711692283.0322 RefValues => object(Cake\ORM\Table) { 'registryAlias' => 'RefValues', 'table' => 'ref_values', 'alias' => 'RefValues', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [[maximum depth reached]], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } refValues => object(Cake\ORM\Table) { 'registryAlias' => 'refValues', 'table' => 'ref_values', 'alias' => 'refValues', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [[maximum depth reached]], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } Cookie => object(Cake\Controller\Component\CookieComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [ [maximum depth reached] ] } Stores => object(App\Model\Table\StoresTable) { 'registryAlias' => 'Stores', 'table' => 'store', 'alias' => 'Stores', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } [protected] name => 'Info' [protected] _responseClass => 'Cake\Http\Response' [protected] autoRender => true [protected] _components => object(Cake\Controller\ComponentRegistry) { '_Controller' => object(App\Controller\infoController) {}, '_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 => 'Bootstrap' [protected] _layout => 'public' [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 => [ 'controller' => 'Info', 'action' => 'shop', 'pass' => [ (int) 0 => '{{store.id_store}}', (int) 1 => '{{categorie.id_category}}' ], 'plugin' => null, '_matchedRoute' => '/{controller}/{action}/*', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.profygate.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'www.profygate.com', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'www.profygate.com', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'www.profygate.com', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.29', 'SERVER_NAME' => 'www.profygate.com', 'SERVER_ADDR' => '108.163.129.123', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.153.170.189', 'DOCUMENT_ROOT' => '/var/www/html/profygate/portal', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/profygate/portal', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/var/www/html/profygate/portal/webroot/index.php', 'REMOTE_PORT' => '50442', 'REDIRECT_URL' => '/webroot/info/shop/{{store.id_store}}/{{categorie.id_category}}', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711692283.0115, 'REQUEST_TIME' => (int) 1711692283, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [protected] base => '' [protected] webroot => '/' [protected] here => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [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, 'get' => true ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.profygate.com' [private] port => null [private] path => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 1440 [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")' ] ] [private] mergeFilesAsObjects => false } 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 => [ 'controller' => 'Info', 'action' => 'shop', 'pass' => [ (int) 0 => '{{store.id_store}}', (int) 1 => '{{categorie.id_category}}' ], 'plugin' => null, '_matchedRoute' => '/{controller}/{action}/*', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.profygate.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'www.profygate.com', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'www.profygate.com', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'www.profygate.com', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.29', 'SERVER_NAME' => 'www.profygate.com', 'SERVER_ADDR' => '108.163.129.123', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.153.170.189', 'DOCUMENT_ROOT' => '/var/www/html/profygate/portal', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/profygate/portal', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/var/www/html/profygate/portal/webroot/index.php', 'REMOTE_PORT' => '50442', 'REDIRECT_URL' => '/webroot/info/shop/{{store.id_store}}/{{categorie.id_category}}', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711692283.0115, 'REQUEST_TIME' => (int) 1711692283, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [protected] base => '' [protected] webroot => '/' [protected] here => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [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, 'get' => true ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.profygate.com' [private] port => null [private] path => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 1440 [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")' ] ] [private] mergeFilesAsObjects => false } 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) 6 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
public function __invoke(ServerRequestInterface $request, ResponseInterface $response, $next) |
|
{ |
|
$locale = Locale::acceptFromHttp($request->getHeaderLine('Accept-Language')); |
|
if (!$locale) { |
|
return $next($request, $response); |
|
} |
|
if ($this->locales !== ['*']) { |
|
$locale = Locale::lookup($this->locales, $locale, true); |
|
} |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'Info', 'action' => 'shop', 'pass' => [ (int) 0 => '{{store.id_store}}', (int) 1 => '{{categorie.id_category}}' ], 'plugin' => null, '_matchedRoute' => '/{controller}/{action}/*', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.profygate.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'www.profygate.com', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'www.profygate.com', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'www.profygate.com', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.29', 'SERVER_NAME' => 'www.profygate.com', 'SERVER_ADDR' => '108.163.129.123', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.153.170.189', 'DOCUMENT_ROOT' => '/var/www/html/profygate/portal', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/profygate/portal', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/var/www/html/profygate/portal/webroot/index.php', 'REMOTE_PORT' => '50442', 'REDIRECT_URL' => '/webroot/info/shop/{{store.id_store}}/{{categorie.id_category}}', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711692283.0115, 'REQUEST_TIME' => (int) 1711692283, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [protected] base => '' [protected] webroot => '/' [protected] here => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [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, 'get' => true ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.profygate.com' [private] port => null [private] path => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 1440 [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")' ] ] [private] mergeFilesAsObjects => false } 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 => [ 'controller' => 'Info', 'action' => 'shop', 'pass' => [ (int) 0 => '{{store.id_store}}', (int) 1 => '{{categorie.id_category}}' ], 'plugin' => null, '_matchedRoute' => '/{controller}/{action}/*', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.profygate.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'www.profygate.com', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'www.profygate.com', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'www.profygate.com', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.29', 'SERVER_NAME' => 'www.profygate.com', 'SERVER_ADDR' => '108.163.129.123', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.153.170.189', 'DOCUMENT_ROOT' => '/var/www/html/profygate/portal', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/profygate/portal', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/var/www/html/profygate/portal/webroot/index.php', 'REMOTE_PORT' => '50442', 'REDIRECT_URL' => '/webroot/info/shop/{{store.id_store}}/{{categorie.id_category}}', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711692283.0115, 'REQUEST_TIME' => (int) 1711692283, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [protected] base => '' [protected] webroot => '/' [protected] here => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [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, 'get' => true ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.profygate.com' [private] port => null [private] path => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 1440 [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")' ] ] [private] mergeFilesAsObjects => false } 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) 6 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
); |
|
} |
|
$matching = Router::getRouteCollection()->getMiddleware($middleware); |
|
if (!$matching) { |
|
return $next($request, $response); |
|
} |
|
$matching[] = $next; |
|
$middleware = new MiddlewareQueue($matching); |
|
$runner = new Runner(); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'Info', 'action' => 'shop', 'pass' => [ (int) 0 => '{{store.id_store}}', (int) 1 => '{{categorie.id_category}}' ], 'plugin' => null, '_matchedRoute' => '/{controller}/{action}/*', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.profygate.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'www.profygate.com', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'www.profygate.com', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'www.profygate.com', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.29', 'SERVER_NAME' => 'www.profygate.com', 'SERVER_ADDR' => '108.163.129.123', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.153.170.189', 'DOCUMENT_ROOT' => '/var/www/html/profygate/portal', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/profygate/portal', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/var/www/html/profygate/portal/webroot/index.php', 'REMOTE_PORT' => '50442', 'REDIRECT_URL' => '/webroot/info/shop/{{store.id_store}}/{{categorie.id_category}}', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711692283.0115, 'REQUEST_TIME' => (int) 1711692283, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [protected] base => '' [protected] webroot => '/' [protected] here => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [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, 'get' => true ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.profygate.com' [private] port => null [private] path => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 1440 [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")' ] ] [private] mergeFilesAsObjects => false } 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 => [ 'controller' => 'Info', 'action' => 'shop', 'pass' => [ (int) 0 => '{{store.id_store}}', (int) 1 => '{{categorie.id_category}}' ], 'plugin' => null, '_matchedRoute' => '/{controller}/{action}/*', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.profygate.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'www.profygate.com', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'www.profygate.com', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'www.profygate.com', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.29', 'SERVER_NAME' => 'www.profygate.com', 'SERVER_ADDR' => '108.163.129.123', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.153.170.189', 'DOCUMENT_ROOT' => '/var/www/html/profygate/portal', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/profygate/portal', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/var/www/html/profygate/portal/webroot/index.php', 'REMOTE_PORT' => '50442', 'REDIRECT_URL' => '/webroot/info/shop/{{store.id_store}}/{{categorie.id_category}}', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711692283.0115, 'REQUEST_TIME' => (int) 1711692283, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [protected] base => '' [protected] webroot => '/' [protected] here => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [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, 'get' => true ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.profygate.com' [private] port => null [private] path => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 1440 [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")' ] ] [private] mergeFilesAsObjects => false } 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) 6 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
} |
|
|
|
$assetFile = $this->_getAssetFile($url); |
|
if ($assetFile === null || !file_exists($assetFile)) { |
|
return $next($request, $response); |
|
} |
|
|
|
$file = new File($assetFile); |
|
$modifiedTime = $file->lastChange(); |
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 => [ 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.profygate.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'www.profygate.com', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'www.profygate.com', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'www.profygate.com', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.29', 'SERVER_NAME' => 'www.profygate.com', 'SERVER_ADDR' => '108.163.129.123', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.153.170.189', 'DOCUMENT_ROOT' => '/var/www/html/profygate/portal', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/profygate/portal', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/var/www/html/profygate/portal/webroot/index.php', 'REMOTE_PORT' => '50442', 'REDIRECT_URL' => '/webroot/info/shop/{{store.id_store}}/{{categorie.id_category}}', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711692283.0115, 'REQUEST_TIME' => (int) 1711692283, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [protected] base => '' [protected] webroot => '/' [protected] here => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [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(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.profygate.com' [private] port => null [private] path => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 1440 [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")' ] ] [private] mergeFilesAsObjects => false } 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 => [ 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.profygate.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'www.profygate.com', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'www.profygate.com', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'www.profygate.com', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.29', 'SERVER_NAME' => 'www.profygate.com', 'SERVER_ADDR' => '108.163.129.123', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.153.170.189', 'DOCUMENT_ROOT' => '/var/www/html/profygate/portal', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/profygate/portal', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/var/www/html/profygate/portal/webroot/index.php', 'REMOTE_PORT' => '50442', 'REDIRECT_URL' => '/webroot/info/shop/{{store.id_store}}/{{categorie.id_category}}', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711692283.0115, 'REQUEST_TIME' => (int) 1711692283, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [protected] base => '' [protected] webroot => '/' [protected] here => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [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(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.profygate.com' [private] port => null [private] path => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 1440 [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")' ] ] [private] mergeFilesAsObjects => false } 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) 6 [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 => [ 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.profygate.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'www.profygate.com', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'www.profygate.com', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'www.profygate.com', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.29', 'SERVER_NAME' => 'www.profygate.com', 'SERVER_ADDR' => '108.163.129.123', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.153.170.189', 'DOCUMENT_ROOT' => '/var/www/html/profygate/portal', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/profygate/portal', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/var/www/html/profygate/portal/webroot/index.php', 'REMOTE_PORT' => '50442', 'REDIRECT_URL' => '/webroot/info/shop/{{store.id_store}}/{{categorie.id_category}}', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711692283.0115, 'REQUEST_TIME' => (int) 1711692283, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [protected] base => '' [protected] webroot => '/' [protected] here => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [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(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.profygate.com' [private] port => null [private] path => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 1440 [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")' ] ] [private] mergeFilesAsObjects => false } 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 => [ 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.profygate.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'www.profygate.com', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'www.profygate.com', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'www.profygate.com', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.29', 'SERVER_NAME' => 'www.profygate.com', 'SERVER_ADDR' => '108.163.129.123', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.153.170.189', 'DOCUMENT_ROOT' => '/var/www/html/profygate/portal', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/profygate/portal', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/var/www/html/profygate/portal/webroot/index.php', 'REMOTE_PORT' => '50442', 'REDIRECT_URL' => '/webroot/info/shop/{{store.id_store}}/{{categorie.id_category}}', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711692283.0115, 'REQUEST_TIME' => (int) 1711692283, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [protected] base => '' [protected] webroot => '/' [protected] here => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [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(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.profygate.com' [private] port => null [private] path => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 1440 [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")' ] ] [private] mergeFilesAsObjects => false } 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) 6 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
} |
|
} |
|
|
|
if ($can_continue) { |
|
$response = $next($request, $response); |
|
} |
|
// When modifying the response, you should do it |
|
// *after* calling next. |
|
// if (!$request->getCookie('landing_page')) { |
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 => [ 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.profygate.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'www.profygate.com', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'www.profygate.com', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'www.profygate.com', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.29', 'SERVER_NAME' => 'www.profygate.com', 'SERVER_ADDR' => '108.163.129.123', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.153.170.189', 'DOCUMENT_ROOT' => '/var/www/html/profygate/portal', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/profygate/portal', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/var/www/html/profygate/portal/webroot/index.php', 'REMOTE_PORT' => '50442', 'REDIRECT_URL' => '/webroot/info/shop/{{store.id_store}}/{{categorie.id_category}}', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711692283.0115, 'REQUEST_TIME' => (int) 1711692283, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [protected] base => '' [protected] webroot => '/' [protected] here => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [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(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.profygate.com' [private] port => null [private] path => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 1440 [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")' ] ] [private] mergeFilesAsObjects => false } 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 => [ 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.profygate.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'www.profygate.com', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'www.profygate.com', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'www.profygate.com', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.29', 'SERVER_NAME' => 'www.profygate.com', 'SERVER_ADDR' => '108.163.129.123', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.153.170.189', 'DOCUMENT_ROOT' => '/var/www/html/profygate/portal', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/profygate/portal', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/var/www/html/profygate/portal/webroot/index.php', 'REMOTE_PORT' => '50442', 'REDIRECT_URL' => '/webroot/info/shop/{{store.id_store}}/{{categorie.id_category}}', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711692283.0115, 'REQUEST_TIME' => (int) 1711692283, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [protected] base => '' [protected] webroot => '/' [protected] here => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [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(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.profygate.com' [private] port => null [private] path => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 1440 [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")' ] ] [private] mergeFilesAsObjects => false } 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) 6 [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 => [ 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.profygate.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'www.profygate.com', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'www.profygate.com', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'www.profygate.com', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.29', 'SERVER_NAME' => 'www.profygate.com', 'SERVER_ADDR' => '108.163.129.123', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.153.170.189', 'DOCUMENT_ROOT' => '/var/www/html/profygate/portal', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/profygate/portal', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/var/www/html/profygate/portal/webroot/index.php', 'REMOTE_PORT' => '50442', 'REDIRECT_URL' => '/webroot/info/shop/{{store.id_store}}/{{categorie.id_category}}', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711692283.0115, 'REQUEST_TIME' => (int) 1711692283, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [protected] base => '' [protected] webroot => '/' [protected] here => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [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(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.profygate.com' [private] port => null [private] path => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 1440 [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")' ] ] [private] mergeFilesAsObjects => false } 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(App\Middleware\FastResponseMiddleware) {}, (int) 1 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 2 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 3 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 4 => object(Cake\I18n\Middleware\LocaleSelectorMiddleware) {}, (int) 5 => object(App\Application) {} ] [protected] callables => [ (int) 0 => object(App\Middleware\FastResponseMiddleware) {}, (int) 1 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 2 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 3 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 4 => object(Cake\I18n\Middleware\LocaleSelectorMiddleware) {}, (int) 5 => 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 => [ 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.profygate.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'www.profygate.com', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgZZ@wF1327WIhvqarMGbgAAAAY', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'www.profygate.com', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'www.profygate.com', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.29', 'SERVER_NAME' => 'www.profygate.com', 'SERVER_ADDR' => '108.163.129.123', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.153.170.189', 'DOCUMENT_ROOT' => '/var/www/html/profygate/portal', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/profygate/portal', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/var/www/html/profygate/portal/webroot/index.php', 'REMOTE_PORT' => '50442', 'REDIRECT_URL' => '/webroot/info/shop/{{store.id_store}}/{{categorie.id_category}}', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711692283.0115, 'REQUEST_TIME' => (int) 1711692283, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [protected] base => '' [protected] webroot => '/' [protected] here => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [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(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.profygate.com' [private] port => null [private] path => '/info/shop/%257B%257Bstore.id_store%257D%257D/%257B%257Bcategorie.id_category%257D%257D' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 1440 [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")' ] ] [private] mergeFilesAsObjects => false } 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
Some of the Table objects in your application were created by instantiating "Cake\ORM\Table" instead of any other specific subclass.
This could be the cause for this exception. Auto-Tables are created for you under the following circumstances:
Please try correcting the issue for the following table aliases:
If you want to customize this error message, create src/Template/Error/error500.ctp