Notice (8): Undefined index: HTTP_ACCEPT_LANGUAGE [APP/Controller/AppController.php, line 105]Code Context//checking the 1st favorite language of the admin's browser$browserLanguage = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);$session = object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '10800' [protected] _isCli => false }App\Controller\AppController::_checkBrowserLanguage() - APP/Controller/AppController.php, line 105 App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 167 app\Controller\PagesController::beforeFilter() - APP/Controller/PagesController.php, line 65 Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 381 Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 351 Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventManagerTrait.php, line 78 Cake\Controller\Controller::startupProcess() - CORE/src/Controller/Controller.php, line 467 Cake\Routing\Dispatcher::_invoke() - CORE/src/Routing/Dispatcher.php, line 109 Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 87 [main] - ROOT/webroot/index.php, line 37
Notice (8): Use of undefined constant PROJECT_DEFAULT_LANG - assumed 'PROJECT_DEFAULT_LANG' [APP/Controller/PagesController.php, line 141]Code Context//<SITE CONTENTS>private function load_site_contents($url, $language){I18n::locale(PROJECT_DEFAULT_LANG);$url = 'sitemap.xml' $language = 'en'app\Controller\PagesController::load_site_contents() - APP/Controller/PagesController.php, line 141 app\Controller\PagesController::display() - APP/Controller/PagesController.php, line 98 Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 405 Cake\Routing\Dispatcher::_invoke() - CORE/src/Routing/Dispatcher.php, line 114 Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 87 [main] - ROOT/webroot/index.php, line 37
Error: SQLSTATE[28000] [1045] Access denied for user 'nc105_psmclient'@'localhost' (using password: YES)
$dsn, |
|
$config['username'], |
|
$config['password'], |
|
$config['flags'] |
|
); |
|
$this->connection($connection); |
|
return true; |
|
} |
|
|
'mysql:host=localhost;port=3306;dbname=nc105_psmclient;charset=utf8' 'nc105_psmclient' 'xPr+aOzWL(T2' [ (int) 12 => false, (int) 1000 => true, (int) 3 => (int) 2 ]
} else { |
|
$dsn = "mysql:unix_socket={$config['unix_socket']};dbname={$config['database']}"; |
|
} |
|
|
|
$this->_connect($dsn, $config); |
|
|
|
if (!empty($config['init'])) { |
|
foreach ((array)$config['init'] as $command) { |
|
$this->connection()->exec($command); |
'mysql:host=localhost;port=3306;dbname=nc105_psmclient;charset=utf8' [ 'driver' => 'Cake\Database\Driver\Mysql', 'persistent' => false, 'host' => 'localhost', 'username' => 'nc105_psmclient', 'password' => 'xPr+aOzWL(T2', 'database' => 'nc105_psmclient', 'encoding' => 'utf8', 'timezone' => '+0:00', 'cacheMetadata' => true, 'quoteIdentifiers' => false, 'name' => 'default', 'port' => '3306', 'flags' => [ (int) 12 => false, (int) 1000 => true, (int) 3 => (int) 2 ], 'init' => [ (int) 0 => 'SET time_zone = '+0:00'' ] ]
* @param \Cake\Database\Driver $driver The driver to use. |
|
*/ |
|
public function __construct(Driver $driver) |
|
{ |
|
$driver->connect(); |
|
$this->_driver = $driver; |
|
} |
|
|
|
/** |
No arguments
*/ |
|
public function schemaDialect() |
|
{ |
|
if (!$this->_schemaDialect) { |
|
$this->_schemaDialect = new \Cake\Database\Schema\MysqlSchema($this); |
|
} |
|
return $this->_schemaDialect; |
|
} |
|
|
object(Cake\Database\Driver\Mysql) {
'connected' => false
}
*/ |
|
public function __construct(Connection $connection) |
|
{ |
|
$this->_connection = $connection; |
|
$this->_dialect = $connection->driver()->schemaDialect(); |
|
} |
|
|
|
/** |
|
* Get the list of tables available in the current connection. |
No arguments
* @param string|bool $cacheKey The cache key or boolean false to disable caching. |
|
*/ |
|
public function __construct(Connection $connection, $cacheKey = true) |
|
{ |
|
parent::__construct($connection); |
|
$this->cacheMetadata($cacheKey); |
|
} |
|
|
|
/** |
object(Cake\Database\Connection) {
'config' => [
'password' => '*****',
'username' => '*****',
'host' => '*****',
'database' => '*****',
'driver' => 'Cake\Database\Driver\Mysql',
'persistent' => false,
'encoding' => 'utf8',
'timezone' => 'UTC',
'cacheMetadata' => true,
'quoteIdentifiers' => false,
'name' => 'default'
],
'driver' => object(Cake\Database\Driver\Mysql) {
'connected' => false
},
'transactionLevel' => (int) 0,
'transactionStarted' => false,
'useSavePoints' => false,
'logQueries' => true,
'logger' => object(DebugKit\Database\Log\DebugLog) {
[protected] _queries => [[maximum depth reached]]
[protected] _logger => null
[protected] _connectionName => 'default'
[protected] _totalTime => (int) 0
[protected] _totalRows => (int) 0
}
}
return $this->_schemaCollection; |
|
} |
|
|
|
if (!empty($this->_config['cacheMetadata'])) { |
|
return $this->_schemaCollection = new CachedCollection($this, $this->_config['cacheMetadata']); |
|
} |
|
|
|
return $this->_schemaCollection = new SchemaCollection($this); |
|
} |
object(Cake\Database\Connection) {
'config' => [
'password' => '*****',
'username' => '*****',
'host' => '*****',
'database' => '*****',
'driver' => 'Cake\Database\Driver\Mysql',
'persistent' => false,
'encoding' => 'utf8',
'timezone' => 'UTC',
'cacheMetadata' => true,
'quoteIdentifiers' => false,
'name' => 'default'
],
'driver' => object(Cake\Database\Driver\Mysql) {
'connected' => false
},
'transactionLevel' => (int) 0,
'transactionStarted' => false,
'useSavePoints' => false,
'logQueries' => true,
'logger' => object(DebugKit\Database\Log\DebugLog) {
[protected] _queries => [[maximum depth reached]]
[protected] _logger => null
[protected] _connectionName => 'default'
[protected] _totalTime => (int) 0
[protected] _totalRows => (int) 0
}
}
true
if ($schema === null) { |
|
if ($this->_schema === null) { |
|
$this->_schema = $this->_initializeSchema( |
|
$this->connection() |
|
->schemaCollection() |
|
->describe($this->table()) |
|
); |
|
} |
|
return $this->_schema; |
No arguments
*/ |
|
public function addDefaultTypes(Table $table) |
|
{ |
|
$alias = $table->alias(); |
|
$schema = $table->schema(); |
|
$fields = []; |
|
foreach ($schema->columns() as $f) { |
|
$fields[$f] = $fields[$alias . '.' . $f] = $schema->columnType($f); |
|
} |
No arguments
parent::__construct($connection); |
|
$this->repository($table); |
|
|
|
if ($this->_repository) { |
|
$this->addDefaultTypes($this->_repository); |
|
} |
|
} |
|
|
|
/** |
object(App\Model\Table\SiteContentsTable) {
'registryAlias' => 'site_contents',
'table' => 'site_contents',
'alias' => 'site_contents',
'entityClass' => 'App\Model\Entity\SiteContent',
'associations' => [
(int) 0 => 'menus',
(int) 1 => 'site_contents_title_translation',
(int) 2 => 'site_contents_meta_title_translation',
(int) 3 => 'site_contents_meta_description_translation',
(int) 4 => 'site_contents_meta_keyword_translation',
(int) 5 => 'site_contents_seo_friendly_url_translation',
(int) 6 => 'site_contents_content_translation',
(int) 7 => 'site_contents_i18n'
],
'behaviors' => [
(int) 0 => 'Translate'
],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
* {@inheritDoc} |
|
*/ |
|
public function query() |
|
{ |
|
return new Query($this->connection(), $this); |
|
} |
|
|
|
/** |
|
* {@inheritDoc} |
object(Cake\Database\Connection) {
'config' => [
'password' => '*****',
'username' => '*****',
'host' => '*****',
'database' => '*****',
'driver' => 'Cake\Database\Driver\Mysql',
'persistent' => false,
'encoding' => 'utf8',
'timezone' => 'UTC',
'cacheMetadata' => true,
'quoteIdentifiers' => false,
'name' => 'default'
],
'driver' => object(Cake\Database\Driver\Mysql) {
'connected' => false
},
'transactionLevel' => (int) 0,
'transactionStarted' => false,
'useSavePoints' => false,
'logQueries' => true,
'logger' => object(DebugKit\Database\Log\DebugLog) {
[protected] _queries => [[maximum depth reached]]
[protected] _logger => null
[protected] _connectionName => 'default'
[protected] _totalTime => (int) 0
[protected] _totalRows => (int) 0
}
}
object(App\Model\Table\SiteContentsTable) {
'registryAlias' => 'site_contents',
'table' => 'site_contents',
'alias' => 'site_contents',
'entityClass' => 'App\Model\Entity\SiteContent',
'associations' => [
(int) 0 => 'menus',
(int) 1 => 'site_contents_title_translation',
(int) 2 => 'site_contents_meta_title_translation',
(int) 3 => 'site_contents_meta_description_translation',
(int) 4 => 'site_contents_meta_keyword_translation',
(int) 5 => 'site_contents_seo_friendly_url_translation',
(int) 6 => 'site_contents_content_translation',
(int) 7 => 'site_contents_i18n'
],
'behaviors' => [
(int) 0 => 'Translate'
],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
* @return \Cake\ORM\Query |
|
*/ |
|
public function find($type = 'all', $options = []) |
|
{ |
|
$query = $this->query(); |
|
$query->select(); |
|
return $this->callFinder($type, $query, $options); |
|
} |
|
|
No arguments
|
|
$site_content = array(); |
|
|
|
$site_content_controller = TableRegistry::get('site_contents'); |
|
$site_contents = $site_content_controller->find('translations', array('conditions'=>array(/*'seo_friendly_url'=>$url, */'status'=>'1', 'backup_of'=>'0')))->toArray(); |
|
|
|
foreach($site_contents as $site_content){ |
|
if(($site_content->seo_friendly_url==$url)&&($site_content->_locale==PROJECT_DEFAULT_LANG)){ |
|
$page_content = $site_content; |
'translations' [ 'conditions' => [ 'status' => '1', 'backup_of' => '0' ] ]
case 0: // ex.: / |
|
$path_elements = ['']; |
|
// echo '<pre>'; var_export($path_elements); die(); |
|
case 1: // ex.: /page-name |
|
$site_content = $this->load_site_contents(end($path_elements), $language); |
|
// echo '<pre>'; var_export($path_elements); die(); |
|
// if(!$site_content){ throw new NotFoundException(); } |
|
// die(); |
|
break; |
'sitemap.xml' 'en'
'plugin' => $request->params['plugin'], |
|
]); |
|
} |
|
$callable = [$this, $request->params['action']]; |
|
return call_user_func_array($callable, $request->params['pass']); |
|
} |
|
|
|
/** |
|
* Merge components, helpers vars from |
[
(int) 0 => object(app\Controller\PagesController) {
uses => []
components => [
'Flash' => null,
'Security' => null,
'Cookie' => null,
'EmailListener' => null,
'Session' => null,
'RequestHandler' => null,
'Auth' => [
[maximum depth reached]
]
]
helpers => [
'Session' => null,
'Html' => [
[maximum depth reached]
],
'Form' => [
[maximum depth reached]
],
'Paginator' => null,
'Modal' => [
[maximum depth reached]
]
]
name => 'Pages'
request => object(Cake\Network\Request) {}
response => object(Cake\Network\Response) {}
paginate => []
autoRender => true
viewClass => null
viewPath => 'Pages'
view => 'display'
View => null
plugin => null
passedArgs => [
(int) 0 => 'sitemap.xml'
]
modelClass => 'Pages'
viewVars => []
Menus => object(Cake\ORM\Table) {}
Csrf => object(Cake\Controller\Component\CsrfComponent) {}
Flash => object(Cake\Controller\Component\FlashComponent) {}
Security => object(Cake\Controller\Component\SecurityComponent) {}
Cookie => object(Cake\Controller\Component\CookieComponent) {}
EmailListener => object(App\Controller\Component\EmailListenerComponent) {}
Session => object(App\Controller\Component\SessionComponent) {}
RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) {}
Auth => object(Cake\Controller\Component\AuthComponent) {}
[protected] _responseClass => 'Cake\Network\Response'
[protected] _components => object(Cake\Controller\ComponentRegistry) {}
[protected] _validViewOptions => [
(int) 0 => 'viewVars',
(int) 1 => 'autoLayout',
(int) 2 => 'helpers',
(int) 3 => 'view',
(int) 4 => 'layout',
(int) 5 => 'name',
(int) 6 => 'theme',
(int) 7 => 'layoutPath',
(int) 8 => 'viewPath',
(int) 9 => 'plugin',
(int) 10 => 'passedArgs'
]
[protected] _eventManager => object(Cake\Event\EventManager) {}
[protected] _eventClass => '\Cake\Event\Event'
[protected] _modelFactories => [
'Table' => [
[maximum depth reached]
]
]
},
(int) 1 => 'display'
]
[
(int) 0 => 'sitemap.xml'
]
if ($result instanceof Response) { |
|
return $result; |
|
} |
|
|
|
$response = $controller->invokeAction(); |
|
if ($response !== null && !($response instanceof Response)) { |
|
throw new LogicException('Controller action can only return an instance of Response'); |
|
} |
|
|
No arguments
'_ext' => empty($request->params['_ext']) ? null : $request->params['_ext'] |
|
]); |
|
} |
|
|
|
$response = $this->_invoke($controller); |
|
if (isset($request->params['return'])) { |
|
return $response->body(); |
|
} |
|
|
object(app\Controller\PagesController) {
uses => []
components => [
'Flash' => null,
'Security' => null,
'Cookie' => null,
'EmailListener' => null,
'Session' => null,
'RequestHandler' => null,
'Auth' => [
'logoutRedirect' => [
[maximum depth reached]
]
]
]
helpers => [
'Session' => null,
'Html' => [
'className' => 'Bootstrap.BootstrapHtml'
],
'Form' => [
'className' => 'Bootstrap.BootstrapForm'
],
'Paginator' => null,
'Modal' => [
'className' => 'Bootstrap.BootstrapModal'
]
]
name => 'Pages'
request => object(Cake\Network\Request) {
params => [
[maximum depth reached]
]
data => [[maximum depth reached]]
query => [[maximum depth reached]]
cookies => [[maximum depth reached]]
url => 'sitemap.xml'
base => ''
webroot => '/'
here => '/sitemap.xml'
trustProxy => false
[protected] _environment => [
[maximum depth reached]
]
[protected] _detectors => [
[maximum depth reached]
]
[protected] _detectorCache => [
[maximum depth reached]
]
[protected] _input => ''
[protected] _session => object(Cake\Network\Session) {}
}
response => object(Cake\Network\Response) {
[protected] _statusCodes => [
[maximum depth reached]
]
[protected] _mimeTypes => [
[maximum depth reached]
]
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => [[maximum depth reached]]
[protected] _body => null
[protected] _file => null
[protected] _fileRange => [[maximum depth reached]]
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => [[maximum depth reached]]
[protected] _cookies => [
[maximum depth reached]
]
}
paginate => []
autoRender => true
viewClass => null
viewPath => 'Pages'
view => 'display'
View => null
plugin => null
passedArgs => [
(int) 0 => 'sitemap.xml'
]
modelClass => 'Pages'
viewVars => []
Menus => object(Cake\ORM\Table) {
'registryAlias' => 'Menus',
'table' => 'menus',
'alias' => 'Menus',
'entityClass' => '\Cake\ORM\Entity',
'associations' => [[maximum depth reached]],
'behaviors' => [[maximum depth reached]],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
Csrf => object(Cake\Controller\Component\CsrfComponent) {
request => object(Cake\Network\Request) {}
components => [[maximum depth reached]]
[protected] _defaultConfig => [
[maximum depth reached]
]
[protected] _registry => object(Cake\Controller\ComponentRegistry) {}
[protected] _componentMap => [[maximum depth reached]]
[protected] _config => [
[maximum depth reached]
]
[protected] _configInitialized => true
}
Flash => object(Cake\Controller\Component\FlashComponent) {
request => object(Cake\Network\Request) {}
components => [[maximum depth reached]]
[protected] _session => object(Cake\Network\Session) {}
[protected] _defaultConfig => [
[maximum depth reached]
]
[protected] _registry => object(Cake\Controller\ComponentRegistry) {}
[protected] _componentMap => [[maximum depth reached]]
[protected] _config => [
[maximum depth reached]
]
[protected] _configInitialized => true
}
Security => object(Cake\Controller\Component\SecurityComponent) {
request => object(Cake\Network\Request) {}
session => object(Cake\Network\Session) {}
components => [[maximum depth reached]]
blackHoleCallback => 'blackhole'
[protected] _defaultConfig => [
[maximum depth reached]
]
[protected] _action => 'display'
[protected] _registry => object(Cake\Controller\ComponentRegistry) {}
[protected] _componentMap => [[maximum depth reached]]
[protected] _config => [
[maximum depth reached]
]
[protected] _configInitialized => true
}
Cookie => object(Cake\Controller\Component\CookieComponent) {
request => object(Cake\Network\Request) {}
components => [[maximum depth reached]]
[protected] _defaultConfig => [
[maximum depth reached]
]
[protected] _keyConfig => [[maximum depth reached]]
[protected] _values => [[maximum depth reached]]
[protected] _loaded => [[maximum depth reached]]
[protected] _response => object(Cake\Network\Response) {}
[protected] _request => object(Cake\Network\Request) {}
[protected] _validCiphers => [
[maximum depth reached]
]
[protected] _registry => object(Cake\Controller\ComponentRegistry) {}
[protected] _componentMap => [[maximum depth reached]]
[protected] _config => [
[maximum depth reached]
]
[protected] _configInitialized => true
}
EmailListener => object(App\Controller\Component\EmailListenerComponent) {
EmailObject => object(Cake\Network\Email\Email) {}
request => object(Cake\Network\Request) {}
components => [[maximum depth reached]]
[protected] _defaultConfig => [
[maximum depth reached]
]
[protected] _registry => object(Cake\Controller\ComponentRegistry) {}
[protected] _componentMap => [[maximum depth reached]]
[protected] _config => [
[maximum depth reached]
]
[protected] _configInitialized => true
}
Session => object(App\Controller\Component\SessionComponent) {
request => object(Cake\Network\Request) {}
components => [[maximum depth reached]]
[protected] _registry => object(Cake\Controller\ComponentRegistry) {}
[protected] _defaultConfig => [[maximum depth reached]]
[protected] _componentMap => [[maximum depth reached]]
[protected] _config => [[maximum depth reached]]
[protected] _configInitialized => true
}
RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) {
enabled => true
request => object(Cake\Network\Request) {}
response => object(Cake\Network\Response) {}
ext => null
components => [[maximum depth reached]]
[protected] _renderType => null
[protected] _defaultConfig => [
[maximum depth reached]
]
[protected] _inputTypeMap => [
[maximum depth reached]
]
[protected] _viewClassMap => [
[maximum depth reached]
]
[protected] _registry => object(Cake\Controller\ComponentRegistry) {}
[protected] _componentMap => [[maximum depth reached]]
[protected] _config => [
[maximum depth reached]
]
[protected] _configInitialized => true
}
Auth => object(Cake\Controller\Component\AuthComponent) {
components => [
[maximum depth reached]
]
sessionKey => 'Auth.User'
allowedActions => [
[maximum depth reached]
]
request => object(Cake\Network\Request) {}
response => object(Cake\Network\Response) {}
session => object(Cake\Network\Session) {}
[protected] _defaultConfig => [
[maximum depth reached]
]
[protected] _authenticateObjects => [[maximum depth reached]]
[protected] _authorizeObjects => [[maximum depth reached]]
[protected] _user => [[maximum depth reached]]
[protected] _authenticationProvider => null
[protected] _authorizationProvider => null
[protected] _registry => object(Cake\Controller\ComponentRegistry) {}
[protected] _componentMap => [
[maximum depth reached]
]
[protected] _config => [
[maximum depth reached]
]
[protected] _configInitialized => true
[protected] _eventManager => object(Cake\Event\EventManager) {}
[protected] _eventClass => '\Cake\Event\Event'
}
[protected] _responseClass => 'Cake\Network\Response'
[protected] _components => object(Cake\Controller\ComponentRegistry) {
'_Controller' => object(app\Controller\PagesController) {},
'_loaded' => [
[maximum depth reached]
],
'_eventManager' => object(Cake\Event\EventManager) {},
'_eventClass' => '\Cake\Event\Event'
}
[protected] _validViewOptions => [
(int) 0 => 'viewVars',
(int) 1 => 'autoLayout',
(int) 2 => 'helpers',
(int) 3 => 'view',
(int) 4 => 'layout',
(int) 5 => 'name',
(int) 6 => 'theme',
(int) 7 => 'layoutPath',
(int) 8 => 'viewPath',
(int) 9 => 'plugin',
(int) 10 => 'passedArgs'
]
[protected] _eventManager => object(Cake\Event\EventManager) {
'_listeners' => [
[maximum depth reached]
],
'_isGlobal' => false,
'_generalManager' => '(object) EventManager'
}
[protected] _eventClass => '\Cake\Event\Event'
[protected] _modelFactories => [
'Table' => [
(int) 0 => 'Cake\ORM\TableRegistry',
(int) 1 => 'get'
]
]
}
$dispatcher = DispatcherFactory::create(); |
|
$dispatcher->dispatch( |
|
Request::createFromGlobals(), |
|
new Response() |
|
); |
|
|
object(Cake\Network\Request) {
params => [
'plugin' => null,
'controller' => 'Pages',
'action' => 'display',
'_ext' => null,
'pass' => [
(int) 0 => 'sitemap.xml'
],
'_csrfToken' => 'de72499329a38e2b40b3a0c473055c7d3227a03d',
'_Token' => [
'unlockedFields' => [[maximum depth reached]]
],
'isAjax' => false
]
data => []
query => []
cookies => []
url => 'sitemap.xml'
base => ''
webroot => '/'
here => '/sitemap.xml'
trustProxy => false
[protected] _environment => [
'PATH' => '/usr/local/bin:/usr/bin:/bin',
'TEMP' => '/tmp',
'TMP' => '/tmp',
'TMPDIR' => '/tmp',
'PWD' => '/',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'CONTENT_LENGTH' => '0',
'HTTP_HOST' => 'www.clients.psmportraits.com',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'acX1MmZpX85ZB-2agAza7QAAZRE',
'REDIRECT_REDIRECT_SERVER_ADMIN' => 'orders@psmportraits.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.clients.psmportraits.com',
'REDIRECT_REDIRECT_HTTP2' => 'on',
'REDIRECT_REDIRECT_H2PUSH' => 'off',
'REDIRECT_REDIRECT_H2_PUSH' => 'off',
'REDIRECT_REDIRECT_H2_PUSHED' => '',
'REDIRECT_REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_REDIRECT_H2_STREAM_TAG' => '101-1',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'acX1MmZpX85ZB-2agAza7QAAZRE',
'REDIRECT_SERVER_ADMIN' => 'orders@psmportraits.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'www.clients.psmportraits.com',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '101-1',
'REDIRECT_STATUS' => '200',
'UNIQUE_ID' => 'acX1MmZpX85ZB-2agAza7QAAZRE',
'SERVER_ADMIN' => 'webmaster@clients.psmportraits.com',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'www.clients.psmportraits.com',
'HTTP2' => 'on',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '101-1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SERVER_NAME' => 'www.clients.psmportraits.com',
'SERVER_ADDR' => '68.168.113.66',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '216.73.216.146',
'DOCUMENT_ROOT' => '/home/psmportrai/domains/clients.psmportraits.com/private_html',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/psmportrai/domains/clients.psmportraits.com/private_html',
'SCRIPT_FILENAME' => '/home/psmportrai/domains/clients.psmportraits.com/private_html/webroot/index.php',
'REMOTE_PORT' => '65306',
'REDIRECT_URL' => '/webroot/sitemap.xml',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/sitemap.xml',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1774581042.7011,
'REQUEST_TIME' => (int) 1774581042,
'HTTP_X_HTTP_METHOD_OVERRIDE' => null,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
'HTTP_IF_NONE_MATCH' => null,
'HTTP_IF_MODIFIED_SINCE' => 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,
'requested' => false,
'get' => true,
'patch' => false,
'put' => false,
'post' => false,
'delete' => false
]
[protected] _input => ''
[protected] _session => object(Cake\Network\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => '10800'
[protected] _isCli => false
}
}
object(Cake\Network\Response) {
[protected] _statusCodes => [
(int) 100 => 'Continue',
(int) 101 => 'Switching Protocols',
(int) 200 => 'OK',
(int) 201 => 'Created',
(int) 202 => 'Accepted',
(int) 203 => 'Non-Authoritative Information',
(int) 204 => 'No Content',
(int) 205 => 'Reset Content',
(int) 206 => 'Partial Content',
(int) 300 => 'Multiple Choices',
(int) 301 => 'Moved Permanently',
(int) 302 => 'Found',
(int) 303 => 'See Other',
(int) 304 => 'Not Modified',
(int) 305 => 'Use Proxy',
(int) 307 => 'Temporary Redirect',
(int) 400 => 'Bad Request',
(int) 401 => 'Unauthorized',
(int) 402 => 'Payment Required',
(int) 403 => 'Forbidden',
(int) 404 => 'Not Found',
(int) 405 => 'Method Not Allowed',
(int) 406 => 'Not Acceptable',
(int) 407 => 'Proxy Authentication Required',
(int) 408 => 'Request Time-out',
(int) 409 => 'Conflict',
(int) 410 => 'Gone',
(int) 411 => 'Length Required',
(int) 412 => 'Precondition Failed',
(int) 413 => 'Request Entity Too Large',
(int) 414 => 'Request-URI Too Large',
(int) 415 => 'Unsupported Media Type',
(int) 416 => 'Requested range not satisfiable',
(int) 417 => 'Expectation Failed',
(int) 500 => 'Internal Server Error',
(int) 501 => 'Not Implemented',
(int) 502 => 'Bad Gateway',
(int) 503 => 'Service Unavailable',
(int) 504 => 'Gateway Time-out',
(int) 505 => 'Unsupported Version'
]
[protected] _mimeTypes => [
'html' => [
(int) 0 => 'text/html',
(int) 1 => '*/*'
],
'json' => 'application/json',
'xml' => [
(int) 0 => 'application/xml',
(int) 1 => 'text/xml'
],
'rss' => 'application/rss+xml',
'ai' => 'application/postscript',
'bcpio' => 'application/x-bcpio',
'bin' => 'application/octet-stream',
'ccad' => 'application/clariscad',
'cdf' => 'application/x-netcdf',
'class' => 'application/octet-stream',
'cpio' => 'application/x-cpio',
'cpt' => 'application/mac-compactpro',
'csh' => 'application/x-csh',
'csv' => [
(int) 0 => 'text/csv',
(int) 1 => 'application/vnd.ms-excel'
],
'dcr' => 'application/x-director',
'dir' => 'application/x-director',
'dms' => 'application/octet-stream',
'doc' => 'application/msword',
'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
'drw' => 'application/drafting',
'dvi' => 'application/x-dvi',
'dwg' => 'application/acad',
'dxf' => 'application/dxf',
'dxr' => 'application/x-director',
'eot' => 'application/vnd.ms-fontobject',
'eps' => 'application/postscript',
'exe' => 'application/octet-stream',
'ez' => 'application/andrew-inset',
'flv' => 'video/x-flv',
'gtar' => 'application/x-gtar',
'gz' => 'application/x-gzip',
'bz2' => 'application/x-bzip',
'7z' => 'application/x-7z-compressed',
'hdf' => 'application/x-hdf',
'hqx' => 'application/mac-binhex40',
'ico' => 'image/x-icon',
'ips' => 'application/x-ipscript',
'ipx' => 'application/x-ipix',
'js' => 'application/javascript',
'latex' => 'application/x-latex',
'lha' => 'application/octet-stream',
'lsp' => 'application/x-lisp',
'lzh' => 'application/octet-stream',
'man' => 'application/x-troff-man',
'me' => 'application/x-troff-me',
'mif' => 'application/vnd.mif',
'ms' => 'application/x-troff-ms',
'nc' => 'application/x-netcdf',
'oda' => 'application/oda',
'otf' => 'font/otf',
'pdf' => 'application/pdf',
'pgn' => 'application/x-chess-pgn',
'pot' => 'application/vnd.ms-powerpoint',
'pps' => 'application/vnd.ms-powerpoint',
'ppt' => 'application/vnd.ms-powerpoint',
'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
'ppz' => 'application/vnd.ms-powerpoint',
'pre' => 'application/x-freelance',
'prt' => 'application/pro_eng',
'ps' => 'application/postscript',
'roff' => 'application/x-troff',
'scm' => 'application/x-lotusscreencam',
'set' => 'application/set',
'sh' => 'application/x-sh',
'shar' => 'application/x-shar',
'sit' => 'application/x-stuffit',
'skd' => 'application/x-koan',
'skm' => 'application/x-koan',
'skp' => 'application/x-koan',
'skt' => 'application/x-koan',
'smi' => 'application/smil',
'smil' => 'application/smil',
'sol' => 'application/solids',
'spl' => 'application/x-futuresplash',
'src' => 'application/x-wais-source',
'step' => 'application/STEP',
'stl' => 'application/SLA',
'stp' => 'application/STEP',
'sv4cpio' => 'application/x-sv4cpio',
'sv4crc' => 'application/x-sv4crc',
'svg' => 'image/svg+xml',
'svgz' => 'image/svg+xml',
'swf' => 'application/x-shockwave-flash',
't' => 'application/x-troff',
'tar' => 'application/x-tar',
'tcl' => 'application/x-tcl',
'tex' => 'application/x-tex',
'texi' => 'application/x-texinfo',
'texinfo' => 'application/x-texinfo',
'tr' => 'application/x-troff',
'tsp' => 'application/dsptype',
'ttc' => 'font/ttf',
'ttf' => 'font/ttf',
'unv' => 'application/i-deas',
'ustar' => 'application/x-ustar',
'vcd' => 'application/x-cdlink',
'vda' => 'application/vda',
'xlc' => 'application/vnd.ms-excel',
'xll' => 'application/vnd.ms-excel',
'xlm' => 'application/vnd.ms-excel',
'xls' => 'application/vnd.ms-excel',
'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
'xlw' => 'application/vnd.ms-excel',
'zip' => 'application/zip',
'aif' => 'audio/x-aiff',
'aifc' => 'audio/x-aiff',
'aiff' => 'audio/x-aiff',
'au' => 'audio/basic',
'kar' => 'audio/midi',
'mid' => 'audio/midi',
'midi' => 'audio/midi',
'mp2' => 'audio/mpeg',
'mp3' => 'audio/mpeg',
'mpga' => 'audio/mpeg',
'ogg' => 'audio/ogg',
'oga' => 'audio/ogg',
'spx' => 'audio/ogg',
'ra' => 'audio/x-realaudio',
'ram' => 'audio/x-pn-realaudio',
'rm' => 'audio/x-pn-realaudio',
'rpm' => 'audio/x-pn-realaudio-plugin',
'snd' => 'audio/basic',
'tsi' => 'audio/TSP-audio',
'wav' => 'audio/x-wav',
'aac' => 'audio/aac',
'asc' => 'text/plain',
'c' => 'text/plain',
'cc' => 'text/plain',
'css' => 'text/css',
'etx' => 'text/x-setext',
'f' => 'text/plain',
'f90' => 'text/plain',
'h' => 'text/plain',
'hh' => 'text/plain',
'htm' => [
(int) 0 => 'text/html',
(int) 1 => '*/*'
],
'ics' => 'text/calendar',
'm' => 'text/plain',
'rtf' => 'text/rtf',
'rtx' => 'text/richtext',
'sgm' => 'text/sgml',
'sgml' => 'text/sgml',
'tsv' => 'text/tab-separated-values',
'tpl' => 'text/template',
'txt' => 'text/plain',
'text' => 'text/plain',
'avi' => 'video/x-msvideo',
'fli' => 'video/x-fli',
'mov' => 'video/quicktime',
'movie' => 'video/x-sgi-movie',
'mpe' => 'video/mpeg',
'mpeg' => 'video/mpeg',
'mpg' => 'video/mpeg',
'qt' => 'video/quicktime',
'viv' => 'video/vnd.vivo',
'vivo' => 'video/vnd.vivo',
'ogv' => 'video/ogg',
'webm' => 'video/webm',
'mp4' => 'video/mp4',
'm4v' => 'video/mp4',
'f4v' => 'video/mp4',
'f4p' => 'video/mp4',
'm4a' => 'audio/mp4',
'f4a' => 'audio/mp4',
'f4b' => 'audio/mp4',
'gif' => 'image/gif',
'ief' => 'image/ief',
'jpg' => 'image/jpeg',
'jpeg' => 'image/jpeg',
'jpe' => 'image/jpeg',
'pbm' => 'image/x-portable-bitmap',
'pgm' => 'image/x-portable-graymap',
'png' => 'image/png',
'pnm' => 'image/x-portable-anymap',
'ppm' => 'image/x-portable-pixmap',
'ras' => 'image/cmu-raster',
'rgb' => 'image/x-rgb',
'tif' => 'image/tiff',
'tiff' => 'image/tiff',
'xbm' => 'image/x-xbitmap',
'xpm' => 'image/x-xpixmap',
'xwd' => 'image/x-xwindowdump',
'ice' => 'x-conference/x-cooltalk',
'iges' => 'model/iges',
'igs' => 'model/iges',
'mesh' => 'model/mesh',
'msh' => 'model/mesh',
'silo' => 'model/mesh',
'vrml' => 'model/vrml',
'wrl' => 'model/vrml',
'mime' => 'www/mime',
'pdb' => 'chemical/x-pdb',
'xyz' => 'chemical/x-pdb',
'javascript' => 'application/javascript',
'form' => 'application/x-www-form-urlencoded',
'file' => 'multipart/form-data',
'xhtml' => [
(int) 0 => 'application/xhtml+xml',
(int) 1 => 'application/xhtml',
(int) 2 => 'text/xhtml'
],
'xhtml-mobile' => 'application/vnd.wap.xhtml+xml',
'atom' => 'application/atom+xml',
'amf' => 'application/x-amf',
'wap' => [
(int) 0 => 'text/vnd.wap.wml',
(int) 1 => 'text/vnd.wap.wmlscript',
(int) 2 => 'image/vnd.wap.wbmp'
],
'wml' => 'text/vnd.wap.wml',
'wmlscript' => 'text/vnd.wap.wmlscript',
'wbmp' => 'image/vnd.wap.wbmp',
'woff' => 'application/x-font-woff',
'webp' => 'image/webp',
'appcache' => 'text/cache-manifest',
'manifest' => 'text/cache-manifest',
'htc' => 'text/x-component',
'rdf' => 'application/xml',
'crx' => 'application/x-chrome-extension',
'oex' => 'application/x-opera-extension',
'xpi' => 'application/x-xpinstall',
'safariextz' => 'application/octet-stream',
'webapp' => 'application/x-web-app-manifest+json',
'vcf' => 'text/x-vcard',
'vtt' => 'text/vtt',
'mkv' => 'video/x-matroska',
'pkpass' => 'application/vnd.apple.pkpass',
'ajax' => 'text/html'
]
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => []
[protected] _body => null
[protected] _file => null
[protected] _fileRange => []
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => []
[protected] _cookies => [
'csrfToken' => [
'name' => 'csrfToken',
'value' => 'de72499329a38e2b40b3a0c473055c7d3227a03d',
'expiry' => (int) 0,
'path' => '/',
'secure' => false,
'expire' => (int) 0,
'domain' => '',
'httpOnly' => false
]
]
}
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 src/Template/Error/pdo_error.ctp