throw new RuntimeException('Unable to locate an object compatible with paginate.'); |
|
} |
|
$settings += $this->paginate; |
|
|
|
return $this->Paginator->paginate($table, $settings); |
|
} |
|
|
|
/** |
|
* Method to check that an action is accessible from a URL. |
object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Jobpost.id AS `Jobpost__id`, Jobpost.created AS `Jobpost__created`, Jobpost.modified AS `Jobpost__modified`, Jobpost.title AS `Jobpost__title`, Jobpost.companyid AS `Jobpost__companyid`, Jobpost.industry_id AS `Jobpost__industry_id`, Jobpost.hide_comp AS `Jobpost__hide_comp`, Jobpost.description AS `Jobpost__description`, Jobpost.city_id AS `Jobpost__city_id`, Jobpost.requirement AS `Jobpost__requirement`, Jobpost.benefit AS `Jobpost__benefit`, Jobpost.markedbyadmin AS `Jobpost__markedbyadmin`, Jobpost.salary AS `Jobpost__salary`, Jobpost.emailtosendalso AS `Jobpost__emailtosendalso`, Jobpost.views AS `Jobpost__views`, Jobpost.published AS `Jobpost__published`, Jobpost.validThrough AS `Jobpost__validThrough`, Jobpost.min_salary AS `Jobpost__min_salary`, Jobpost.max_salary AS `Jobpost__max_salary`, Jobpost.todiscuss AS `Jobpost__todiscuss`, Jobpost.express AS `Jobpost__express`, Jobpost.companyexid AS `Jobpost__companyexid`, Jobpost.countrycode AS `Jobpost__countrycode`, Jobpost.statecode AS `Jobpost__statecode`, Jobpost.countycode AS `Jobpost__countycode`, Jobpost.localitycode AS `Jobpost__localitycode`, Jobpost.countrylong AS `Jobpost__countrylong`, Jobpost.countylong AS `Jobpost__countylong`, Jobpost.statelong AS `Jobpost__statelong`, Jobpost.localitylong AS `Jobpost__localitylong`, Industries.id AS `Industries__id`, Industries.name AS `Industries__name`, Industries.icon AS `Industries__icon`, Industries.img AS `Industries__img`, Industries.identifier AS `Industries__identifier`, MaxiSalaries.id AS `MaxiSalaries__id`, MaxiSalaries.value AS `MaxiSalaries__value`, MiniSalaries.id AS `MiniSalaries__id`, MiniSalaries.value AS `MiniSalaries__value` FROM jobpost Jobpost LEFT JOIN industries Industries ON Jobpost.industry_id = (Industries.id) LEFT JOIN salary MaxiSalaries ON Jobpost.max_salary = (MaxiSalaries.id) LEFT JOIN salary MiniSalaries ON Jobpost.min_salary = (MiniSalaries.id) WHERE (Jobpost.companyid = :c0 AND published = :c1 AND hide_comp = :c2 AND Jobpost.validThrough > :c3) ORDER BY Jobpost.validThrough DESC, Jobpost.created DESC LIMIT 5 OFFSET 5', 'params' => [ ':c0' => [ 'value' => '2194', 'type' => 'integer', 'placeholder' => 'c0' ], ':c1' => [ 'value' => (int) 1, 'type' => 'boolean', 'placeholder' => 'c1' ], ':c2' => [ 'value' => (int) 0, 'type' => 'boolean', 'placeholder' => 'c2' ], ':c3' => [ 'value' => '2024-03-28', 'type' => 'datetime', 'placeholder' => 'c3' ] ], 'defaultTypes' => [ 'Jobpost__id' => 'integer', 'Jobpost.id' => 'integer', 'id' => 'integer', 'Jobpost__created' => 'datetime', 'Jobpost.created' => 'datetime', 'created' => 'datetime', 'Jobpost__modified' => 'datetime', 'Jobpost.modified' => 'datetime', 'modified' => 'datetime', 'Jobpost__title' => 'string', 'Jobpost.title' => 'string', 'title' => 'string', 'Jobpost__companyid' => 'integer', 'Jobpost.companyid' => 'integer', 'companyid' => 'integer', 'Jobpost__industry_id' => 'integer', 'Jobpost.industry_id' => 'integer', 'industry_id' => 'integer', 'Jobpost__hide_comp' => 'boolean', 'Jobpost.hide_comp' => 'boolean', 'hide_comp' => 'boolean', 'Jobpost__description' => 'text', 'Jobpost.description' => 'text', 'description' => 'text', 'Jobpost__city_id' => 'string', 'Jobpost.city_id' => 'string', 'city_id' => 'string', 'Jobpost__requirement' => 'text', 'Jobpost.requirement' => 'text', 'requirement' => 'text', 'Jobpost__benefit' => 'text', 'Jobpost.benefit' => 'text', 'benefit' => 'text', 'Jobpost__markedbyadmin' => 'boolean', 'Jobpost.markedbyadmin' => 'boolean', 'markedbyadmin' => 'boolean', 'Jobpost__salary' => 'string', 'Jobpost.salary' => 'string', 'salary' => 'string', 'Jobpost__emailtosendalso' => 'string', 'Jobpost.emailtosendalso' => 'string', 'emailtosendalso' => 'string', 'Jobpost__views' => 'integer', 'Jobpost.views' => 'integer', 'views' => 'integer', 'Jobpost__published' => 'boolean', 'Jobpost.published' => 'boolean', 'published' => 'boolean', 'Jobpost__validThrough' => 'datetime', 'Jobpost.validThrough' => 'datetime', 'validThrough' => 'datetime', 'Jobpost__min_salary' => 'integer', 'Jobpost.min_salary' => 'integer', 'min_salary' => 'integer', 'Jobpost__max_salary' => 'integer', 'Jobpost.max_salary' => 'integer', 'max_salary' => 'integer', 'Jobpost__todiscuss' => 'boolean', 'Jobpost.todiscuss' => 'boolean', 'todiscuss' => 'boolean', 'Jobpost__express' => 'boolean', 'Jobpost.express' => 'boolean', 'express' => 'boolean', 'Jobpost__companyexid' => 'integer', 'Jobpost.companyexid' => 'integer', 'companyexid' => 'integer', 'Jobpost__countrycode' => 'string', 'Jobpost.countrycode' => 'string', 'countrycode' => 'string', 'Jobpost__statecode' => 'string', 'Jobpost.statecode' => 'string', 'statecode' => 'string', 'Jobpost__countycode' => 'string', 'Jobpost.countycode' => 'string', 'countycode' => 'string', 'Jobpost__localitycode' => 'string', 'Jobpost.localitycode' => 'string', 'localitycode' => 'string', 'Jobpost__countrylong' => 'string', 'Jobpost.countrylong' => 'string', 'countrylong' => 'string', 'Jobpost__countylong' => 'string', 'Jobpost.countylong' => 'string', 'countylong' => 'string', 'Jobpost__statelong' => 'string', 'Jobpost.statelong' => 'string', 'statelong' => 'string', 'Jobpost__localitylong' => 'string', 'Jobpost.localitylong' => 'string', 'localitylong' => 'string', 'Industries__id' => 'integer', 'Industries.id' => 'integer', 'Industries__name' => 'text', 'Industries.name' => 'text', 'name' => 'text', 'Industries__icon' => 'string', 'Industries.icon' => 'string', 'icon' => 'string', 'Industries__img' => 'string', 'Industries.img' => 'string', 'img' => 'string', 'Industries__identifier' => 'string', 'Industries.identifier' => 'string', 'identifier' => 'string', 'MaxiSalaries__id' => 'integer', 'MaxiSalaries.id' => 'integer', 'MaxiSalaries__value' => 'integer', 'MaxiSalaries.value' => 'integer', 'value' => 'integer', 'MiniSalaries__id' => 'integer', 'MiniSalaries.id' => 'integer', 'MiniSalaries__value' => 'integer', 'MiniSalaries.value' => 'integer', 'BenefitsJobs__id' => 'integer', 'BenefitsJobs.id' => 'integer', 'BenefitsJobs__jobid' => 'integer', 'BenefitsJobs.jobid' => 'integer', 'jobid' => 'integer', 'BenefitsJobs__benid' => 'integer', 'BenefitsJobs.benid' => 'integer', 'benid' => 'integer', 'Benefits__id' => 'integer', 'Benefits.id' => 'integer', 'Benefits__name' => 'text', 'Benefits.name' => 'text', 'Benefits__identifier' => 'string', 'Benefits.identifier' => 'string', 'JobpostTypes__id' => 'integer', 'JobpostTypes.id' => 'integer', 'JobpostTypes__jobid' => 'integer', 'JobpostTypes.jobid' => 'integer', 'JobpostTypes__typeid' => 'integer', 'JobpostTypes.typeid' => 'integer', 'typeid' => 'integer', 'JobpostType__id' => 'integer', 'JobpostType.id' => 'integer', 'JobpostType__name' => 'text', 'JobpostType.name' => 'text', 'JobpostType__googlecode' => 'string', 'JobpostType.googlecode' => 'string', 'googlecode' => 'string', 'JobpostsTags__id' => 'integer', 'JobpostsTags.id' => 'integer', 'JobpostsTags__jobid' => 'integer', 'JobpostsTags.jobid' => 'integer', 'JobpostsTags__tagid' => 'integer', 'JobpostsTags.tagid' => 'integer', 'tagid' => 'integer', 'Tags__id' => 'integer', 'Tags.id' => 'integer', 'Tags__name' => 'string', 'Tags.name' => 'string', 'Tags__type' => 'integer', 'Tags.type' => 'integer', 'type' => 'integer', 'Tags__description' => 'text', 'Tags.description' => 'text', 'Tags__title' => 'text', 'Tags.title' => 'text', 'JobpostApply__id' => 'integer', 'JobpostApply.id' => 'integer', 'JobpostApply__jobpost_id' => 'integer', 'JobpostApply.jobpost_id' => 'integer', 'jobpost_id' => 'integer', 'JobpostApply__profile_client_id' => 'integer', 'JobpostApply.profile_client_id' => 'integer', 'profile_client_id' => 'integer', 'JobpostApply__created' => 'datetime', 'JobpostApply.created' => 'datetime', 'JobpostApply__jobpostmarkedid' => 'integer', 'JobpostApply.jobpostmarkedid' => 'integer', 'jobpostmarkedid' => 'integer', 'JobpostApply__comment' => 'text', 'JobpostApply.comment' => 'text', 'comment' => 'text', 'JobpostApply__userid' => 'integer', 'JobpostApply.userid' => 'integer', 'userid' => 'integer' ], 'decorators' => (int) 0, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'Industries' => [], 'MaxiSalaries' => [], 'MiniSalaries' => [], 'BenefitsJobs' => [ 'Benefits' => [[maximum depth reached]] ], 'JobpostTypes' => [ 'JobpostType' => [[maximum depth reached]] ], 'JobpostsTags' => [ 'Tags' => [[maximum depth reached]] ], 'JobpostApply' => [] ], 'matching' => [], 'extraOptions' => [ 'scope' => null, 'sort' => null, 'whitelist' => [ (int) 0 => 'limit', (int) 1 => 'sort', (int) 2 => 'page', (int) 3 => 'direction' ] ], 'repository' => object(App\Model\Table\JobpostTable) { 'registryAlias' => 'Jobpost', 'table' => 'jobpost', 'alias' => 'Jobpost', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } } [ 'limit' => (int) 5 ]
])->where(['Jobpost.validThrough >'=>date('Y-m-d')]) |
|
->order(['Jobpost.validThrough' =>'DESC']); |
|
endif; |
|
$jobs=$jobs->order('Jobpost.created DESC'); |
|
$this->set('jobs',$this->paginate($jobs)); |
|
|
|
$this->loadModel('CompaniesFollows'); |
|
$followers=$this->CompaniesFollows->find('all') |
|
->contain(['Users.ProfileClient']) |
object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Jobpost.id AS `Jobpost__id`, Jobpost.created AS `Jobpost__created`, Jobpost.modified AS `Jobpost__modified`, Jobpost.title AS `Jobpost__title`, Jobpost.companyid AS `Jobpost__companyid`, Jobpost.industry_id AS `Jobpost__industry_id`, Jobpost.hide_comp AS `Jobpost__hide_comp`, Jobpost.description AS `Jobpost__description`, Jobpost.city_id AS `Jobpost__city_id`, Jobpost.requirement AS `Jobpost__requirement`, Jobpost.benefit AS `Jobpost__benefit`, Jobpost.markedbyadmin AS `Jobpost__markedbyadmin`, Jobpost.salary AS `Jobpost__salary`, Jobpost.emailtosendalso AS `Jobpost__emailtosendalso`, Jobpost.views AS `Jobpost__views`, Jobpost.published AS `Jobpost__published`, Jobpost.validThrough AS `Jobpost__validThrough`, Jobpost.min_salary AS `Jobpost__min_salary`, Jobpost.max_salary AS `Jobpost__max_salary`, Jobpost.todiscuss AS `Jobpost__todiscuss`, Jobpost.express AS `Jobpost__express`, Jobpost.companyexid AS `Jobpost__companyexid`, Jobpost.countrycode AS `Jobpost__countrycode`, Jobpost.statecode AS `Jobpost__statecode`, Jobpost.countycode AS `Jobpost__countycode`, Jobpost.localitycode AS `Jobpost__localitycode`, Jobpost.countrylong AS `Jobpost__countrylong`, Jobpost.countylong AS `Jobpost__countylong`, Jobpost.statelong AS `Jobpost__statelong`, Jobpost.localitylong AS `Jobpost__localitylong`, Industries.id AS `Industries__id`, Industries.name AS `Industries__name`, Industries.icon AS `Industries__icon`, Industries.img AS `Industries__img`, Industries.identifier AS `Industries__identifier`, MaxiSalaries.id AS `MaxiSalaries__id`, MaxiSalaries.value AS `MaxiSalaries__value`, MiniSalaries.id AS `MiniSalaries__id`, MiniSalaries.value AS `MiniSalaries__value` FROM jobpost Jobpost LEFT JOIN industries Industries ON Jobpost.industry_id = (Industries.id) LEFT JOIN salary MaxiSalaries ON Jobpost.max_salary = (MaxiSalaries.id) LEFT JOIN salary MiniSalaries ON Jobpost.min_salary = (MiniSalaries.id) WHERE (Jobpost.companyid = :c0 AND published = :c1 AND hide_comp = :c2 AND Jobpost.validThrough > :c3) ORDER BY Jobpost.validThrough DESC, Jobpost.created DESC LIMIT 5 OFFSET 5', 'params' => [ ':c0' => [ 'value' => '2194', 'type' => 'integer', 'placeholder' => 'c0' ], ':c1' => [ 'value' => (int) 1, 'type' => 'boolean', 'placeholder' => 'c1' ], ':c2' => [ 'value' => (int) 0, 'type' => 'boolean', 'placeholder' => 'c2' ], ':c3' => [ 'value' => '2024-03-28', 'type' => 'datetime', 'placeholder' => 'c3' ] ], 'defaultTypes' => [ 'Jobpost__id' => 'integer', 'Jobpost.id' => 'integer', 'id' => 'integer', 'Jobpost__created' => 'datetime', 'Jobpost.created' => 'datetime', 'created' => 'datetime', 'Jobpost__modified' => 'datetime', 'Jobpost.modified' => 'datetime', 'modified' => 'datetime', 'Jobpost__title' => 'string', 'Jobpost.title' => 'string', 'title' => 'string', 'Jobpost__companyid' => 'integer', 'Jobpost.companyid' => 'integer', 'companyid' => 'integer', 'Jobpost__industry_id' => 'integer', 'Jobpost.industry_id' => 'integer', 'industry_id' => 'integer', 'Jobpost__hide_comp' => 'boolean', 'Jobpost.hide_comp' => 'boolean', 'hide_comp' => 'boolean', 'Jobpost__description' => 'text', 'Jobpost.description' => 'text', 'description' => 'text', 'Jobpost__city_id' => 'string', 'Jobpost.city_id' => 'string', 'city_id' => 'string', 'Jobpost__requirement' => 'text', 'Jobpost.requirement' => 'text', 'requirement' => 'text', 'Jobpost__benefit' => 'text', 'Jobpost.benefit' => 'text', 'benefit' => 'text', 'Jobpost__markedbyadmin' => 'boolean', 'Jobpost.markedbyadmin' => 'boolean', 'markedbyadmin' => 'boolean', 'Jobpost__salary' => 'string', 'Jobpost.salary' => 'string', 'salary' => 'string', 'Jobpost__emailtosendalso' => 'string', 'Jobpost.emailtosendalso' => 'string', 'emailtosendalso' => 'string', 'Jobpost__views' => 'integer', 'Jobpost.views' => 'integer', 'views' => 'integer', 'Jobpost__published' => 'boolean', 'Jobpost.published' => 'boolean', 'published' => 'boolean', 'Jobpost__validThrough' => 'datetime', 'Jobpost.validThrough' => 'datetime', 'validThrough' => 'datetime', 'Jobpost__min_salary' => 'integer', 'Jobpost.min_salary' => 'integer', 'min_salary' => 'integer', 'Jobpost__max_salary' => 'integer', 'Jobpost.max_salary' => 'integer', 'max_salary' => 'integer', 'Jobpost__todiscuss' => 'boolean', 'Jobpost.todiscuss' => 'boolean', 'todiscuss' => 'boolean', 'Jobpost__express' => 'boolean', 'Jobpost.express' => 'boolean', 'express' => 'boolean', 'Jobpost__companyexid' => 'integer', 'Jobpost.companyexid' => 'integer', 'companyexid' => 'integer', 'Jobpost__countrycode' => 'string', 'Jobpost.countrycode' => 'string', 'countrycode' => 'string', 'Jobpost__statecode' => 'string', 'Jobpost.statecode' => 'string', 'statecode' => 'string', 'Jobpost__countycode' => 'string', 'Jobpost.countycode' => 'string', 'countycode' => 'string', 'Jobpost__localitycode' => 'string', 'Jobpost.localitycode' => 'string', 'localitycode' => 'string', 'Jobpost__countrylong' => 'string', 'Jobpost.countrylong' => 'string', 'countrylong' => 'string', 'Jobpost__countylong' => 'string', 'Jobpost.countylong' => 'string', 'countylong' => 'string', 'Jobpost__statelong' => 'string', 'Jobpost.statelong' => 'string', 'statelong' => 'string', 'Jobpost__localitylong' => 'string', 'Jobpost.localitylong' => 'string', 'localitylong' => 'string', 'Industries__id' => 'integer', 'Industries.id' => 'integer', 'Industries__name' => 'text', 'Industries.name' => 'text', 'name' => 'text', 'Industries__icon' => 'string', 'Industries.icon' => 'string', 'icon' => 'string', 'Industries__img' => 'string', 'Industries.img' => 'string', 'img' => 'string', 'Industries__identifier' => 'string', 'Industries.identifier' => 'string', 'identifier' => 'string', 'MaxiSalaries__id' => 'integer', 'MaxiSalaries.id' => 'integer', 'MaxiSalaries__value' => 'integer', 'MaxiSalaries.value' => 'integer', 'value' => 'integer', 'MiniSalaries__id' => 'integer', 'MiniSalaries.id' => 'integer', 'MiniSalaries__value' => 'integer', 'MiniSalaries.value' => 'integer', 'BenefitsJobs__id' => 'integer', 'BenefitsJobs.id' => 'integer', 'BenefitsJobs__jobid' => 'integer', 'BenefitsJobs.jobid' => 'integer', 'jobid' => 'integer', 'BenefitsJobs__benid' => 'integer', 'BenefitsJobs.benid' => 'integer', 'benid' => 'integer', 'Benefits__id' => 'integer', 'Benefits.id' => 'integer', 'Benefits__name' => 'text', 'Benefits.name' => 'text', 'Benefits__identifier' => 'string', 'Benefits.identifier' => 'string', 'JobpostTypes__id' => 'integer', 'JobpostTypes.id' => 'integer', 'JobpostTypes__jobid' => 'integer', 'JobpostTypes.jobid' => 'integer', 'JobpostTypes__typeid' => 'integer', 'JobpostTypes.typeid' => 'integer', 'typeid' => 'integer', 'JobpostType__id' => 'integer', 'JobpostType.id' => 'integer', 'JobpostType__name' => 'text', 'JobpostType.name' => 'text', 'JobpostType__googlecode' => 'string', 'JobpostType.googlecode' => 'string', 'googlecode' => 'string', 'JobpostsTags__id' => 'integer', 'JobpostsTags.id' => 'integer', 'JobpostsTags__jobid' => 'integer', 'JobpostsTags.jobid' => 'integer', 'JobpostsTags__tagid' => 'integer', 'JobpostsTags.tagid' => 'integer', 'tagid' => 'integer', 'Tags__id' => 'integer', 'Tags.id' => 'integer', 'Tags__name' => 'string', 'Tags.name' => 'string', 'Tags__type' => 'integer', 'Tags.type' => 'integer', 'type' => 'integer', 'Tags__description' => 'text', 'Tags.description' => 'text', 'Tags__title' => 'text', 'Tags.title' => 'text', 'JobpostApply__id' => 'integer', 'JobpostApply.id' => 'integer', 'JobpostApply__jobpost_id' => 'integer', 'JobpostApply.jobpost_id' => 'integer', 'jobpost_id' => 'integer', 'JobpostApply__profile_client_id' => 'integer', 'JobpostApply.profile_client_id' => 'integer', 'profile_client_id' => 'integer', 'JobpostApply__created' => 'datetime', 'JobpostApply.created' => 'datetime', 'JobpostApply__jobpostmarkedid' => 'integer', 'JobpostApply.jobpostmarkedid' => 'integer', 'jobpostmarkedid' => 'integer', 'JobpostApply__comment' => 'text', 'JobpostApply.comment' => 'text', 'comment' => 'text', 'JobpostApply__userid' => 'integer', 'JobpostApply.userid' => 'integer', 'userid' => 'integer' ], 'decorators' => (int) 0, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'Industries' => [], 'MaxiSalaries' => [], 'MiniSalaries' => [], 'BenefitsJobs' => [ 'Benefits' => [[maximum depth reached]] ], 'JobpostTypes' => [ 'JobpostType' => [[maximum depth reached]] ], 'JobpostsTags' => [ 'Tags' => [[maximum depth reached]] ], 'JobpostApply' => [] ], 'matching' => [], 'extraOptions' => [ 'scope' => null, 'sort' => null, 'whitelist' => [ (int) 0 => 'limit', (int) 1 => 'sort', (int) 2 => 'page', (int) 3 => 'direction' ] ], 'repository' => object(App\Model\Table\JobpostTable) { 'registryAlias' => 'Jobpost', 'table' => 'jobpost', 'alias' => 'Jobpost', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } }
} |
|
/* @var callable $callable */ |
|
$callable = [$this, $request->getParam('action')]; |
|
|
|
return $callable(...array_values($request->getParam('pass'))); |
|
} |
|
|
|
/** |
|
* Merge components, helpers vars from |
'2194'
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\CompaniesController) { paginate => [ 'limit' => (int) 5 ] helpers => [] request => object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ [maximum depth reached] ] [protected] data => [[maximum depth reached]] [protected] query => [ [maximum depth reached] ] [protected] cookies => [[maximum depth reached]] [protected] _environment => [ [maximum depth reached] ] [protected] url => 'companies/detail/2194' [protected] base => '' [protected] webroot => '/' [protected] here => '/companies/detail/2194' [protected] trustedProxies => [[maximum depth reached]] [protected] _input => null [protected] _detectors => [ [maximum depth reached] ] [protected] _detectorCache => [ [maximum depth reached] ] [protected] stream => object(Zend\Diactoros\PhpInputStream) {} [protected] uri => object(Zend\Diactoros\Uri) {} [protected] session => object(Cake\Http\Session) {} [protected] attributes => [[maximum depth reached]] [protected] emulatedAttributes => [ [maximum depth reached] ] [protected] uploadedFiles => [[maximum depth reached]] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ [maximum depth reached] ] } response => object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ [maximum depth reached] ], 'file' => null, 'fileRange' => [[maximum depth reached]], 'cookies' => object(Cake\Http\Cookie\CookieCollection) {}, 'cacheDirectives' => [[maximum depth reached]], 'body' => '' } components => [] View => null passedArgs => [ (int) 0 => '2194' ] modelClass => 'Companies' viewClass => null viewVars => [ 'arraycompanyuser' => [ (int) 0 => (int) 198109 ], 'ap' => object(Cake\ORM\Entity) {}, 'textd' => 'paginas', 'aliasposting' => 'publicar-empleo', 'thishome' => '', 'symbol' => 'US$', 'exchange' => '1', 'footer4' => object(Cake\ORM\Query) {}, 'footer3' => object(Cake\ORM\Query) {}, 'footer2' => object(Cake\ORM\Query) {}, 'footer1' => object(Cake\ORM\Query) {}, 'right' => object(Cake\ORM\Query) {}, 'left' => object(Cake\ORM\Query) {}, 'content_bottom' => object(Cake\ORM\Query) {}, 'content_top' => object(Cake\ORM\Query) {}, 'bottoms' => object(Cake\ORM\Query) {}, 'banner' => object(Cake\ORM\Query) {}, 'module_top' => object(Cake\ORM\Query) {}, 'menu_right' => object(Cake\ORM\Query) {}, 'layout' => object(Cake\ORM\Entity) {}, 'getlayout' => object(Cake\ORM\Entity) {}, 'pages' => object(Cake\ORM\Entity) {}, 'linkhased' => 'aHR0cHM6Ly93d3cuZGlhcmlvZW1wbGVvLmNvbS9jb21wYW5pZXMvZGV0YWlsLzIxOTQ/cGFnZT0y', 'actual_link' => 'https://www.diarioempleo.com/companies/detail/2194?page=2', 'actual_domain' => 'https://www.diarioempleo.com', 'usercounts' => (int) 131654, 'jobpostcount' => (int) 8192, 'thisalias' => 'companies', 'aliaspost' => 'publicar-empleo', 'aliaspages' => 'paginas', 'aliasn' => 'novedades', 'aliasmyprofile' => 'perfil', 'aliassearch' => 'empleos', 'token' => false ] 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] ] } MenusItems => object(App\Model\Table\MenusItemsTable) { 'registryAlias' => 'MenusItems', 'table' => 'menus_items', 'alias' => 'MenusItems', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } Translations => object(App\Model\Table\TranslationsTable) { 'registryAlias' => 'Translations', 'table' => 'translations', 'alias' => 'Translations', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } Layouts => object(Cake\ORM\Table) { 'registryAlias' => 'Layouts', 'table' => 'layouts', 'alias' => 'Layouts', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [[maximum depth reached]], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } Admin => object(Cake\ORM\Table) { 'registryAlias' => 'Admin', 'table' => 'admin', 'alias' => 'Admin', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [[maximum depth reached]], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } Jobpost => object(App\Model\Table\JobpostTable) { 'registryAlias' => 'Jobpost', 'table' => 'jobpost', 'alias' => 'Jobpost', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } Users => object(App\Model\Table\UsersTable) { 'registryAlias' => 'Users', 'table' => 'users', 'alias' => 'Users', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } Modules => object(App\Model\Table\ModulesTable) { 'registryAlias' => 'Modules', 'table' => 'modules', 'alias' => 'Modules', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } Languages => object(Cake\ORM\Table) { 'registryAlias' => 'Languages', 'table' => 'languages', 'alias' => 'Languages', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [[maximum depth reached]], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } Currencies => object(Cake\ORM\Table) { 'registryAlias' => 'Currencies', 'table' => 'currencies', 'alias' => 'Currencies', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [[maximum depth reached]], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } Paginator => object(Cake\Controller\Component\PaginatorComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [ [maximum depth reached] ] } Companies => object(App\Model\Table\CompaniesTable) { 'registryAlias' => 'Companies', 'table' => 'companies', 'alias' => 'Companies', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } [protected] name => 'Companies' [protected] _responseClass => 'Cake\Http\Response' [protected] autoRender => true [protected] _components => object(Cake\Controller\ComponentRegistry) { '_Controller' => object(App\Controller\CompaniesController) {}, '_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] _config => [[maximum depth reached]] [protected] _instances => [ [maximum depth reached] ] [protected] _fallbacked => [ [maximum depth reached] ] [protected] _options => [ [maximum depth reached] ] } [protected] _modelFactories => [ 'Table' => [ (int) 0 => object(Cake\ORM\Locator\TableLocator) {}, (int) 1 => 'get' ] ] [protected] _modelType => 'Table' [protected] _viewBuilder => object(Cake\View\ViewBuilder) { [protected] _templatePath => null [protected] _template => null [protected] _plugin => null [protected] _theme => null [protected] _layout => 'pages' [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' => 'Companies', 'action' => 'detail', 'pass' => [ (int) 0 => '2194' ], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '?' => [ 'page' => '2' ], '_ext' => null ] [protected] data => [] [protected] query => [ 'page' => '2' ] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/usr/local/bin:/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.diarioempleo.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'DOCUMENT_ROOT' => '/home/empleosd/public_html', 'REMOTE_ADDR' => '54.81.33.119', 'REMOTE_PORT' => '38458', 'SERVER_ADDR' => '199.231.166.178', 'SERVER_NAME' => 'www.diarioempleo.com', 'SERVER_ADMIN' => 'webmaster@diarioempleo.com', 'SERVER_PORT' => '443', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/companies/detail/2194?page=2', 'REDIRECT_URL' => '/webroot/companies/detail/2194', 'REDIRECT_QUERY_STRING' => 'page=2', 'REDIRECT_REQUEST_METHOD' => 'GET', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'X_SPDY' => 'HTTP2', 'SSL_PROTOCOL' => 'TLSv1.3', 'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384', 'SSL_CIPHER_USEKEYSIZE' => '256', 'SSL_CIPHER_ALGKEYSIZE' => '256', 'SCRIPT_FILENAME' => '/home/empleosd/public_html/webroot/index.php', 'QUERY_STRING' => 'page=2', 'SCRIPT_URI' => 'https://www.diarioempleo.com/companies/detail/2194', 'SCRIPT_URL' => '/companies/detail/2194', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'X-LSCACHE' => 'on', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711625463.8558, 'REQUEST_TIME' => (int) 1711625463, 'argv' => [ (int) 0 => 'page=2' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'companies/detail/2194' [protected] base => '' [protected] webroot => '/' [protected] here => '/companies/detail/2194' [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, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.diarioempleo.com' [private] port => null [private] path => '/companies/detail/2194' [private] query => 'page=2' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 2678400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'Companies', 'action' => 'detail', 'pass' => [ (int) 0 => '2194' ], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '?' => [ 'page' => '2' ], '_ext' => null ] [protected] data => [] [protected] query => [ 'page' => '2' ] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/usr/local/bin:/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.diarioempleo.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'DOCUMENT_ROOT' => '/home/empleosd/public_html', 'REMOTE_ADDR' => '54.81.33.119', 'REMOTE_PORT' => '38458', 'SERVER_ADDR' => '199.231.166.178', 'SERVER_NAME' => 'www.diarioempleo.com', 'SERVER_ADMIN' => 'webmaster@diarioempleo.com', 'SERVER_PORT' => '443', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/companies/detail/2194?page=2', 'REDIRECT_URL' => '/webroot/companies/detail/2194', 'REDIRECT_QUERY_STRING' => 'page=2', 'REDIRECT_REQUEST_METHOD' => 'GET', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'X_SPDY' => 'HTTP2', 'SSL_PROTOCOL' => 'TLSv1.3', 'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384', 'SSL_CIPHER_USEKEYSIZE' => '256', 'SSL_CIPHER_ALGKEYSIZE' => '256', 'SCRIPT_FILENAME' => '/home/empleosd/public_html/webroot/index.php', 'QUERY_STRING' => 'page=2', 'SCRIPT_URI' => 'https://www.diarioempleo.com/companies/detail/2194', 'SCRIPT_URL' => '/companies/detail/2194', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'X-LSCACHE' => 'on', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711625463.8558, 'REQUEST_TIME' => (int) 1711625463, 'argv' => [ (int) 0 => 'page=2' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'companies/detail/2194' [protected] base => '' [protected] webroot => '/' [protected] here => '/companies/detail/2194' [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, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.diarioempleo.com' [private] port => null [private] path => '/companies/detail/2194' [private] query => 'page=2' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 2678400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 5 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
); |
|
} |
|
$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' => 'Companies', 'action' => 'detail', 'pass' => [ (int) 0 => '2194' ], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '?' => [ 'page' => '2' ], '_ext' => null ] [protected] data => [] [protected] query => [ 'page' => '2' ] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/usr/local/bin:/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.diarioempleo.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'DOCUMENT_ROOT' => '/home/empleosd/public_html', 'REMOTE_ADDR' => '54.81.33.119', 'REMOTE_PORT' => '38458', 'SERVER_ADDR' => '199.231.166.178', 'SERVER_NAME' => 'www.diarioempleo.com', 'SERVER_ADMIN' => 'webmaster@diarioempleo.com', 'SERVER_PORT' => '443', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/companies/detail/2194?page=2', 'REDIRECT_URL' => '/webroot/companies/detail/2194', 'REDIRECT_QUERY_STRING' => 'page=2', 'REDIRECT_REQUEST_METHOD' => 'GET', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'X_SPDY' => 'HTTP2', 'SSL_PROTOCOL' => 'TLSv1.3', 'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384', 'SSL_CIPHER_USEKEYSIZE' => '256', 'SSL_CIPHER_ALGKEYSIZE' => '256', 'SCRIPT_FILENAME' => '/home/empleosd/public_html/webroot/index.php', 'QUERY_STRING' => 'page=2', 'SCRIPT_URI' => 'https://www.diarioempleo.com/companies/detail/2194', 'SCRIPT_URL' => '/companies/detail/2194', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'X-LSCACHE' => 'on', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711625463.8558, 'REQUEST_TIME' => (int) 1711625463, 'argv' => [ (int) 0 => 'page=2' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'companies/detail/2194' [protected] base => '' [protected] webroot => '/' [protected] here => '/companies/detail/2194' [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, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.diarioempleo.com' [private] port => null [private] path => '/companies/detail/2194' [private] query => 'page=2' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 2678400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'Companies', 'action' => 'detail', 'pass' => [ (int) 0 => '2194' ], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '?' => [ 'page' => '2' ], '_ext' => null ] [protected] data => [] [protected] query => [ 'page' => '2' ] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/usr/local/bin:/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.diarioempleo.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'DOCUMENT_ROOT' => '/home/empleosd/public_html', 'REMOTE_ADDR' => '54.81.33.119', 'REMOTE_PORT' => '38458', 'SERVER_ADDR' => '199.231.166.178', 'SERVER_NAME' => 'www.diarioempleo.com', 'SERVER_ADMIN' => 'webmaster@diarioempleo.com', 'SERVER_PORT' => '443', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/companies/detail/2194?page=2', 'REDIRECT_URL' => '/webroot/companies/detail/2194', 'REDIRECT_QUERY_STRING' => 'page=2', 'REDIRECT_REQUEST_METHOD' => 'GET', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'X_SPDY' => 'HTTP2', 'SSL_PROTOCOL' => 'TLSv1.3', 'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384', 'SSL_CIPHER_USEKEYSIZE' => '256', 'SSL_CIPHER_ALGKEYSIZE' => '256', 'SCRIPT_FILENAME' => '/home/empleosd/public_html/webroot/index.php', 'QUERY_STRING' => 'page=2', 'SCRIPT_URI' => 'https://www.diarioempleo.com/companies/detail/2194', 'SCRIPT_URL' => '/companies/detail/2194', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'X-LSCACHE' => 'on', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711625463.8558, 'REQUEST_TIME' => (int) 1711625463, 'argv' => [ (int) 0 => 'page=2' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'companies/detail/2194' [protected] base => '' [protected] webroot => '/' [protected] here => '/companies/detail/2194' [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, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.diarioempleo.com' [private] port => null [private] path => '/companies/detail/2194' [private] query => 'page=2' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 2678400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 5 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
public function __invoke($request, $response, $next) |
|
{ |
|
$url = $request->getUri()->getPath(); |
|
if (strpos($url, '..') !== false || strpos($url, '.') === false) { |
|
return $next($request, $response); |
|
} |
|
|
|
if (strpos($url, '/.') !== false) { |
|
return $next($request, $response); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'page' => '2' ] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/usr/local/bin:/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.diarioempleo.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'DOCUMENT_ROOT' => '/home/empleosd/public_html', 'REMOTE_ADDR' => '54.81.33.119', 'REMOTE_PORT' => '38458', 'SERVER_ADDR' => '199.231.166.178', 'SERVER_NAME' => 'www.diarioempleo.com', 'SERVER_ADMIN' => 'webmaster@diarioempleo.com', 'SERVER_PORT' => '443', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/companies/detail/2194?page=2', 'REDIRECT_URL' => '/webroot/companies/detail/2194', 'REDIRECT_QUERY_STRING' => 'page=2', 'REDIRECT_REQUEST_METHOD' => 'GET', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'X_SPDY' => 'HTTP2', 'SSL_PROTOCOL' => 'TLSv1.3', 'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384', 'SSL_CIPHER_USEKEYSIZE' => '256', 'SSL_CIPHER_ALGKEYSIZE' => '256', 'SCRIPT_FILENAME' => '/home/empleosd/public_html/webroot/index.php', 'QUERY_STRING' => 'page=2', 'SCRIPT_URI' => 'https://www.diarioempleo.com/companies/detail/2194', 'SCRIPT_URL' => '/companies/detail/2194', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'X-LSCACHE' => 'on', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711625463.8558, 'REQUEST_TIME' => (int) 1711625463, 'argv' => [ (int) 0 => 'page=2' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'companies/detail/2194' [protected] base => '' [protected] webroot => '/' [protected] here => '/companies/detail/2194' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.diarioempleo.com' [private] port => null [private] path => '/companies/detail/2194' [private] query => 'page=2' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 2678400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'page' => '2' ] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/usr/local/bin:/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.diarioempleo.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'DOCUMENT_ROOT' => '/home/empleosd/public_html', 'REMOTE_ADDR' => '54.81.33.119', 'REMOTE_PORT' => '38458', 'SERVER_ADDR' => '199.231.166.178', 'SERVER_NAME' => 'www.diarioempleo.com', 'SERVER_ADMIN' => 'webmaster@diarioempleo.com', 'SERVER_PORT' => '443', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/companies/detail/2194?page=2', 'REDIRECT_URL' => '/webroot/companies/detail/2194', 'REDIRECT_QUERY_STRING' => 'page=2', 'REDIRECT_REQUEST_METHOD' => 'GET', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'X_SPDY' => 'HTTP2', 'SSL_PROTOCOL' => 'TLSv1.3', 'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384', 'SSL_CIPHER_USEKEYSIZE' => '256', 'SSL_CIPHER_ALGKEYSIZE' => '256', 'SCRIPT_FILENAME' => '/home/empleosd/public_html/webroot/index.php', 'QUERY_STRING' => 'page=2', 'SCRIPT_URI' => 'https://www.diarioempleo.com/companies/detail/2194', 'SCRIPT_URL' => '/companies/detail/2194', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'X-LSCACHE' => 'on', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711625463.8558, 'REQUEST_TIME' => (int) 1711625463, 'argv' => [ (int) 0 => 'page=2' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'companies/detail/2194' [protected] base => '' [protected] webroot => '/' [protected] here => '/companies/detail/2194' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.diarioempleo.com' [private] port => null [private] path => '/companies/detail/2194' [private] query => 'page=2' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 2678400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 5 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
*/ |
|
public function __invoke($request, $response, $next) |
|
{ |
|
try { |
|
return $next($request, $response); |
|
} catch (Throwable $exception) { |
|
return $this->handleException($exception, $request, $response); |
|
} catch (Exception $exception) { |
|
return $this->handleException($exception, $request, $response); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'page' => '2' ] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/usr/local/bin:/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.diarioempleo.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'DOCUMENT_ROOT' => '/home/empleosd/public_html', 'REMOTE_ADDR' => '54.81.33.119', 'REMOTE_PORT' => '38458', 'SERVER_ADDR' => '199.231.166.178', 'SERVER_NAME' => 'www.diarioempleo.com', 'SERVER_ADMIN' => 'webmaster@diarioempleo.com', 'SERVER_PORT' => '443', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/companies/detail/2194?page=2', 'REDIRECT_URL' => '/webroot/companies/detail/2194', 'REDIRECT_QUERY_STRING' => 'page=2', 'REDIRECT_REQUEST_METHOD' => 'GET', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'X_SPDY' => 'HTTP2', 'SSL_PROTOCOL' => 'TLSv1.3', 'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384', 'SSL_CIPHER_USEKEYSIZE' => '256', 'SSL_CIPHER_ALGKEYSIZE' => '256', 'SCRIPT_FILENAME' => '/home/empleosd/public_html/webroot/index.php', 'QUERY_STRING' => 'page=2', 'SCRIPT_URI' => 'https://www.diarioempleo.com/companies/detail/2194', 'SCRIPT_URL' => '/companies/detail/2194', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'X-LSCACHE' => 'on', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711625463.8558, 'REQUEST_TIME' => (int) 1711625463, 'argv' => [ (int) 0 => 'page=2' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'companies/detail/2194' [protected] base => '' [protected] webroot => '/' [protected] here => '/companies/detail/2194' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.diarioempleo.com' [private] port => null [private] path => '/companies/detail/2194' [private] query => 'page=2' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 2678400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'page' => '2' ] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/usr/local/bin:/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.diarioempleo.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'DOCUMENT_ROOT' => '/home/empleosd/public_html', 'REMOTE_ADDR' => '54.81.33.119', 'REMOTE_PORT' => '38458', 'SERVER_ADDR' => '199.231.166.178', 'SERVER_NAME' => 'www.diarioempleo.com', 'SERVER_ADMIN' => 'webmaster@diarioempleo.com', 'SERVER_PORT' => '443', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/companies/detail/2194?page=2', 'REDIRECT_URL' => '/webroot/companies/detail/2194', 'REDIRECT_QUERY_STRING' => 'page=2', 'REDIRECT_REQUEST_METHOD' => 'GET', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'X_SPDY' => 'HTTP2', 'SSL_PROTOCOL' => 'TLSv1.3', 'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384', 'SSL_CIPHER_USEKEYSIZE' => '256', 'SSL_CIPHER_ALGKEYSIZE' => '256', 'SCRIPT_FILENAME' => '/home/empleosd/public_html/webroot/index.php', 'QUERY_STRING' => 'page=2', 'SCRIPT_URI' => 'https://www.diarioempleo.com/companies/detail/2194', 'SCRIPT_URL' => '/companies/detail/2194', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'X-LSCACHE' => 'on', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711625463.8558, 'REQUEST_TIME' => (int) 1711625463, 'argv' => [ (int) 0 => 'page=2' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'companies/detail/2194' [protected] base => '' [protected] webroot => '/' [protected] here => '/companies/detail/2194' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.diarioempleo.com' [private] port => null [private] path => '/companies/detail/2194' [private] query => 'page=2' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 2678400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 5 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
public function __invoke($request, $response, $next) |
|
{ |
|
$this->service->loadPanels(); |
|
$this->service->initializePanels(); |
|
$response = $next($request, $response); |
|
$row = $this->service->saveData($request, $response); |
|
if (!$row) { |
|
return $response; |
|
} |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'page' => '2' ] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/usr/local/bin:/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.diarioempleo.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'DOCUMENT_ROOT' => '/home/empleosd/public_html', 'REMOTE_ADDR' => '54.81.33.119', 'REMOTE_PORT' => '38458', 'SERVER_ADDR' => '199.231.166.178', 'SERVER_NAME' => 'www.diarioempleo.com', 'SERVER_ADMIN' => 'webmaster@diarioempleo.com', 'SERVER_PORT' => '443', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/companies/detail/2194?page=2', 'REDIRECT_URL' => '/webroot/companies/detail/2194', 'REDIRECT_QUERY_STRING' => 'page=2', 'REDIRECT_REQUEST_METHOD' => 'GET', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'X_SPDY' => 'HTTP2', 'SSL_PROTOCOL' => 'TLSv1.3', 'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384', 'SSL_CIPHER_USEKEYSIZE' => '256', 'SSL_CIPHER_ALGKEYSIZE' => '256', 'SCRIPT_FILENAME' => '/home/empleosd/public_html/webroot/index.php', 'QUERY_STRING' => 'page=2', 'SCRIPT_URI' => 'https://www.diarioempleo.com/companies/detail/2194', 'SCRIPT_URL' => '/companies/detail/2194', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'X-LSCACHE' => 'on', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711625463.8558, 'REQUEST_TIME' => (int) 1711625463, 'argv' => [ (int) 0 => 'page=2' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'companies/detail/2194' [protected] base => '' [protected] webroot => '/' [protected] here => '/companies/detail/2194' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.diarioempleo.com' [private] port => null [private] path => '/companies/detail/2194' [private] query => 'page=2' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 2678400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'page' => '2' ] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/usr/local/bin:/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.diarioempleo.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'DOCUMENT_ROOT' => '/home/empleosd/public_html', 'REMOTE_ADDR' => '54.81.33.119', 'REMOTE_PORT' => '38458', 'SERVER_ADDR' => '199.231.166.178', 'SERVER_NAME' => 'www.diarioempleo.com', 'SERVER_ADMIN' => 'webmaster@diarioempleo.com', 'SERVER_PORT' => '443', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/companies/detail/2194?page=2', 'REDIRECT_URL' => '/webroot/companies/detail/2194', 'REDIRECT_QUERY_STRING' => 'page=2', 'REDIRECT_REQUEST_METHOD' => 'GET', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'X_SPDY' => 'HTTP2', 'SSL_PROTOCOL' => 'TLSv1.3', 'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384', 'SSL_CIPHER_USEKEYSIZE' => '256', 'SSL_CIPHER_ALGKEYSIZE' => '256', 'SCRIPT_FILENAME' => '/home/empleosd/public_html/webroot/index.php', 'QUERY_STRING' => 'page=2', 'SCRIPT_URI' => 'https://www.diarioempleo.com/companies/detail/2194', 'SCRIPT_URL' => '/companies/detail/2194', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'X-LSCACHE' => 'on', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711625463.8558, 'REQUEST_TIME' => (int) 1711625463, 'argv' => [ (int) 0 => 'page=2' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'companies/detail/2194' [protected] base => '' [protected] webroot => '/' [protected] here => '/companies/detail/2194' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.diarioempleo.com' [private] port => null [private] path => '/companies/detail/2194' [private] query => 'page=2' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 2678400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 5 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
{ |
|
$this->middleware = $middleware; |
|
$this->index = 0; |
|
|
|
return $this->__invoke($request, $response); |
|
} |
|
|
|
/** |
|
* @param \Psr\Http\Message\ServerRequestInterface $request The server request |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'page' => '2' ] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/usr/local/bin:/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.diarioempleo.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'DOCUMENT_ROOT' => '/home/empleosd/public_html', 'REMOTE_ADDR' => '54.81.33.119', 'REMOTE_PORT' => '38458', 'SERVER_ADDR' => '199.231.166.178', 'SERVER_NAME' => 'www.diarioempleo.com', 'SERVER_ADMIN' => 'webmaster@diarioempleo.com', 'SERVER_PORT' => '443', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/companies/detail/2194?page=2', 'REDIRECT_URL' => '/webroot/companies/detail/2194', 'REDIRECT_QUERY_STRING' => 'page=2', 'REDIRECT_REQUEST_METHOD' => 'GET', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'X_SPDY' => 'HTTP2', 'SSL_PROTOCOL' => 'TLSv1.3', 'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384', 'SSL_CIPHER_USEKEYSIZE' => '256', 'SSL_CIPHER_ALGKEYSIZE' => '256', 'SCRIPT_FILENAME' => '/home/empleosd/public_html/webroot/index.php', 'QUERY_STRING' => 'page=2', 'SCRIPT_URI' => 'https://www.diarioempleo.com/companies/detail/2194', 'SCRIPT_URL' => '/companies/detail/2194', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'X-LSCACHE' => 'on', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711625463.8558, 'REQUEST_TIME' => (int) 1711625463, 'argv' => [ (int) 0 => 'page=2' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'companies/detail/2194' [protected] base => '' [protected] webroot => '/' [protected] here => '/companies/detail/2194' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.diarioempleo.com' [private] port => null [private] path => '/companies/detail/2194' [private] query => 'page=2' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 2678400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
} |
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
$middleware->add($this->app); |
|
|
|
$response = $this->runner->run($middleware, $request, $response); |
|
|
|
if (!($response instanceof ResponseInterface)) { |
|
throw new RuntimeException(sprintf( |
|
'Application did not create a response. Got "%s" instead.', |
object(Cake\Http\MiddlewareQueue) { [protected] queue => [ (int) 0 => object(DebugKit\Middleware\DebugKitMiddleware) {}, (int) 1 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 2 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 3 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 4 => object(App\Application) {} ] [protected] callables => [ (int) 0 => object(DebugKit\Middleware\DebugKitMiddleware) {}, (int) 1 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 2 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 3 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 4 => object(App\Application) {} ] } object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'page' => '2' ] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/usr/local/bin:/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.diarioempleo.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'DOCUMENT_ROOT' => '/home/empleosd/public_html', 'REMOTE_ADDR' => '54.81.33.119', 'REMOTE_PORT' => '38458', 'SERVER_ADDR' => '199.231.166.178', 'SERVER_NAME' => 'www.diarioempleo.com', 'SERVER_ADMIN' => 'webmaster@diarioempleo.com', 'SERVER_PORT' => '443', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/companies/detail/2194?page=2', 'REDIRECT_URL' => '/webroot/companies/detail/2194', 'REDIRECT_QUERY_STRING' => 'page=2', 'REDIRECT_REQUEST_METHOD' => 'GET', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'X_SPDY' => 'HTTP2', 'SSL_PROTOCOL' => 'TLSv1.3', 'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384', 'SSL_CIPHER_USEKEYSIZE' => '256', 'SSL_CIPHER_ALGKEYSIZE' => '256', 'SCRIPT_FILENAME' => '/home/empleosd/public_html/webroot/index.php', 'QUERY_STRING' => 'page=2', 'SCRIPT_URI' => 'https://www.diarioempleo.com/companies/detail/2194', 'SCRIPT_URL' => '/companies/detail/2194', 'SCRIPT_NAME' => '/webroot/index.php', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'SERVER_SOFTWARE' => 'LiteSpeed', 'REQUEST_METHOD' => 'GET', 'X-LSCACHE' => 'on', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711625463.8558, 'REQUEST_TIME' => (int) 1711625463, 'argv' => [ (int) 0 => 'page=2' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'companies/detail/2194' [protected] base => '' [protected] webroot => '/' [protected] here => '/companies/detail/2194' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.diarioempleo.com' [private] port => null [private] path => '/companies/detail/2194' [private] query => 'page=2' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 2678400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
// Bind your application to the server. |
|
$server = new Server(new Application(dirname(__DIR__) . '/config')); |
|
|
|
// Run the request/response through the application and emit the response. |
|
$server->emit($server->run()); |
|
|
No arguments
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