if (!static::$initialized) { |
|
static::_loadRoutes(); |
|
} |
|
|
|
return static::$_collection->parseRequest($request); |
|
} |
|
|
|
/** |
|
* Takes parameter and path information back from the Dispatcher, sets these |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'view' => 'article', 'catid' => '61:1390-10-01-08-45-34', 'id' => '449:1393-09-15-15-22-36', 'tmpl' => 'component', 'print' => '1', 'layout' => 'default', 'page' => '', 'option' => 'com_content', 'Itemid' => '76' ] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/usr/local/bin:/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.socialsciences.ir', 'HTTP_USER_AGENT' => 'claudebot', 'DOCUMENT_ROOT' => '/home/socialsciences/public_html', 'REMOTE_ADDR' => '34.201.8.144', 'REMOTE_PORT' => '46594', 'SERVER_ADDR' => '185.211.59.7', 'SERVER_NAME' => 'www.socialsciences.ir', 'SERVER_ADMIN' => 'webmaster@socialsciences.ir', 'SERVER_PORT' => '80', 'REQUEST_SCHEME' => 'http', 'REQUEST_URI' => '/index.php?view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76', 'REDIRECT_URL' => '/index.php', 'REDIRECT_QUERY_STRING' => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76', 'REDIRECT_REQUEST_METHOD' => 'GET', 'REDIRECT_STATUS' => '200', 'SCRIPT_FILENAME' => '/home/socialsciences/public_html/webroot/index.php', 'QUERY_STRING' => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76', 'SCRIPT_URI' => 'http://www.socialsciences.ir/index.php', 'SCRIPT_URL' => '/index.php', '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) 1711711736.9049, 'REQUEST_TIME' => (int) 1711711736, 'argv' => [ (int) 0 => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'iew=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' [protected] base => '' [protected] webroot => '/' [protected] here => '/iew=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'www.socialsciences.ir' [private] port => null [private] path => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' [private] query => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false }
$parsedBody = $request->getParsedBody(); |
|
if (is_array($parsedBody) && isset($parsedBody['_method'])) { |
|
$request = $request->withMethod($parsedBody['_method']); |
|
} |
|
$params = Router::parseRequest($request) + $params; |
|
if (isset($params['_middleware'])) { |
|
$middleware = $params['_middleware']; |
|
unset($params['_middleware']); |
|
} |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'view' => 'article', 'catid' => '61:1390-10-01-08-45-34', 'id' => '449:1393-09-15-15-22-36', 'tmpl' => 'component', 'print' => '1', 'layout' => 'default', 'page' => '', 'option' => 'com_content', 'Itemid' => '76' ] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/usr/local/bin:/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.socialsciences.ir', 'HTTP_USER_AGENT' => 'claudebot', 'DOCUMENT_ROOT' => '/home/socialsciences/public_html', 'REMOTE_ADDR' => '34.201.8.144', 'REMOTE_PORT' => '46594', 'SERVER_ADDR' => '185.211.59.7', 'SERVER_NAME' => 'www.socialsciences.ir', 'SERVER_ADMIN' => 'webmaster@socialsciences.ir', 'SERVER_PORT' => '80', 'REQUEST_SCHEME' => 'http', 'REQUEST_URI' => '/index.php?view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76', 'REDIRECT_URL' => '/index.php', 'REDIRECT_QUERY_STRING' => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76', 'REDIRECT_REQUEST_METHOD' => 'GET', 'REDIRECT_STATUS' => '200', 'SCRIPT_FILENAME' => '/home/socialsciences/public_html/webroot/index.php', 'QUERY_STRING' => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76', 'SCRIPT_URI' => 'http://www.socialsciences.ir/index.php', 'SCRIPT_URL' => '/index.php', '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) 1711711736.9049, 'REQUEST_TIME' => (int) 1711711736, 'argv' => [ (int) 0 => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'iew=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' [protected] base => '' [protected] webroot => '/' [protected] here => '/iew=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'www.socialsciences.ir' [private] port => null [private] path => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' [private] query => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false }
$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 => [ 'view' => 'article', 'catid' => '61:1390-10-01-08-45-34', 'id' => '449:1393-09-15-15-22-36', 'tmpl' => 'component', 'print' => '1', 'layout' => 'default', 'page' => '', 'option' => 'com_content', 'Itemid' => '76' ] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/usr/local/bin:/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.socialsciences.ir', 'HTTP_USER_AGENT' => 'claudebot', 'DOCUMENT_ROOT' => '/home/socialsciences/public_html', 'REMOTE_ADDR' => '34.201.8.144', 'REMOTE_PORT' => '46594', 'SERVER_ADDR' => '185.211.59.7', 'SERVER_NAME' => 'www.socialsciences.ir', 'SERVER_ADMIN' => 'webmaster@socialsciences.ir', 'SERVER_PORT' => '80', 'REQUEST_SCHEME' => 'http', 'REQUEST_URI' => '/index.php?view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76', 'REDIRECT_URL' => '/index.php', 'REDIRECT_QUERY_STRING' => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76', 'REDIRECT_REQUEST_METHOD' => 'GET', 'REDIRECT_STATUS' => '200', 'SCRIPT_FILENAME' => '/home/socialsciences/public_html/webroot/index.php', 'QUERY_STRING' => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76', 'SCRIPT_URI' => 'http://www.socialsciences.ir/index.php', 'SCRIPT_URL' => '/index.php', '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) 1711711736.9049, 'REQUEST_TIME' => (int) 1711711736, 'argv' => [ (int) 0 => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'iew=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' [protected] base => '' [protected] webroot => '/' [protected] here => '/iew=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'www.socialsciences.ir' [private] port => null [private] path => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' [private] query => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 3 [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 => [ 'view' => 'article', 'catid' => '61:1390-10-01-08-45-34', 'id' => '449:1393-09-15-15-22-36', 'tmpl' => 'component', 'print' => '1', 'layout' => 'default', 'page' => '', 'option' => 'com_content', 'Itemid' => '76' ] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/usr/local/bin:/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.socialsciences.ir', 'HTTP_USER_AGENT' => 'claudebot', 'DOCUMENT_ROOT' => '/home/socialsciences/public_html', 'REMOTE_ADDR' => '34.201.8.144', 'REMOTE_PORT' => '46594', 'SERVER_ADDR' => '185.211.59.7', 'SERVER_NAME' => 'www.socialsciences.ir', 'SERVER_ADMIN' => 'webmaster@socialsciences.ir', 'SERVER_PORT' => '80', 'REQUEST_SCHEME' => 'http', 'REQUEST_URI' => '/index.php?view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76', 'REDIRECT_URL' => '/index.php', 'REDIRECT_QUERY_STRING' => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76', 'REDIRECT_REQUEST_METHOD' => 'GET', 'REDIRECT_STATUS' => '200', 'SCRIPT_FILENAME' => '/home/socialsciences/public_html/webroot/index.php', 'QUERY_STRING' => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76', 'SCRIPT_URI' => 'http://www.socialsciences.ir/index.php', 'SCRIPT_URL' => '/index.php', '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) 1711711736.9049, 'REQUEST_TIME' => (int) 1711711736, 'argv' => [ (int) 0 => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'iew=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' [protected] base => '' [protected] webroot => '/' [protected] here => '/iew=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'www.socialsciences.ir' [private] port => null [private] path => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' [private] query => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'view' => 'article', 'catid' => '61:1390-10-01-08-45-34', 'id' => '449:1393-09-15-15-22-36', 'tmpl' => 'component', 'print' => '1', 'layout' => 'default', 'page' => '', 'option' => 'com_content', 'Itemid' => '76' ] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/usr/local/bin:/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.socialsciences.ir', 'HTTP_USER_AGENT' => 'claudebot', 'DOCUMENT_ROOT' => '/home/socialsciences/public_html', 'REMOTE_ADDR' => '34.201.8.144', 'REMOTE_PORT' => '46594', 'SERVER_ADDR' => '185.211.59.7', 'SERVER_NAME' => 'www.socialsciences.ir', 'SERVER_ADMIN' => 'webmaster@socialsciences.ir', 'SERVER_PORT' => '80', 'REQUEST_SCHEME' => 'http', 'REQUEST_URI' => '/index.php?view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76', 'REDIRECT_URL' => '/index.php', 'REDIRECT_QUERY_STRING' => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76', 'REDIRECT_REQUEST_METHOD' => 'GET', 'REDIRECT_STATUS' => '200', 'SCRIPT_FILENAME' => '/home/socialsciences/public_html/webroot/index.php', 'QUERY_STRING' => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76', 'SCRIPT_URI' => 'http://www.socialsciences.ir/index.php', 'SCRIPT_URL' => '/index.php', '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) 1711711736.9049, 'REQUEST_TIME' => (int) 1711711736, 'argv' => [ (int) 0 => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'iew=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' [protected] base => '' [protected] webroot => '/' [protected] here => '/iew=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'www.socialsciences.ir' [private] port => null [private] path => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' [private] query => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 3 [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 => [ 'view' => 'article', 'catid' => '61:1390-10-01-08-45-34', 'id' => '449:1393-09-15-15-22-36', 'tmpl' => 'component', 'print' => '1', 'layout' => 'default', 'page' => '', 'option' => 'com_content', 'Itemid' => '76' ] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/usr/local/bin:/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.socialsciences.ir', 'HTTP_USER_AGENT' => 'claudebot', 'DOCUMENT_ROOT' => '/home/socialsciences/public_html', 'REMOTE_ADDR' => '34.201.8.144', 'REMOTE_PORT' => '46594', 'SERVER_ADDR' => '185.211.59.7', 'SERVER_NAME' => 'www.socialsciences.ir', 'SERVER_ADMIN' => 'webmaster@socialsciences.ir', 'SERVER_PORT' => '80', 'REQUEST_SCHEME' => 'http', 'REQUEST_URI' => '/index.php?view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76', 'REDIRECT_URL' => '/index.php', 'REDIRECT_QUERY_STRING' => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76', 'REDIRECT_REQUEST_METHOD' => 'GET', 'REDIRECT_STATUS' => '200', 'SCRIPT_FILENAME' => '/home/socialsciences/public_html/webroot/index.php', 'QUERY_STRING' => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76', 'SCRIPT_URI' => 'http://www.socialsciences.ir/index.php', 'SCRIPT_URL' => '/index.php', '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) 1711711736.9049, 'REQUEST_TIME' => (int) 1711711736, 'argv' => [ (int) 0 => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'iew=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' [protected] base => '' [protected] webroot => '/' [protected] here => '/iew=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'www.socialsciences.ir' [private] port => null [private] path => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' [private] query => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'view' => 'article', 'catid' => '61:1390-10-01-08-45-34', 'id' => '449:1393-09-15-15-22-36', 'tmpl' => 'component', 'print' => '1', 'layout' => 'default', 'page' => '', 'option' => 'com_content', 'Itemid' => '76' ] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/usr/local/bin:/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.socialsciences.ir', 'HTTP_USER_AGENT' => 'claudebot', 'DOCUMENT_ROOT' => '/home/socialsciences/public_html', 'REMOTE_ADDR' => '34.201.8.144', 'REMOTE_PORT' => '46594', 'SERVER_ADDR' => '185.211.59.7', 'SERVER_NAME' => 'www.socialsciences.ir', 'SERVER_ADMIN' => 'webmaster@socialsciences.ir', 'SERVER_PORT' => '80', 'REQUEST_SCHEME' => 'http', 'REQUEST_URI' => '/index.php?view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76', 'REDIRECT_URL' => '/index.php', 'REDIRECT_QUERY_STRING' => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76', 'REDIRECT_REQUEST_METHOD' => 'GET', 'REDIRECT_STATUS' => '200', 'SCRIPT_FILENAME' => '/home/socialsciences/public_html/webroot/index.php', 'QUERY_STRING' => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76', 'SCRIPT_URI' => 'http://www.socialsciences.ir/index.php', 'SCRIPT_URL' => '/index.php', '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) 1711711736.9049, 'REQUEST_TIME' => (int) 1711711736, 'argv' => [ (int) 0 => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'iew=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' [protected] base => '' [protected] webroot => '/' [protected] here => '/iew=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'www.socialsciences.ir' [private] port => null [private] path => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' [private] query => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 3 [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 => [ 'view' => 'article', 'catid' => '61:1390-10-01-08-45-34', 'id' => '449:1393-09-15-15-22-36', 'tmpl' => 'component', 'print' => '1', 'layout' => 'default', 'page' => '', 'option' => 'com_content', 'Itemid' => '76' ] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/usr/local/bin:/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.socialsciences.ir', 'HTTP_USER_AGENT' => 'claudebot', 'DOCUMENT_ROOT' => '/home/socialsciences/public_html', 'REMOTE_ADDR' => '34.201.8.144', 'REMOTE_PORT' => '46594', 'SERVER_ADDR' => '185.211.59.7', 'SERVER_NAME' => 'www.socialsciences.ir', 'SERVER_ADMIN' => 'webmaster@socialsciences.ir', 'SERVER_PORT' => '80', 'REQUEST_SCHEME' => 'http', 'REQUEST_URI' => '/index.php?view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76', 'REDIRECT_URL' => '/index.php', 'REDIRECT_QUERY_STRING' => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76', 'REDIRECT_REQUEST_METHOD' => 'GET', 'REDIRECT_STATUS' => '200', 'SCRIPT_FILENAME' => '/home/socialsciences/public_html/webroot/index.php', 'QUERY_STRING' => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76', 'SCRIPT_URI' => 'http://www.socialsciences.ir/index.php', 'SCRIPT_URL' => '/index.php', '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) 1711711736.9049, 'REQUEST_TIME' => (int) 1711711736, 'argv' => [ (int) 0 => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'iew=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' [protected] base => '' [protected] webroot => '/' [protected] here => '/iew=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'www.socialsciences.ir' [private] port => null [private] path => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' [private] query => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
} |
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
$middleware->add($this->app); |
|
|
|
$response = $this->runner->run($middleware, $request, $response); |
|
|
|
if (!($response instanceof ResponseInterface)) { |
|
throw new RuntimeException(sprintf( |
|
'Application did not create a response. Got "%s" instead.', |
object(Cake\Http\MiddlewareQueue) { [protected] queue => [ (int) 0 => 'Cake\Error\Middleware\ErrorHandlerMiddleware', (int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 3 => object(App\Application) {} ] [protected] callables => [ (int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {} ] } object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'view' => 'article', 'catid' => '61:1390-10-01-08-45-34', 'id' => '449:1393-09-15-15-22-36', 'tmpl' => 'component', 'print' => '1', 'layout' => 'default', 'page' => '', 'option' => 'com_content', 'Itemid' => '76' ] [protected] cookies => [] [protected] _environment => [ 'PATH' => '/usr/local/bin:/bin:/usr/bin', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.socialsciences.ir', 'HTTP_USER_AGENT' => 'claudebot', 'DOCUMENT_ROOT' => '/home/socialsciences/public_html', 'REMOTE_ADDR' => '34.201.8.144', 'REMOTE_PORT' => '46594', 'SERVER_ADDR' => '185.211.59.7', 'SERVER_NAME' => 'www.socialsciences.ir', 'SERVER_ADMIN' => 'webmaster@socialsciences.ir', 'SERVER_PORT' => '80', 'REQUEST_SCHEME' => 'http', 'REQUEST_URI' => '/index.php?view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76', 'REDIRECT_URL' => '/index.php', 'REDIRECT_QUERY_STRING' => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76', 'REDIRECT_REQUEST_METHOD' => 'GET', 'REDIRECT_STATUS' => '200', 'SCRIPT_FILENAME' => '/home/socialsciences/public_html/webroot/index.php', 'QUERY_STRING' => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76', 'SCRIPT_URI' => 'http://www.socialsciences.ir/index.php', 'SCRIPT_URL' => '/index.php', '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) 1711711736.9049, 'REQUEST_TIME' => (int) 1711711736, 'argv' => [ (int) 0 => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' ], 'argc' => (int) 1, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'iew=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' [protected] base => '' [protected] webroot => '/' [protected] here => '/iew=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'www.socialsciences.ir' [private] port => null [private] path => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' [private] query => 'view=article&catid=61%3A1390-10-01-08-45-34&id=449%3A1393-09-15-15-22-36&tmpl=component&print=1&layout=default&page=&option=com_content&Itemid=76' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
// Bind your application to the server. |
|
$server = new Server(new Application(dirname(__DIR__) . '/config')); |
|
|
|
// Run the request/response through the application and emit the response. |
|
$server->emit($server->run()); |
|
|
No arguments
If you want to customize this error message, create src/Template/Error/error500.ctp