Error SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'LIMIT 1' at line 1
$connection = $this->_driver->getConnection(); |
|
|
|
try { |
|
$connection->setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, $this->_bufferResults); |
|
$result = $this->_statement->execute($params); |
|
} finally { |
|
$connection->setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, true); |
|
} |
|
|
$connection = $this->_driver->getConnection(); |
|
|
|
try { |
|
$connection->setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, $this->_bufferResults); |
|
$result = $this->_statement->execute($params); |
|
} finally { |
|
$connection->setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, true); |
|
} |
|
|
null
public function query(string $sql): StatementInterface |
|
{ |
|
return $this->getDisconnectRetry()->run(function () use ($sql) { |
|
$statement = $this->prepare($sql); |
|
$statement->execute(); |
|
|
|
return $statement; |
|
}); |
|
} |
No arguments
$lastException = null; |
|
|
|
do { |
|
try { |
|
return $action(); |
|
} catch (Exception $e) { |
|
$lastException = $e; |
|
if (!$this->strategy->shouldRetry($e, $retryCount)) { |
|
throw $e; |
No arguments
$statement = $this->prepare($sql); |
|
$statement->execute(); |
|
|
|
return $statement; |
|
}); |
|
} |
|
|
|
/** |
|
* Create a new Query instance for this connection. |
object(Closure) { }
$statement = $this->prepare($query); |
|
$statement->bind($params, $types); |
|
$statement->execute(); |
|
} else { |
|
$statement = $this->query($query); |
|
} |
|
|
|
return $statement; |
|
}); |
'SELECT available_posts FROM users WHERE id = LIMIT 1 '
$lastException = null; |
|
|
|
do { |
|
try { |
|
return $action(); |
|
} catch (Exception $e) { |
|
$lastException = $e; |
|
if (!$this->strategy->shouldRetry($e, $retryCount)) { |
|
throw $e; |
No arguments
$statement = $this->query($query); |
|
} |
|
|
|
return $statement; |
|
}); |
|
} |
|
|
|
/** |
|
* Compiles a Query object into a SQL string according to the dialect for this |
object(Closure) { }
$totalposts = $conn->execute("SELECT id FROM posts where author='$authorUserName'"); |
|
$number_total = $totalposts->rowCount(); |
|
$this->set(compact('number_total')); |
|
|
|
$stmt = $conn->execute("SELECT available_posts FROM users WHERE id =$userID LIMIT 1 "); |
|
$data = $stmt ->fetchAll('assoc'); |
|
$total_avl_posts = $data[0]['available_posts']; |
|
$this->set(compact('total_avl_posts')); |
|
|
'SELECT available_posts FROM users WHERE id = LIMIT 1 '
* @throws \UnexpectedValueException If return value of action is not `null` or `ResponseInterface` instance. |
|
*/ |
|
public function invokeAction(Closure $action, array $args): void |
|
{ |
|
$result = $action(...$args); |
|
if ($result !== null && !$result instanceof ResponseInterface) { |
|
throw new UnexpectedValueException(sprintf( |
|
'Controller actions can only return ResponseInterface instance or null. ' |
|
. 'Got %s instead.', |
No arguments
} |
|
|
|
$action = $controller->getAction(); |
|
$args = array_values($controller->getRequest()->getParam('pass')); |
|
$controller->invokeAction($action, $args); |
|
|
|
$result = $controller->shutdownProcess(); |
|
if ($result instanceof ResponseInterface) { |
|
return $result; |
object(Closure) { } []
} |
|
|
|
$controller = $this->controllerFactory->create($request); |
|
|
|
return $this->controllerFactory->invoke($controller); |
|
} |
|
} |
|
|
object(App\Controller\UserController) { paginate => [] Categories => object(Cake\ORM\Table) { 'registryAlias' => 'Categories', 'table' => 'categories', 'alias' => 'Categories', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [[maximum depth reached]], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } Posts => object(Cake\ORM\Table) { 'registryAlias' => 'Posts', 'table' => 'posts', 'alias' => 'Posts', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [[maximum depth reached]], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } Pages => object(Cake\ORM\Table) { 'registryAlias' => 'Pages', 'table' => 'pages', 'alias' => 'Pages', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [[maximum depth reached]], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } Flash => object(Cake\Controller\Component\FlashComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [ [maximum depth reached] ] } Paginator => object(Cake\Controller\Component\PaginatorComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [ [maximum depth reached] ] } [protected] name => 'User' [protected] 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] base => '' [protected] webroot => '/' [protected] trustedProxies => [[maximum depth reached]] [protected] _input => null [protected] _detectors => [ [maximum depth reached] ] [protected] _detectorCache => [[maximum depth reached]] [protected] stream => object(Laminas\Diactoros\PhpInputStream) {} [protected] uri => object(Laminas\Diactoros\Uri) {} [protected] session => object(Cake\Http\Session) {} [protected] attributes => [ [maximum depth reached] ] [protected] emulatedAttributes => [ [maximum depth reached] ] [protected] uploadedFiles => [[maximum depth reached]] [protected] protocol => null [protected] requestTarget => null [protected] mergeFilesAsObjects => true } [protected] 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' => '' } [protected] _responseClass => 'Cake\Http\Response' [protected] autoRender => true [protected] _components => object(Cake\Controller\ComponentRegistry) { '_Controller' => object(App\Controller\UserController) {}, '_loaded' => [ [maximum depth reached] ], '_eventManager' => object(Cake\Event\EventManager) {}, '_eventClass' => 'Cake\Event\Event' } [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] modelClass => 'User' [protected] _modelFactories => [ 'Table' => [ (int) 0 => object(Cake\ORM\Locator\TableLocator) {}, (int) 1 => 'get' ] ] [protected] _modelType => 'Table' [protected] _viewBuilder => object(Cake\View\ViewBuilder) { [protected] _templatePath => null [protected] _template => null [protected] _plugin => null [protected] _theme => null [protected] _layout => null [protected] _autoLayout => true [protected] _layoutPath => null [protected] _name => null [protected] _className => null [protected] _options => [[maximum depth reached]] [protected] _helpers => [[maximum depth reached]] [protected] _vars => [ [maximum depth reached] ] } }
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
|
} |
|
|
|
$response = new Response([ |
|
'body' => 'Middleware queue was exhausted without returning a response ' |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'pass' => [], 'controller' => 'User', 'action' => 'addPost', 'plugin' => null, '_matchedRoute' => '/user/add-post', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'LSPHP_ENABLE_USER_INI' => 'on', 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'TEMP' => '/tmp', 'TMP' => '/tmp', 'TMPDIR' => '/tmp', 'PWD' => '/', 'HTTP_ACCEPT' => '*/*', 'CONTENT_LENGTH' => '0', 'HTTP_HOST' => 'hellobiz.in', 'HTTP_USER_AGENT' => 'claudebot', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/user/add-post', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'REDIRECT_REDIRECT_USER_ID' => '9525420', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'REDIRECT_SCRIPT_URL' => '/user/add-post', 'REDIRECT_SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'REDIRECT_USER_ID' => '9525420', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'SCRIPT_URL' => '/user/add-post', 'SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'USER_ID' => '9525420', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'hellobiz.in', 'SERVER_ADDR' => '68.178.156.243', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '34.203.242.200', 'DOCUMENT_ROOT' => '/home/qqz5st31l8s2/public_html/hellobiz.in', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home/qqz5st31l8s2/public_html/hellobiz.in', 'SERVER_ADMIN' => 'webmaster@hellobiz.mk8.815.mywebsitetransfer.com', 'SCRIPT_FILENAME' => '/home/qqz5st31l8s2/public_html/hellobiz.in/webroot/index.php', 'REMOTE_PORT' => '44334', 'REDIRECT_URL' => '/webroot/user/add-post', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/user/add-post', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711627361.2591, 'REQUEST_TIME' => (int) 1711627361, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] base => '' [protected] webroot => '/' [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' ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'hellobiz.in' [private] port => null [private] path => '/user/add-post' [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 => [ 'csrfToken' => 'f0c99057b87e41face77ceb5363a2fca1b5f93991c3a05ead1b14568ed46fe26933ae4565599a3b7f007d2ed6cbf8bfa4176c3e5fb6d053a87223c10f505f35a' ] [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 [protected] mergeFilesAsObjects => true }
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
|
} |
|
|
|
$response = new Response([ |
|
'body' => 'Middleware queue was exhausted without returning a response ' |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'pass' => [], 'controller' => 'User', 'action' => 'addPost', 'plugin' => null, '_matchedRoute' => '/user/add-post', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'LSPHP_ENABLE_USER_INI' => 'on', 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'TEMP' => '/tmp', 'TMP' => '/tmp', 'TMPDIR' => '/tmp', 'PWD' => '/', 'HTTP_ACCEPT' => '*/*', 'CONTENT_LENGTH' => '0', 'HTTP_HOST' => 'hellobiz.in', 'HTTP_USER_AGENT' => 'claudebot', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/user/add-post', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'REDIRECT_REDIRECT_USER_ID' => '9525420', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'REDIRECT_SCRIPT_URL' => '/user/add-post', 'REDIRECT_SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'REDIRECT_USER_ID' => '9525420', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'SCRIPT_URL' => '/user/add-post', 'SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'USER_ID' => '9525420', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'hellobiz.in', 'SERVER_ADDR' => '68.178.156.243', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '34.203.242.200', 'DOCUMENT_ROOT' => '/home/qqz5st31l8s2/public_html/hellobiz.in', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home/qqz5st31l8s2/public_html/hellobiz.in', 'SERVER_ADMIN' => 'webmaster@hellobiz.mk8.815.mywebsitetransfer.com', 'SCRIPT_FILENAME' => '/home/qqz5st31l8s2/public_html/hellobiz.in/webroot/index.php', 'REMOTE_PORT' => '44334', 'REDIRECT_URL' => '/webroot/user/add-post', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/user/add-post', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711627361.2591, 'REQUEST_TIME' => (int) 1711627361, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] base => '' [protected] webroot => '/' [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' ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'hellobiz.in' [private] port => null [private] path => '/user/add-post' [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 => [ 'csrfToken' => 'f0c99057b87e41face77ceb5363a2fca1b5f93991c3a05ead1b14568ed46fe26933ae4565599a3b7f007d2ed6cbf8bfa4176c3e5fb6d053a87223c10f505f35a' ] [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 [protected] mergeFilesAsObjects => true }
if ($method === 'GET' && $cookieData === null) { |
|
$token = $this->_createToken(); |
|
$request = $request->withAttribute('csrfToken', $token); |
|
/** @var mixed $response */ |
|
$response = $handler->handle($request); |
|
|
|
return $this->_addTokenCookie($token, $request, $response); |
|
} |
|
|
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'pass' => [], 'controller' => 'User', 'action' => 'addPost', 'plugin' => null, '_matchedRoute' => '/user/add-post', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'LSPHP_ENABLE_USER_INI' => 'on', 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'TEMP' => '/tmp', 'TMP' => '/tmp', 'TMPDIR' => '/tmp', 'PWD' => '/', 'HTTP_ACCEPT' => '*/*', 'CONTENT_LENGTH' => '0', 'HTTP_HOST' => 'hellobiz.in', 'HTTP_USER_AGENT' => 'claudebot', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/user/add-post', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'REDIRECT_REDIRECT_USER_ID' => '9525420', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'REDIRECT_SCRIPT_URL' => '/user/add-post', 'REDIRECT_SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'REDIRECT_USER_ID' => '9525420', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'SCRIPT_URL' => '/user/add-post', 'SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'USER_ID' => '9525420', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'hellobiz.in', 'SERVER_ADDR' => '68.178.156.243', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '34.203.242.200', 'DOCUMENT_ROOT' => '/home/qqz5st31l8s2/public_html/hellobiz.in', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home/qqz5st31l8s2/public_html/hellobiz.in', 'SERVER_ADMIN' => 'webmaster@hellobiz.mk8.815.mywebsitetransfer.com', 'SCRIPT_FILENAME' => '/home/qqz5st31l8s2/public_html/hellobiz.in/webroot/index.php', 'REMOTE_PORT' => '44334', 'REDIRECT_URL' => '/webroot/user/add-post', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/user/add-post', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711627361.2591, 'REQUEST_TIME' => (int) 1711627361, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] base => '' [protected] webroot => '/' [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' ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'hellobiz.in' [private] port => null [private] path => '/user/add-post' [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 => [ 'csrfToken' => 'f0c99057b87e41face77ceb5363a2fca1b5f93991c3a05ead1b14568ed46fe26933ae4565599a3b7f007d2ed6cbf8bfa4176c3e5fb6d053a87223c10f505f35a' ] [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 [protected] mergeFilesAsObjects => true }
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'pass' => [], 'controller' => 'User', 'action' => 'addPost', 'plugin' => null, '_matchedRoute' => '/user/add-post', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'LSPHP_ENABLE_USER_INI' => 'on', 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'TEMP' => '/tmp', 'TMP' => '/tmp', 'TMPDIR' => '/tmp', 'PWD' => '/', 'HTTP_ACCEPT' => '*/*', 'CONTENT_LENGTH' => '0', 'HTTP_HOST' => 'hellobiz.in', 'HTTP_USER_AGENT' => 'claudebot', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/user/add-post', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'REDIRECT_REDIRECT_USER_ID' => '9525420', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'REDIRECT_SCRIPT_URL' => '/user/add-post', 'REDIRECT_SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'REDIRECT_USER_ID' => '9525420', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'SCRIPT_URL' => '/user/add-post', 'SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'USER_ID' => '9525420', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'hellobiz.in', 'SERVER_ADDR' => '68.178.156.243', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '34.203.242.200', 'DOCUMENT_ROOT' => '/home/qqz5st31l8s2/public_html/hellobiz.in', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home/qqz5st31l8s2/public_html/hellobiz.in', 'SERVER_ADMIN' => 'webmaster@hellobiz.mk8.815.mywebsitetransfer.com', 'SCRIPT_FILENAME' => '/home/qqz5st31l8s2/public_html/hellobiz.in/webroot/index.php', 'REMOTE_PORT' => '44334', 'REDIRECT_URL' => '/webroot/user/add-post', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/user/add-post', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711627361.2591, 'REQUEST_TIME' => (int) 1711627361, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] base => '' [protected] webroot => '/' [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' ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'hellobiz.in' [private] port => null [private] path => '/user/add-post' [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 => [ 'csrfToken' => 'f0c99057b87e41face77ceb5363a2fca1b5f93991c3a05ead1b14568ed46fe26933ae4565599a3b7f007d2ed6cbf8bfa4176c3e5fb6d053a87223c10f505f35a' ] [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 [protected] mergeFilesAsObjects => true } object(Cake\Http\Runner) { [protected] queue => object(Cake\Http\MiddlewareQueue) { [protected] position => (int) 1 [protected] queue => [ [maximum depth reached] ] } [protected] fallbackHandler => object(Cake\Http\Runner) { [protected] queue => object(Cake\Http\MiddlewareQueue) {} [protected] fallbackHandler => object(App\Application) {} } }
$this->queue = $queue; |
|
$this->queue->rewind(); |
|
$this->fallbackHandler = $fallbackHandler; |
|
|
|
return $this->handle($request); |
|
} |
|
|
|
/** |
|
* Handle incoming server request and return a response. |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'pass' => [], 'controller' => 'User', 'action' => 'addPost', 'plugin' => null, '_matchedRoute' => '/user/add-post', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'LSPHP_ENABLE_USER_INI' => 'on', 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'TEMP' => '/tmp', 'TMP' => '/tmp', 'TMPDIR' => '/tmp', 'PWD' => '/', 'HTTP_ACCEPT' => '*/*', 'CONTENT_LENGTH' => '0', 'HTTP_HOST' => 'hellobiz.in', 'HTTP_USER_AGENT' => 'claudebot', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/user/add-post', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'REDIRECT_REDIRECT_USER_ID' => '9525420', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'REDIRECT_SCRIPT_URL' => '/user/add-post', 'REDIRECT_SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'REDIRECT_USER_ID' => '9525420', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'SCRIPT_URL' => '/user/add-post', 'SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'USER_ID' => '9525420', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'hellobiz.in', 'SERVER_ADDR' => '68.178.156.243', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '34.203.242.200', 'DOCUMENT_ROOT' => '/home/qqz5st31l8s2/public_html/hellobiz.in', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home/qqz5st31l8s2/public_html/hellobiz.in', 'SERVER_ADMIN' => 'webmaster@hellobiz.mk8.815.mywebsitetransfer.com', 'SCRIPT_FILENAME' => '/home/qqz5st31l8s2/public_html/hellobiz.in/webroot/index.php', 'REMOTE_PORT' => '44334', 'REDIRECT_URL' => '/webroot/user/add-post', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/user/add-post', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711627361.2591, 'REQUEST_TIME' => (int) 1711627361, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] base => '' [protected] webroot => '/' [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' ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'hellobiz.in' [private] port => null [private] path => '/user/add-post' [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 [protected] mergeFilesAsObjects => true }
|
|
$middleware = new MiddlewareQueue($matching); |
|
$runner = new Runner(); |
|
|
|
return $runner->run($middleware, $request, $handler); |
|
} |
|
} |
|
|
object(Cake\Http\MiddlewareQueue) { [protected] position => (int) 1 [protected] queue => [ (int) 0 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) {} ] } object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'pass' => [], 'controller' => 'User', 'action' => 'addPost', 'plugin' => null, '_matchedRoute' => '/user/add-post', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'LSPHP_ENABLE_USER_INI' => 'on', 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'TEMP' => '/tmp', 'TMP' => '/tmp', 'TMPDIR' => '/tmp', 'PWD' => '/', 'HTTP_ACCEPT' => '*/*', 'CONTENT_LENGTH' => '0', 'HTTP_HOST' => 'hellobiz.in', 'HTTP_USER_AGENT' => 'claudebot', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/user/add-post', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'REDIRECT_REDIRECT_USER_ID' => '9525420', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'REDIRECT_SCRIPT_URL' => '/user/add-post', 'REDIRECT_SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'REDIRECT_USER_ID' => '9525420', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'SCRIPT_URL' => '/user/add-post', 'SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'USER_ID' => '9525420', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'hellobiz.in', 'SERVER_ADDR' => '68.178.156.243', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '34.203.242.200', 'DOCUMENT_ROOT' => '/home/qqz5st31l8s2/public_html/hellobiz.in', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home/qqz5st31l8s2/public_html/hellobiz.in', 'SERVER_ADMIN' => 'webmaster@hellobiz.mk8.815.mywebsitetransfer.com', 'SCRIPT_FILENAME' => '/home/qqz5st31l8s2/public_html/hellobiz.in/webroot/index.php', 'REMOTE_PORT' => '44334', 'REDIRECT_URL' => '/webroot/user/add-post', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/user/add-post', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711627361.2591, 'REQUEST_TIME' => (int) 1711627361, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] base => '' [protected] webroot => '/' [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' ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'hellobiz.in' [private] port => null [private] path => '/user/add-post' [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 [protected] mergeFilesAsObjects => true } object(Cake\Http\Runner) { [protected] queue => object(Cake\Http\MiddlewareQueue) { [protected] position => (int) 3 [protected] queue => [ [maximum depth reached] ] } [protected] fallbackHandler => object(App\Application) { [protected] configDir => '/home/qqz5st31l8s2/public_html/hellobiz.in/config/' [protected] plugins => object(Cake\Core\PluginCollection) {} [protected] controllerFactory => object(Cake\Controller\ControllerFactory) {} [protected] _eventManager => object(Cake\Event\EventManager) {} [protected] _eventClass => 'Cake\Event\Event' } }
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'pass' => [], 'controller' => 'User', 'action' => 'addPost', 'plugin' => null, '_matchedRoute' => '/user/add-post', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'LSPHP_ENABLE_USER_INI' => 'on', 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'TEMP' => '/tmp', 'TMP' => '/tmp', 'TMPDIR' => '/tmp', 'PWD' => '/', 'HTTP_ACCEPT' => '*/*', 'CONTENT_LENGTH' => '0', 'HTTP_HOST' => 'hellobiz.in', 'HTTP_USER_AGENT' => 'claudebot', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/user/add-post', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'REDIRECT_REDIRECT_USER_ID' => '9525420', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'REDIRECT_SCRIPT_URL' => '/user/add-post', 'REDIRECT_SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'REDIRECT_USER_ID' => '9525420', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'SCRIPT_URL' => '/user/add-post', 'SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'USER_ID' => '9525420', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'hellobiz.in', 'SERVER_ADDR' => '68.178.156.243', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '34.203.242.200', 'DOCUMENT_ROOT' => '/home/qqz5st31l8s2/public_html/hellobiz.in', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home/qqz5st31l8s2/public_html/hellobiz.in', 'SERVER_ADMIN' => 'webmaster@hellobiz.mk8.815.mywebsitetransfer.com', 'SCRIPT_FILENAME' => '/home/qqz5st31l8s2/public_html/hellobiz.in/webroot/index.php', 'REMOTE_PORT' => '44334', 'REDIRECT_URL' => '/webroot/user/add-post', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/user/add-post', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711627361.2591, 'REQUEST_TIME' => (int) 1711627361, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] base => '' [protected] webroot => '/' [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' ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'hellobiz.in' [private] port => null [private] path => '/user/add-post' [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 [protected] mergeFilesAsObjects => true } object(Cake\Http\Runner) { [protected] queue => object(Cake\Http\MiddlewareQueue) { [protected] position => (int) 3 [protected] queue => [ [maximum depth reached] ] } [protected] fallbackHandler => object(App\Application) { [protected] configDir => '/home/qqz5st31l8s2/public_html/hellobiz.in/config/' [protected] plugins => object(Cake\Core\PluginCollection) {} [protected] controllerFactory => object(Cake\Controller\ControllerFactory) {} [protected] _eventManager => object(Cake\Event\EventManager) {} [protected] _eventClass => 'Cake\Event\Event' } }
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
$url = $request->getUri()->getPath(); |
|
if (strpos($url, '..') !== false || strpos($url, '.') === false) { |
|
return $handler->handle($request); |
|
} |
|
|
|
if (strpos($url, '/.') !== false) { |
|
return $handler->handle($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 => [ 'LSPHP_ENABLE_USER_INI' => 'on', 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'TEMP' => '/tmp', 'TMP' => '/tmp', 'TMPDIR' => '/tmp', 'PWD' => '/', 'HTTP_ACCEPT' => '*/*', 'CONTENT_LENGTH' => '0', 'HTTP_HOST' => 'hellobiz.in', 'HTTP_USER_AGENT' => 'claudebot', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/user/add-post', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'REDIRECT_REDIRECT_USER_ID' => '9525420', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'REDIRECT_SCRIPT_URL' => '/user/add-post', 'REDIRECT_SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'REDIRECT_USER_ID' => '9525420', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'SCRIPT_URL' => '/user/add-post', 'SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'USER_ID' => '9525420', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'hellobiz.in', 'SERVER_ADDR' => '68.178.156.243', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '34.203.242.200', 'DOCUMENT_ROOT' => '/home/qqz5st31l8s2/public_html/hellobiz.in', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home/qqz5st31l8s2/public_html/hellobiz.in', 'SERVER_ADMIN' => 'webmaster@hellobiz.mk8.815.mywebsitetransfer.com', 'SCRIPT_FILENAME' => '/home/qqz5st31l8s2/public_html/hellobiz.in/webroot/index.php', 'REMOTE_PORT' => '44334', 'REDIRECT_URL' => '/webroot/user/add-post', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/user/add-post', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711627361.2591, 'REQUEST_TIME' => (int) 1711627361, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] base => '' [protected] webroot => '/' [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' ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'hellobiz.in' [private] port => null [private] path => '/user/add-post' [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 [protected] mergeFilesAsObjects => true }
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($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 => [ 'LSPHP_ENABLE_USER_INI' => 'on', 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'TEMP' => '/tmp', 'TMP' => '/tmp', 'TMPDIR' => '/tmp', 'PWD' => '/', 'HTTP_ACCEPT' => '*/*', 'CONTENT_LENGTH' => '0', 'HTTP_HOST' => 'hellobiz.in', 'HTTP_USER_AGENT' => 'claudebot', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/user/add-post', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'REDIRECT_REDIRECT_USER_ID' => '9525420', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'REDIRECT_SCRIPT_URL' => '/user/add-post', 'REDIRECT_SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'REDIRECT_USER_ID' => '9525420', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'SCRIPT_URL' => '/user/add-post', 'SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'USER_ID' => '9525420', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'hellobiz.in', 'SERVER_ADDR' => '68.178.156.243', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '34.203.242.200', 'DOCUMENT_ROOT' => '/home/qqz5st31l8s2/public_html/hellobiz.in', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home/qqz5st31l8s2/public_html/hellobiz.in', 'SERVER_ADMIN' => 'webmaster@hellobiz.mk8.815.mywebsitetransfer.com', 'SCRIPT_FILENAME' => '/home/qqz5st31l8s2/public_html/hellobiz.in/webroot/index.php', 'REMOTE_PORT' => '44334', 'REDIRECT_URL' => '/webroot/user/add-post', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/user/add-post', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711627361.2591, 'REQUEST_TIME' => (int) 1711627361, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] base => '' [protected] webroot => '/' [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' ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'hellobiz.in' [private] port => null [private] path => '/user/add-post' [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 [protected] mergeFilesAsObjects => true } object(Cake\Http\Runner) { [protected] queue => object(Cake\Http\MiddlewareQueue) { [protected] position => (int) 3 [protected] queue => [ [maximum depth reached] ] } [protected] fallbackHandler => object(App\Application) { [protected] configDir => '/home/qqz5st31l8s2/public_html/hellobiz.in/config/' [protected] plugins => object(Cake\Core\PluginCollection) {} [protected] controllerFactory => object(Cake\Controller\ControllerFactory) {} [protected] _eventManager => object(Cake\Event\EventManager) {} [protected] _eventClass => 'Cake\Event\Event' } }
*/ |
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
try { |
|
return $handler->handle($request); |
|
} catch (Throwable $exception) { |
|
return $this->handleException($exception, $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 => [ 'LSPHP_ENABLE_USER_INI' => 'on', 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'TEMP' => '/tmp', 'TMP' => '/tmp', 'TMPDIR' => '/tmp', 'PWD' => '/', 'HTTP_ACCEPT' => '*/*', 'CONTENT_LENGTH' => '0', 'HTTP_HOST' => 'hellobiz.in', 'HTTP_USER_AGENT' => 'claudebot', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/user/add-post', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'REDIRECT_REDIRECT_USER_ID' => '9525420', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'REDIRECT_SCRIPT_URL' => '/user/add-post', 'REDIRECT_SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'REDIRECT_USER_ID' => '9525420', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'SCRIPT_URL' => '/user/add-post', 'SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'USER_ID' => '9525420', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'hellobiz.in', 'SERVER_ADDR' => '68.178.156.243', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '34.203.242.200', 'DOCUMENT_ROOT' => '/home/qqz5st31l8s2/public_html/hellobiz.in', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home/qqz5st31l8s2/public_html/hellobiz.in', 'SERVER_ADMIN' => 'webmaster@hellobiz.mk8.815.mywebsitetransfer.com', 'SCRIPT_FILENAME' => '/home/qqz5st31l8s2/public_html/hellobiz.in/webroot/index.php', 'REMOTE_PORT' => '44334', 'REDIRECT_URL' => '/webroot/user/add-post', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/user/add-post', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711627361.2591, 'REQUEST_TIME' => (int) 1711627361, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] base => '' [protected] webroot => '/' [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' ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'hellobiz.in' [private] port => null [private] path => '/user/add-post' [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 [protected] mergeFilesAsObjects => true }
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($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 => [ 'LSPHP_ENABLE_USER_INI' => 'on', 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'TEMP' => '/tmp', 'TMP' => '/tmp', 'TMPDIR' => '/tmp', 'PWD' => '/', 'HTTP_ACCEPT' => '*/*', 'CONTENT_LENGTH' => '0', 'HTTP_HOST' => 'hellobiz.in', 'HTTP_USER_AGENT' => 'claudebot', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/user/add-post', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'REDIRECT_REDIRECT_USER_ID' => '9525420', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'REDIRECT_SCRIPT_URL' => '/user/add-post', 'REDIRECT_SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'REDIRECT_USER_ID' => '9525420', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'SCRIPT_URL' => '/user/add-post', 'SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'USER_ID' => '9525420', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'hellobiz.in', 'SERVER_ADDR' => '68.178.156.243', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '34.203.242.200', 'DOCUMENT_ROOT' => '/home/qqz5st31l8s2/public_html/hellobiz.in', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home/qqz5st31l8s2/public_html/hellobiz.in', 'SERVER_ADMIN' => 'webmaster@hellobiz.mk8.815.mywebsitetransfer.com', 'SCRIPT_FILENAME' => '/home/qqz5st31l8s2/public_html/hellobiz.in/webroot/index.php', 'REMOTE_PORT' => '44334', 'REDIRECT_URL' => '/webroot/user/add-post', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/user/add-post', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711627361.2591, 'REQUEST_TIME' => (int) 1711627361, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] base => '' [protected] webroot => '/' [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' ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'hellobiz.in' [private] port => null [private] path => '/user/add-post' [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 [protected] mergeFilesAsObjects => true } object(Cake\Http\Runner) { [protected] queue => object(Cake\Http\MiddlewareQueue) { [protected] position => (int) 3 [protected] queue => [ [maximum depth reached] ] } [protected] fallbackHandler => object(App\Application) { [protected] configDir => '/home/qqz5st31l8s2/public_html/hellobiz.in/config/' [protected] plugins => object(Cake\Core\PluginCollection) {} [protected] controllerFactory => object(Cake\Controller\ControllerFactory) {} [protected] _eventManager => object(Cake\Event\EventManager) {} [protected] _eventClass => 'Cake\Event\Event' } }
$this->queue = $queue; |
|
$this->queue->rewind(); |
|
$this->fallbackHandler = $fallbackHandler; |
|
|
|
return $this->handle($request); |
|
} |
|
|
|
/** |
|
* Handle incoming server request and return a 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 => [ 'LSPHP_ENABLE_USER_INI' => 'on', 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'TEMP' => '/tmp', 'TMP' => '/tmp', 'TMPDIR' => '/tmp', 'PWD' => '/', 'HTTP_ACCEPT' => '*/*', 'CONTENT_LENGTH' => '0', 'HTTP_HOST' => 'hellobiz.in', 'HTTP_USER_AGENT' => 'claudebot', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/user/add-post', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'REDIRECT_REDIRECT_USER_ID' => '9525420', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'REDIRECT_SCRIPT_URL' => '/user/add-post', 'REDIRECT_SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'REDIRECT_USER_ID' => '9525420', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'SCRIPT_URL' => '/user/add-post', 'SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'USER_ID' => '9525420', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'hellobiz.in', 'SERVER_ADDR' => '68.178.156.243', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '34.203.242.200', 'DOCUMENT_ROOT' => '/home/qqz5st31l8s2/public_html/hellobiz.in', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home/qqz5st31l8s2/public_html/hellobiz.in', 'SERVER_ADMIN' => 'webmaster@hellobiz.mk8.815.mywebsitetransfer.com', 'SCRIPT_FILENAME' => '/home/qqz5st31l8s2/public_html/hellobiz.in/webroot/index.php', 'REMOTE_PORT' => '44334', 'REDIRECT_URL' => '/webroot/user/add-post', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/user/add-post', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711627361.2591, 'REQUEST_TIME' => (int) 1711627361, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] base => '' [protected] webroot => '/' [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' ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'hellobiz.in' [private] port => null [private] path => '/user/add-post' [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 [protected] mergeFilesAsObjects => true }
} |
|
|
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
|
|
$response = $this->runner->run($middleware, $request, $this->app); |
|
|
|
if ($request instanceof ServerRequest) { |
|
$request->getSession()->close(); |
|
} |
object(Cake\Http\MiddlewareQueue) { [protected] position => (int) 3 [protected] queue => [ (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 => [] [protected] cookies => [] [protected] _environment => [ 'LSPHP_ENABLE_USER_INI' => 'on', 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'TEMP' => '/tmp', 'TMP' => '/tmp', 'TMPDIR' => '/tmp', 'PWD' => '/', 'HTTP_ACCEPT' => '*/*', 'CONTENT_LENGTH' => '0', 'HTTP_HOST' => 'hellobiz.in', 'HTTP_USER_AGENT' => 'claudebot', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/user/add-post', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'REDIRECT_REDIRECT_USER_ID' => '9525420', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'REDIRECT_SCRIPT_URL' => '/user/add-post', 'REDIRECT_SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'REDIRECT_USER_ID' => '9525420', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgVcYYz-5rs_ufCXpEP1vgAAAGU', 'SCRIPT_URL' => '/user/add-post', 'SCRIPT_URI' => 'http://hellobiz.in/user/add-post', 'USER_ID' => '9525420', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'hellobiz.in', 'SERVER_ADDR' => '68.178.156.243', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '34.203.242.200', 'DOCUMENT_ROOT' => '/home/qqz5st31l8s2/public_html/hellobiz.in', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home/qqz5st31l8s2/public_html/hellobiz.in', 'SERVER_ADMIN' => 'webmaster@hellobiz.mk8.815.mywebsitetransfer.com', 'SCRIPT_FILENAME' => '/home/qqz5st31l8s2/public_html/hellobiz.in/webroot/index.php', 'REMOTE_PORT' => '44334', 'REDIRECT_URL' => '/webroot/user/add-post', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/user/add-post', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711627361.2591, 'REQUEST_TIME' => (int) 1711627361, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] base => '' [protected] webroot => '/' [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' ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'hellobiz.in' [private] port => null [private] path => '/user/add-post' [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 [protected] mergeFilesAsObjects => true } object(App\Application) { [protected] configDir => '/home/qqz5st31l8s2/public_html/hellobiz.in/config/' [protected] plugins => object(Cake\Core\PluginCollection) { [protected] plugins => [ [maximum depth reached] ] [protected] names => [ [maximum depth reached] ] [protected] positions => [[maximum depth reached]] [protected] loopDepth => (int) -1 } [protected] controllerFactory => object(Cake\Controller\ControllerFactory) { } [protected] _eventManager => object(Cake\Event\EventManager) { '_listeners' => [[maximum depth reached]], '_isGlobal' => true, '_trackEvents' => false, '_generalManager' => '(object) EventManager', '_dispatchedEvents' => null } [protected] _eventClass => 'Cake\Event\Event' }
// 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 are using SQL keywords as table column names, you can enable identifier quoting for your database connection in config/app.php.
Some of the Table objects in your application were created by instantiating "Cake\ORM\Table" instead of any other specific subclass.
This could be the cause for this exception. Auto-Tables are created for you under the following circumstances:
Please try correcting the issue for the following table aliases:
If you want to customize this error message, create templates/Error/pdo_error.php