* Potentially performs a sniffing step before returning |
|
*/ |
|
public function getConnection(): ConnectionInterface |
|
{ |
|
return $this->connectionPool->nextConnection(); |
|
} |
|
|
|
/** |
|
* Perform a request to the Cluster |
No arguments
*/ |
|
public function performRequest(string $method, string $uri, array $params = null, $body = null, array $options = []): FutureArrayInterface |
|
{ |
|
try { |
|
$connection = $this->getConnection(); |
|
} catch (Exceptions\NoNodesAvailableException $exception) { |
|
$this->log->critical('No alive nodes found in cluster'); |
|
throw $exception; |
|
} |
No arguments
|
|
$this->log->warning("Retries left? $shouldRetryText"); |
|
if ($shouldRetry && !$neverRetry) { |
|
return $transport->performRequest( |
|
$request['http_method'], |
|
$request['uri'], |
|
[], |
|
$request['body'], |
|
$options |
'POST' '/plr_datas2020/diffusions/_search?from=0&size=50&sort=d%3Adesc' [] '{"query":{"match":{"r":173}}}' []
return $this; |
|
} |
|
|
|
try { |
|
return resolve($onFulfilled($this->value)); |
|
} catch (\Throwable $exception) { |
|
return new RejectedPromise($exception); |
|
} catch (\Exception $exception) { |
|
return new RejectedPromise($exception); |
[ 'transfer_stats' => [ 'url' => 'http://localhost/plr_datas2020/diffusions/_search?from=0&size=50&sort=d%3Adesc', 'content_type' => null, 'http_code' => (int) 0, 'header_size' => (int) 0, 'request_size' => (int) 0, 'filetime' => (int) -1, 'ssl_verify_result' => (int) 0, 'redirect_count' => (int) 0, 'total_time' => (float) 0.004263, 'namelookup_time' => (float) 0.004104, 'connect_time' => (float) 0, 'pretransfer_time' => (float) 0, 'size_upload' => (float) 0, 'size_download' => (float) 0, 'speed_download' => (float) 0, 'speed_upload' => (float) 0, 'download_content_length' => (float) -1, 'upload_content_length' => (float) -1, 'starttransfer_time' => (float) 0, 'redirect_time' => (float) 0, 'redirect_url' => '', 'primary_ip' => '127.0.0.1', 'certinfo' => [], 'primary_port' => (int) 9200, 'local_ip' => '', 'local_port' => (int) 0, 'error' => 'Failed connect to localhost:9200; Connection refused', 'errno' => (int) 7 ], 'curl' => [ 'error' => 'Failed connect to localhost:9200; Connection refused', 'errno' => (int) 7 ], 'effective_url' => 'http://localhost/plr_datas2020/diffusions/_search?from=0&size=50&sort=d%3Adesc', 'status' => null, 'reason' => null, 'body' => null, 'headers' => [], 'error' => object(GuzzleHttp\Ring\Exception\ConnectException) { [protected] message => 'cURL error 7: Failed connect to localhost:9200; Connection refused' [protected] code => (int) 0 [protected] file => '/plrstorage/www/playlisteradio.com/www/2020/vendor/guzzlehttp/ringphp/src/Client/CurlFactory.php' [protected] line => (int) 126 } ]
callable $onFulfilled = null, |
|
callable $onRejected = null, |
|
callable $onProgress = null |
|
) { |
|
return $this->promise()->then($onFulfilled, $onRejected, $onProgress); |
|
} |
|
} |
|
|
object(Closure) { } null null
callable $onRejected = null, |
|
callable $onProgress = null |
|
) { |
|
return new FutureArray( |
|
$future->then($onFulfilled, $onRejected, $onProgress), |
|
[$future, 'wait'], |
|
[$future, 'cancel'] |
|
); |
|
} |
object(Closure) { } null null
} |
|
$this->logRequestSuccess($request, $response); |
|
|
|
return isset($request['client']['verbose']) && $request['client']['verbose'] === true ? $response : $response['body']; |
|
}); |
|
|
|
return $response; |
|
}; |
|
} |
object(GuzzleHttp\Ring\Future\CompletedFutureArray) { [protected] result => [ 'transfer_stats' => [ 'url' => 'http://localhost/plr_datas2020/diffusions/_search?from=0&size=50&sort=d%3Adesc', 'content_type' => null, 'http_code' => (int) 0, 'header_size' => (int) 0, 'request_size' => (int) 0, 'filetime' => (int) -1, 'ssl_verify_result' => (int) 0, 'redirect_count' => (int) 0, 'total_time' => (float) 0.004263, 'namelookup_time' => (float) 0.004104, 'connect_time' => (float) 0, 'pretransfer_time' => (float) 0, 'size_upload' => (float) 0, 'size_download' => (float) 0, 'speed_download' => (float) 0, 'speed_upload' => (float) 0, 'download_content_length' => (float) -1, 'upload_content_length' => (float) -1, 'starttransfer_time' => (float) 0, 'redirect_time' => (float) 0, 'redirect_url' => '', 'primary_ip' => '127.0.0.1', 'certinfo' => [[maximum depth reached]], 'primary_port' => (int) 9200, 'local_ip' => '', 'local_port' => (int) 0, 'error' => 'Failed connect to localhost:9200; Connection refused', 'errno' => (int) 7 ], 'curl' => [ 'error' => 'Failed connect to localhost:9200; Connection refused', 'errno' => (int) 7 ], 'effective_url' => 'http://localhost/plr_datas2020/diffusions/_search?from=0&size=50&sort=d%3Adesc', 'status' => null, 'reason' => null, 'body' => null, 'headers' => [], 'error' => object(GuzzleHttp\Ring\Exception\ConnectException) {} ] [protected] error => null } object(Closure) { }
unset($request['client']); |
|
} |
|
|
|
$handler = $this->handler; |
|
$future = $handler($request, $this, $transport, $options); |
|
|
|
return $future; |
|
} |
|
|
[ 'http_method' => 'POST', 'scheme' => 'http', 'uri' => '/plr_datas2020/diffusions/_search?from=0&size=50&sort=d%3Adesc', 'body' => '{"query":{"match":{"r":173}}}', 'headers' => [ 'Host' => [ (int) 0 => 'localhost' ], 'Content-Type' => [ (int) 0 => 'application/json' ], 'Accept' => [ (int) 0 => 'application/json' ], 'User-Agent' => [ (int) 0 => 'elasticsearch-php/7.5.0 (Linux 3.10.0-1160.45.1.el7.x86_64; PHP 7.3.32)' ] ], 'client' => [ 'curl' => [ (int) 3 => (int) 9200 ] ] ] object(Elasticsearch\Connections\Connection) { [protected] handler => object(Closure) { } [protected] serializer => object(Elasticsearch\Serializers\SmartSerializer) { } [protected] transportSchema => 'http' [protected] host => 'localhost' [protected] path => null [protected] port => (int) 9200 [protected] log => object(Psr\Log\NullLogger) { } [protected] trace => object(Psr\Log\NullLogger) { } [protected] connectionParams => [ 'client' => [ 'curl' => [ [maximum depth reached] ] ] ] [protected] headers => [ 'Content-Type' => [ (int) 0 => 'application/json' ], 'Accept' => [ (int) 0 => 'application/json' ], 'User-Agent' => [ (int) 0 => 'elasticsearch-php/7.5.0 (Linux 3.10.0-1160.45.1.el7.x86_64; PHP 7.3.32)' ] ] [protected] isAlive => false [private] pingTimeout => (int) 1 [private] lastPing => (int) 1711648383 [private] failedPings => (int) 1 [private] lastRequest => [ 'request' => [ 'http_method' => 'POST', 'scheme' => 'http', 'uri' => '/plr_datas2020/diffusions/_search?from=0&size=50&sort=d%3Adesc', 'body' => '{"query":{"match":{"r":173}}}', 'headers' => [ [maximum depth reached] ], 'client' => [ [maximum depth reached] ] ], 'response' => [ 'transfer_stats' => [ [maximum depth reached] ], 'curl' => [ [maximum depth reached] ], 'effective_url' => 'http://localhost/plr_datas2020/diffusions/_search?from=0&size=50&sort=d%3Adesc', 'status' => null, 'reason' => null, 'body' => null, 'headers' => [[maximum depth reached]], 'error' => object(GuzzleHttp\Ring\Exception\ConnectException) {} ] ] [private] OSVersion => '3.10.0-1160.45.1.el7.x86_64' } object(Elasticsearch\Transport) { connectionPool => object(Elasticsearch\ConnectionPool\StaticNoPingConnectionPool) { [protected] connections => [ [maximum depth reached] ] [protected] seedConnections => [ [maximum depth reached] ] [protected] selector => object(Elasticsearch\ConnectionPool\Selectors\RoundRobinSelector) {} [protected] connectionPoolParams => [ [maximum depth reached] ] [protected] connectionFactory => object(Elasticsearch\Connections\ConnectionFactory) {} [private] pingTimeout => (int) 60 [private] maxPingTimeout => (int) 3600 } retryAttempts => (int) 1 lastConnection => object(Elasticsearch\Connections\Connection) { [protected] handler => object(Closure) {} [protected] serializer => object(Elasticsearch\Serializers\SmartSerializer) {} [protected] transportSchema => 'http' [protected] host => 'localhost' [protected] path => null [protected] port => (int) 9200 [protected] log => object(Psr\Log\NullLogger) {} [protected] trace => object(Psr\Log\NullLogger) {} [protected] connectionParams => [ [maximum depth reached] ] [protected] headers => [ [maximum depth reached] ] [protected] isAlive => false [private] pingTimeout => (int) 1 [private] lastPing => (int) 1711648383 [private] failedPings => (int) 1 [private] lastRequest => [ [maximum depth reached] ] [private] OSVersion => '3.10.0-1160.45.1.el7.x86_64' } retries => (int) 1 [private] log => object(Psr\Log\NullLogger) { } } []
$caughtException = null; |
|
$this->lastConnection = $connection; |
|
|
|
$future = $connection->performRequest( |
|
$method, |
|
$uri, |
|
$params, |
|
$body, |
|
$options, |
'POST' '/plr_datas2020/diffusions/_search' [ 'from' => (int) 0, 'size' => (int) 50, 'sort' => 'd:desc' ] '{"query":{"match":{"r":173}}}' [] object(Elasticsearch\Transport) { connectionPool => object(Elasticsearch\ConnectionPool\StaticNoPingConnectionPool) { [protected] connections => [ [maximum depth reached] ] [protected] seedConnections => [ [maximum depth reached] ] [protected] selector => object(Elasticsearch\ConnectionPool\Selectors\RoundRobinSelector) {} [protected] connectionPoolParams => [ [maximum depth reached] ] [protected] connectionFactory => object(Elasticsearch\Connections\ConnectionFactory) {} [private] pingTimeout => (int) 60 [private] maxPingTimeout => (int) 3600 } retryAttempts => (int) 1 lastConnection => object(Elasticsearch\Connections\Connection) { [protected] handler => object(Closure) {} [protected] serializer => object(Elasticsearch\Serializers\SmartSerializer) {} [protected] transportSchema => 'http' [protected] host => 'localhost' [protected] path => null [protected] port => (int) 9200 [protected] log => object(Psr\Log\NullLogger) {} [protected] trace => object(Psr\Log\NullLogger) {} [protected] connectionParams => [ [maximum depth reached] ] [protected] headers => [ [maximum depth reached] ] [protected] isAlive => false [private] pingTimeout => (int) 1 [private] lastPing => (int) 1711648383 [private] failedPings => (int) 1 [private] lastRequest => [ [maximum depth reached] ] [private] OSVersion => '3.10.0-1160.45.1.el7.x86_64' } retries => (int) 1 [private] log => object(Psr\Log\NullLogger) { } }
$endpoint->getMethod(), |
|
$endpoint->getURI(), |
|
$endpoint->getParams(), |
|
$endpoint->getBody(), |
|
$endpoint->getOptions() |
|
); |
|
|
|
return $this->transport->resultOrFuture($promise, $endpoint->getOptions()); |
|
} |
'POST' '/plr_datas2020/diffusions/_search' [ 'from' => (int) 0, 'size' => (int) 50, 'sort' => 'd:desc' ] [ 'query' => [ 'match' => [ 'r' => (int) 173 ] ] ] []
$endpoint->setIndex($index); |
|
$endpoint->setType($type); |
|
$endpoint->setBody($body); |
|
|
|
return $this->performRequest($endpoint); |
|
} |
|
/** |
|
* $params['index'] = (list) A comma-separated list of index names to search; use `_all` or empty string to perform the operation on all indices |
|
* $params['preference'] = (string) Specify the node or shard the operation should be performed on (default: random) |
object(Elasticsearch\Endpoints\Search) { [protected] params => [ 'from' => (int) 0, 'size' => (int) 50, 'sort' => 'd:desc' ] [protected] index => 'plr_datas2020' [protected] type => 'diffusions' [protected] id => null [protected] method => null [protected] body => [ 'query' => [ 'match' => [ [maximum depth reached] ] ] ] [protected] serializer => null }
'type' => $this->es['type'],
|
|
'from' => (int)$from,
|
|
'size' => (int)$size,
|
|
'sort' => ['d:desc'],
|
|
'body' => $body
|
|
]);
|
|
|
|
if ($size == 1)
|
|
return isset($res['hits']['hits']['0']['_source'])?$res['hits']['hits']['0']['_source']:false;
|
[ 'from' => (int) 0, 'size' => (int) 50, 'sort' => [ (int) 0 => 'd:desc' ] ]
}
|
|
$radio = $res->first();
|
|
|
|
|
|
$lasts = $this->Elastic->getRadioLastTitle($radio->id, 0, 50);
|
|
|
|
$dateFrom = date('c', strtotime(date('Y-m-d 00:00:00', time() - (86400 * 7))));
|
|
$dateTo = date('c', strtotime(date('Y-m-d 00:00:00', time())));
|
|
$top = $this->Elastic->getRadioTop(
|
(int) 173 (int) 0 (int) 50
} |
|
/** @var callable $callable */ |
|
$callable = [$this, $request->getParam('action')]; |
|
|
|
$result = $callable(...array_values($request->getParam('pass'))); |
|
if ($result instanceof Response) { |
|
$this->response = $result; |
|
} |
|
|
'mixxfm'
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\RadioController) { components => [ 'Elastic' => null ] 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 => 'radio/mixxfm' [protected] base => '' [protected] webroot => '/' [protected] here => '/radio/mixxfm' [protected] trustedProxies => [[maximum depth reached]] [protected] _input => null [protected] _detectors => [ [maximum depth reached] ] [protected] _detectorCache => [ [maximum depth reached] ] [protected] stream => object(Zend\Diactoros\PhpInputStream) {} [protected] uri => object(Zend\Diactoros\Uri) {} [protected] session => object(Cake\Http\Session) {} [protected] attributes => [[maximum depth reached]] [protected] emulatedAttributes => [ [maximum depth reached] ] [protected] uploadedFiles => [[maximum depth reached]] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ [maximum depth reached] ] } response => object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ [maximum depth reached] ], 'file' => null, 'fileRange' => [[maximum depth reached]], 'cookies' => object(Cake\Http\Cookie\CookieCollection) {}, 'cacheDirectives' => [[maximum depth reached]], 'body' => '' } paginate => [] View => null passedArgs => [ (int) 0 => 'mixxfm' ] modelClass => 'Radio' viewClass => null viewVars => [] RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } Flash => object(Cake\Controller\Component\FlashComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [ [maximum depth reached] ] } Elastic => object(App\Controller\Component\ElasticComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } Radios => object(App\Model\Table\RadiosTable) { 'registryAlias' => 'Radios', 'table' => 'radios', 'alias' => 'Radios', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [ [maximum depth reached] ], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } [protected] name => 'Radio' [protected] _responseClass => 'Cake\Http\Response' [protected] autoRender => true [protected] _components => object(Cake\Controller\ComponentRegistry) { '_Controller' => object(App\Controller\RadioController) {}, '_loaded' => [ [maximum depth reached] ], '_eventManager' => object(Cake\Event\EventManager) {}, '_eventClass' => 'Cake\Event\Event' } [protected] _validViewOptions => [ (int) 0 => 'passedArgs' ] [protected] plugin => null [protected] _eventManager => object(Cake\Event\EventManager) { '_listeners' => [ [maximum depth reached] ], '_isGlobal' => false, '_trackEvents' => false, '_generalManager' => '(object) EventManager', '_dispatchedEvents' => null } [protected] _eventClass => 'Cake\Event\Event' [protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) { [protected] locations => [ [maximum depth reached] ] [protected] _config => [[maximum depth reached]] [protected] _instances => [ [maximum depth reached] ] [protected] _fallbacked => [[maximum depth reached]] [protected] _options => [ [maximum depth reached] ] } [protected] _modelFactories => [ 'Table' => [ (int) 0 => object(Cake\ORM\Locator\TableLocator) {}, (int) 1 => 'get' ] ] [protected] _modelType => 'Table' [protected] _viewBuilder => null }
* @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 => [ 'radioalias' => 'mixxfm', 'pass' => [ (int) 0 => 'mixxfm' ], 'controller' => 'Radio', 'action' => 'display', 'plugin' => null, '_matchedRoute' => '/radio/:radioalias', '_ext' => null, '_csrfToken' => 'bd3417ab4cebd73ee015e1e9625110ee4e146ba445dcdbeff75bea6ea0644fbda31be012fcd5de2963bb9c96861aa36f408340e00d7d45abe2eb77aaa142d4cb' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_UNIQUE_ID' => 'ZgWufkmCWYV8k6lSf-tW7QAAAAE', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgWufkmCWYV8k6lSf-tW7QAAAAE', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'www.freeshareinfo.com', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.3.32', 'SERVER_NAME' => 'www.freeshareinfo.com', 'SERVER_ADDR' => '51.83.12.236', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '44.200.74.73', 'DOCUMENT_ROOT' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/index.php', 'REMOTE_PORT' => '38410', 'REDIRECT_URL' => '/radio/mixxfm', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/radio/mixxfm', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711648382.9866, 'REQUEST_TIME' => (int) 1711648382, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'radio/mixxfm' [protected] base => '' [protected] webroot => '/' [protected] here => '/radio/mixxfm' [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 => 'http' [private] userInfo => '' [private] host => 'www.freeshareinfo.com' [private] port => null [private] path => '/radio/mixxfm' [private] query => '' [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")' ] ] } 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 => [ 'radioalias' => 'mixxfm', 'pass' => [ (int) 0 => 'mixxfm' ], 'controller' => 'Radio', 'action' => 'display', 'plugin' => null, '_matchedRoute' => '/radio/:radioalias', '_ext' => null, '_csrfToken' => 'bd3417ab4cebd73ee015e1e9625110ee4e146ba445dcdbeff75bea6ea0644fbda31be012fcd5de2963bb9c96861aa36f408340e00d7d45abe2eb77aaa142d4cb' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_UNIQUE_ID' => 'ZgWufkmCWYV8k6lSf-tW7QAAAAE', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgWufkmCWYV8k6lSf-tW7QAAAAE', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'www.freeshareinfo.com', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.3.32', 'SERVER_NAME' => 'www.freeshareinfo.com', 'SERVER_ADDR' => '51.83.12.236', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '44.200.74.73', 'DOCUMENT_ROOT' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/index.php', 'REMOTE_PORT' => '38410', 'REDIRECT_URL' => '/radio/mixxfm', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/radio/mixxfm', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711648382.9866, 'REQUEST_TIME' => (int) 1711648382, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'radio/mixxfm' [protected] base => '' [protected] webroot => '/' [protected] here => '/radio/mixxfm' [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 => 'http' [private] userInfo => '' [private] host => 'www.freeshareinfo.com' [private] port => null [private] path => '/radio/mixxfm' [private] query => '' [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")' ] ] } 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) 4 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'radioalias' => 'mixxfm', 'pass' => [ (int) 0 => 'mixxfm' ], 'controller' => 'Radio', 'action' => 'display', 'plugin' => null, '_matchedRoute' => '/radio/:radioalias', '_ext' => null, '_csrfToken' => 'bd3417ab4cebd73ee015e1e9625110ee4e146ba445dcdbeff75bea6ea0644fbda31be012fcd5de2963bb9c96861aa36f408340e00d7d45abe2eb77aaa142d4cb' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_UNIQUE_ID' => 'ZgWufkmCWYV8k6lSf-tW7QAAAAE', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgWufkmCWYV8k6lSf-tW7QAAAAE', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'www.freeshareinfo.com', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.3.32', 'SERVER_NAME' => 'www.freeshareinfo.com', 'SERVER_ADDR' => '51.83.12.236', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '44.200.74.73', 'DOCUMENT_ROOT' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/index.php', 'REMOTE_PORT' => '38410', 'REDIRECT_URL' => '/radio/mixxfm', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/radio/mixxfm', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711648382.9866, 'REQUEST_TIME' => (int) 1711648382, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'radio/mixxfm' [protected] base => '' [protected] webroot => '/' [protected] here => '/radio/mixxfm' [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 => 'http' [private] userInfo => '' [private] host => 'www.freeshareinfo.com' [private] port => null [private] path => '/radio/mixxfm' [private] query => '' [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")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 2 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
$token = $this->_createToken(); |
|
$request = $this->_addTokenToRequest($token, $request); |
|
$response = $this->_addTokenCookie($token, $request, $response); |
|
|
|
return $next($request, $response); |
|
} |
|
$request = $this->_validateAndUnsetTokenField($request); |
|
|
|
return $next($request, $response); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'radioalias' => 'mixxfm', 'pass' => [ (int) 0 => 'mixxfm' ], 'controller' => 'Radio', 'action' => 'display', 'plugin' => null, '_matchedRoute' => '/radio/:radioalias', '_ext' => null, '_csrfToken' => 'bd3417ab4cebd73ee015e1e9625110ee4e146ba445dcdbeff75bea6ea0644fbda31be012fcd5de2963bb9c96861aa36f408340e00d7d45abe2eb77aaa142d4cb' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_UNIQUE_ID' => 'ZgWufkmCWYV8k6lSf-tW7QAAAAE', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgWufkmCWYV8k6lSf-tW7QAAAAE', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'www.freeshareinfo.com', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.3.32', 'SERVER_NAME' => 'www.freeshareinfo.com', 'SERVER_ADDR' => '51.83.12.236', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '44.200.74.73', 'DOCUMENT_ROOT' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/index.php', 'REMOTE_PORT' => '38410', 'REDIRECT_URL' => '/radio/mixxfm', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/radio/mixxfm', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711648382.9866, 'REQUEST_TIME' => (int) 1711648382, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'radio/mixxfm' [protected] base => '' [protected] webroot => '/' [protected] here => '/radio/mixxfm' [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 => 'http' [private] userInfo => '' [private] host => 'www.freeshareinfo.com' [private] port => null [private] path => '/radio/mixxfm' [private] query => '' [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")' ] ] } 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 => [ 'radioalias' => 'mixxfm', 'pass' => [ (int) 0 => 'mixxfm' ], 'controller' => 'Radio', 'action' => 'display', 'plugin' => null, '_matchedRoute' => '/radio/:radioalias', '_ext' => null, '_csrfToken' => 'bd3417ab4cebd73ee015e1e9625110ee4e146ba445dcdbeff75bea6ea0644fbda31be012fcd5de2963bb9c96861aa36f408340e00d7d45abe2eb77aaa142d4cb' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_UNIQUE_ID' => 'ZgWufkmCWYV8k6lSf-tW7QAAAAE', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgWufkmCWYV8k6lSf-tW7QAAAAE', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'www.freeshareinfo.com', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.3.32', 'SERVER_NAME' => 'www.freeshareinfo.com', 'SERVER_ADDR' => '51.83.12.236', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '44.200.74.73', 'DOCUMENT_ROOT' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/index.php', 'REMOTE_PORT' => '38410', 'REDIRECT_URL' => '/radio/mixxfm', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/radio/mixxfm', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711648382.9866, 'REQUEST_TIME' => (int) 1711648382, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'radio/mixxfm' [protected] base => '' [protected] webroot => '/' [protected] here => '/radio/mixxfm' [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 => 'http' [private] userInfo => '' [private] host => 'www.freeshareinfo.com' [private] port => null [private] path => '/radio/mixxfm' [private] query => '' [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")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 2 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
{ |
|
$this->middleware = $middleware; |
|
$this->index = 0; |
|
|
|
return $this->__invoke($request, $response); |
|
} |
|
|
|
/** |
|
* @param \Psr\Http\Message\ServerRequestInterface $request The server request |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'radioalias' => 'mixxfm', 'pass' => [ (int) 0 => 'mixxfm' ], 'controller' => 'Radio', 'action' => 'display', 'plugin' => null, '_matchedRoute' => '/radio/:radioalias', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_UNIQUE_ID' => 'ZgWufkmCWYV8k6lSf-tW7QAAAAE', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgWufkmCWYV8k6lSf-tW7QAAAAE', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'www.freeshareinfo.com', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.3.32', 'SERVER_NAME' => 'www.freeshareinfo.com', 'SERVER_ADDR' => '51.83.12.236', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '44.200.74.73', 'DOCUMENT_ROOT' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/index.php', 'REMOTE_PORT' => '38410', 'REDIRECT_URL' => '/radio/mixxfm', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/radio/mixxfm', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711648382.9866, 'REQUEST_TIME' => (int) 1711648382, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'radio/mixxfm' [protected] base => '' [protected] webroot => '/' [protected] here => '/radio/mixxfm' [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 => 'http' [private] userInfo => '' [private] host => 'www.freeshareinfo.com' [private] port => null [private] path => '/radio/mixxfm' [private] query => '' [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")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$matching[] = $next; |
|
$middleware = new MiddlewareQueue($matching); |
|
$runner = new Runner(); |
|
|
|
return $runner->run($middleware, $request, $response); |
|
} |
|
} |
|
|
object(Cake\Http\MiddlewareQueue) { [protected] queue => [ (int) 0 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) {}, (int) 1 => object(Cake\Http\Runner) {} ] [protected] callables => [ (int) 0 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) {}, (int) 1 => object(Cake\Http\Runner) {} ] } object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'radioalias' => 'mixxfm', 'pass' => [ (int) 0 => 'mixxfm' ], 'controller' => 'Radio', 'action' => 'display', 'plugin' => null, '_matchedRoute' => '/radio/:radioalias', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_UNIQUE_ID' => 'ZgWufkmCWYV8k6lSf-tW7QAAAAE', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgWufkmCWYV8k6lSf-tW7QAAAAE', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'www.freeshareinfo.com', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.3.32', 'SERVER_NAME' => 'www.freeshareinfo.com', 'SERVER_ADDR' => '51.83.12.236', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '44.200.74.73', 'DOCUMENT_ROOT' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/index.php', 'REMOTE_PORT' => '38410', 'REDIRECT_URL' => '/radio/mixxfm', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/radio/mixxfm', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711648382.9866, 'REQUEST_TIME' => (int) 1711648382, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'radio/mixxfm' [protected] base => '' [protected] webroot => '/' [protected] here => '/radio/mixxfm' [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 => 'http' [private] userInfo => '' [private] host => 'www.freeshareinfo.com' [private] port => null [private] path => '/radio/mixxfm' [private] query => '' [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")' ] ] } 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 => [ 'radioalias' => 'mixxfm', 'pass' => [ (int) 0 => 'mixxfm' ], 'controller' => 'Radio', 'action' => 'display', 'plugin' => null, '_matchedRoute' => '/radio/:radioalias', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_UNIQUE_ID' => 'ZgWufkmCWYV8k6lSf-tW7QAAAAE', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgWufkmCWYV8k6lSf-tW7QAAAAE', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'www.freeshareinfo.com', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.3.32', 'SERVER_NAME' => 'www.freeshareinfo.com', 'SERVER_ADDR' => '51.83.12.236', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '44.200.74.73', 'DOCUMENT_ROOT' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/index.php', 'REMOTE_PORT' => '38410', 'REDIRECT_URL' => '/radio/mixxfm', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/radio/mixxfm', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711648382.9866, 'REQUEST_TIME' => (int) 1711648382, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'radio/mixxfm' [protected] base => '' [protected] webroot => '/' [protected] here => '/radio/mixxfm' [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 => 'http' [private] userInfo => '' [private] host => 'www.freeshareinfo.com' [private] port => null [private] path => '/radio/mixxfm' [private] query => '' [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")' ] ] } 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) 4 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
public function __invoke($request, $response, $next) |
|
{ |
|
$url = $request->getUri()->getPath(); |
|
if (strpos($url, '..') !== false || strpos($url, '.') === false) { |
|
return $next($request, $response); |
|
} |
|
|
|
if (strpos($url, '/.') !== false) { |
|
return $next($request, $response); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_UNIQUE_ID' => 'ZgWufkmCWYV8k6lSf-tW7QAAAAE', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgWufkmCWYV8k6lSf-tW7QAAAAE', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'www.freeshareinfo.com', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.3.32', 'SERVER_NAME' => 'www.freeshareinfo.com', 'SERVER_ADDR' => '51.83.12.236', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '44.200.74.73', 'DOCUMENT_ROOT' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/index.php', 'REMOTE_PORT' => '38410', 'REDIRECT_URL' => '/radio/mixxfm', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/radio/mixxfm', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711648382.9866, 'REQUEST_TIME' => (int) 1711648382, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'radio/mixxfm' [protected] base => '' [protected] webroot => '/' [protected] here => '/radio/mixxfm' [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 => 'http' [private] userInfo => '' [private] host => 'www.freeshareinfo.com' [private] port => null [private] path => '/radio/mixxfm' [private] query => '' [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")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_UNIQUE_ID' => 'ZgWufkmCWYV8k6lSf-tW7QAAAAE', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgWufkmCWYV8k6lSf-tW7QAAAAE', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'www.freeshareinfo.com', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.3.32', 'SERVER_NAME' => 'www.freeshareinfo.com', 'SERVER_ADDR' => '51.83.12.236', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '44.200.74.73', 'DOCUMENT_ROOT' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/index.php', 'REMOTE_PORT' => '38410', 'REDIRECT_URL' => '/radio/mixxfm', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/radio/mixxfm', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711648382.9866, 'REQUEST_TIME' => (int) 1711648382, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'radio/mixxfm' [protected] base => '' [protected] webroot => '/' [protected] here => '/radio/mixxfm' [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 => 'http' [private] userInfo => '' [private] host => 'www.freeshareinfo.com' [private] port => null [private] path => '/radio/mixxfm' [private] query => '' [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")' ] ] } 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) 4 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
*/ |
|
public function __invoke($request, $response, $next) |
|
{ |
|
try { |
|
return $next($request, $response); |
|
} catch (Throwable $exception) { |
|
return $this->handleException($exception, $request, $response); |
|
} catch (Exception $exception) { |
|
return $this->handleException($exception, $request, $response); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_UNIQUE_ID' => 'ZgWufkmCWYV8k6lSf-tW7QAAAAE', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgWufkmCWYV8k6lSf-tW7QAAAAE', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'www.freeshareinfo.com', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.3.32', 'SERVER_NAME' => 'www.freeshareinfo.com', 'SERVER_ADDR' => '51.83.12.236', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '44.200.74.73', 'DOCUMENT_ROOT' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/index.php', 'REMOTE_PORT' => '38410', 'REDIRECT_URL' => '/radio/mixxfm', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/radio/mixxfm', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711648382.9866, 'REQUEST_TIME' => (int) 1711648382, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'radio/mixxfm' [protected] base => '' [protected] webroot => '/' [protected] here => '/radio/mixxfm' [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 => 'http' [private] userInfo => '' [private] host => 'www.freeshareinfo.com' [private] port => null [private] path => '/radio/mixxfm' [private] query => '' [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")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_UNIQUE_ID' => 'ZgWufkmCWYV8k6lSf-tW7QAAAAE', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgWufkmCWYV8k6lSf-tW7QAAAAE', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'www.freeshareinfo.com', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.3.32', 'SERVER_NAME' => 'www.freeshareinfo.com', 'SERVER_ADDR' => '51.83.12.236', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '44.200.74.73', 'DOCUMENT_ROOT' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/index.php', 'REMOTE_PORT' => '38410', 'REDIRECT_URL' => '/radio/mixxfm', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/radio/mixxfm', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711648382.9866, 'REQUEST_TIME' => (int) 1711648382, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'radio/mixxfm' [protected] base => '' [protected] webroot => '/' [protected] here => '/radio/mixxfm' [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 => 'http' [private] userInfo => '' [private] host => 'www.freeshareinfo.com' [private] port => null [private] path => '/radio/mixxfm' [private] query => '' [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")' ] ] } 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) 4 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
{ |
|
$this->middleware = $middleware; |
|
$this->index = 0; |
|
|
|
return $this->__invoke($request, $response); |
|
} |
|
|
|
/** |
|
* @param \Psr\Http\Message\ServerRequestInterface $request The server request |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_UNIQUE_ID' => 'ZgWufkmCWYV8k6lSf-tW7QAAAAE', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgWufkmCWYV8k6lSf-tW7QAAAAE', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'www.freeshareinfo.com', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.3.32', 'SERVER_NAME' => 'www.freeshareinfo.com', 'SERVER_ADDR' => '51.83.12.236', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '44.200.74.73', 'DOCUMENT_ROOT' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/index.php', 'REMOTE_PORT' => '38410', 'REDIRECT_URL' => '/radio/mixxfm', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/radio/mixxfm', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711648382.9866, 'REQUEST_TIME' => (int) 1711648382, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'radio/mixxfm' [protected] base => '' [protected] webroot => '/' [protected] here => '/radio/mixxfm' [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 => 'http' [private] userInfo => '' [private] host => 'www.freeshareinfo.com' [private] port => null [private] path => '/radio/mixxfm' [private] query => '' [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")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
} |
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
$middleware->add($this->app); |
|
|
|
$response = $this->runner->run($middleware, $request, $response); |
|
|
|
if (!($response instanceof ResponseInterface)) { |
|
throw new RuntimeException(sprintf( |
|
'Application did not create a response. Got "%s" instead.', |
object(Cake\Http\MiddlewareQueue) { [protected] queue => [ (int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 3 => object(App\Application) {} ] [protected] callables => [ (int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 3 => object(App\Application) {} ] } object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_UNIQUE_ID' => 'ZgWufkmCWYV8k6lSf-tW7QAAAAE', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgWufkmCWYV8k6lSf-tW7QAAAAE', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'www.freeshareinfo.com', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.3.32', 'SERVER_NAME' => 'www.freeshareinfo.com', 'SERVER_ADDR' => '51.83.12.236', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '44.200.74.73', 'DOCUMENT_ROOT' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/plrstorage/www/playlisteradio.com/www/2020/webroot/index.php', 'REMOTE_PORT' => '38410', 'REDIRECT_URL' => '/radio/mixxfm', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/radio/mixxfm', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711648382.9866, 'REQUEST_TIME' => (int) 1711648382, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'radio/mixxfm' [protected] base => '' [protected] webroot => '/' [protected] here => '/radio/mixxfm' [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 => 'http' [private] userInfo => '' [private] host => 'www.freeshareinfo.com' [private] port => null [private] path => '/radio/mixxfm' [private] query => '' [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")' ] ] } 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