Warning (512): Cache engine Cake\Cache\Engine\ApcuEngine is not properly configured. [CORE/src/Cache/Cache.php, line 178]Code Context $registry->set($name, new NullEngine());
trigger_error($e->getMessage(), E_USER_WARNING);
$name = '_cake_core_'
$registry = object(Cake\Cache\CacheRegistry) {
'_loaded' => [
(int) 0 => '_cake_core_'
]
}
$config = [
'className' => 'Cake\Cache\Engine\ApcuEngine',
'prefix' => 'myapp_cake_core_',
'path' => '/home/peakmn/new.peak.mn/tmp/cache/persistent/',
'serialize' => true,
'duration' => '+2 minutes',
'url' => null
]
$e = object(RuntimeException) {
[protected] message => 'Cache engine Cake\Cache\Engine\ApcuEngine is not properly configured.'
[protected] code => (int) 0
[protected] file => '/home/peakmn/new.peak.mn/vendor/cakephp/cakephp/src/Cache/CacheRegistry.php'
[protected] line => (int) 92
}Cake\Cache\Cache::_buildEngine() - CORE/src/Cache/Cache.php, line 178
Cake\Cache\Cache::engine() - CORE/src/Cache/Cache.php, line 236
Cake\I18n\I18n::translators() - CORE/src/I18n/I18n.php, line 80
Cake\I18n\I18n::getTranslator() - CORE/src/I18n/I18n.php, line 204
__d - CORE/src/I18n/functions.php, line 89
Cake\Controller\Component\AuthComponent::_setDefaults() - CORE/src/Controller/Component/AuthComponent.php, line 504
Cake\Controller\Component\AuthComponent::identify() - CORE/src/Controller/Component/AuthComponent.php, line 822
CakeDC\Users\Controller\Component\RememberMeComponent::beforeFilter() - ROOT/vendor/cakedc/users/src/Controller/Component/RememberMeComponent.php, line 145
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 351
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 328
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 112
Cake\Controller\Controller::startupProcess() - CORE/src/Controller/Controller.php, line 673
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 115
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Warning (512): Cache engine Cake\Cache\Engine\ApcuEngine is not properly configured. [CORE/src/Cache/Cache.php, line 178]Code Context $registry->set($name, new NullEngine());
trigger_error($e->getMessage(), E_USER_WARNING);
$name = '_cake_model_'
$registry = object(Cake\Cache\CacheRegistry) {
'_loaded' => [
(int) 0 => '_cake_core_',
(int) 1 => '_cake_model_'
]
}
$config = [
'className' => 'Cake\Cache\Engine\ApcuEngine',
'prefix' => 'myapp_cake_model_',
'path' => '/home/peakmn/new.peak.mn/tmp/cache/models/',
'serialize' => true,
'duration' => '+2 minutes',
'url' => null
]
$e = object(RuntimeException) {
[protected] message => 'Cache engine Cake\Cache\Engine\ApcuEngine is not properly configured.'
[protected] code => (int) 0
[protected] file => '/home/peakmn/new.peak.mn/vendor/cakephp/cakephp/src/Cache/CacheRegistry.php'
[protected] line => (int) 92
}Cake\Cache\Cache::_buildEngine() - CORE/src/Cache/Cache.php, line 178
Cake\Cache\Cache::engine() - CORE/src/Cache/Cache.php, line 236
Cake\Cache\Cache::read() - CORE/src/Cache/Cache.php, line 378
Cake\Database\Schema\CachedCollection::describe() - CORE/src/Database/Schema/CachedCollection.php, line 55
Cake\ORM\Table::getSchema() - CORE/src/ORM/Table.php, line 566
Batu\Version\Model\Behavior\VersionBehavior::_fields() - ROOT/plugins/Batu/Version/src/Model/Behavior/VersionBehavior.php, line 385
Batu\Version\Model\Behavior\VersionBehavior::setupFieldAssociations() - ROOT/plugins/Batu/Version/src/Model/Behavior/VersionBehavior.php, line 75
Batu\Version\Model\Behavior\VersionBehavior::initialize() - ROOT/plugins/Batu/Version/src/Model/Behavior/VersionBehavior.php, line 59
Cake\ORM\Behavior::__construct() - CORE/src/ORM/Behavior.php, line 165
Cake\ORM\BehaviorRegistry::_create() - CORE/src/ORM/BehaviorRegistry.php, line 147
Cake\Core\ObjectRegistry::load() - CORE/src/Core/ObjectRegistry.php, line 96
Cake\ORM\Table::addBehavior() - CORE/src/ORM/Table.php, line 878
App\Model\Table\PagesTable::initialize() - APP/Model/Table/PagesTable.php, line 35
Cake\ORM\Table::__construct() - CORE/src/ORM/Table.php, line 299
Cake\ORM\Locator\TableLocator::_create() - CORE/src/ORM/Locator/TableLocator.php, line 293
Cake\ORM\Locator\TableLocator::get() - CORE/src/ORM/Locator/TableLocator.php, line 249
Warning (512): Unable to emit headers. Headers sent in file=/home/peakmn/new.peak.mn/vendor/cakephp/cakephp/src/Error/Debugger.php line=855 [CORE/src/Http/ResponseEmitter.php, line 53]Code Context if (Configure::read('debug')) {
trigger_error($message, E_USER_WARNING);
} else {
$response = object(Cake\Http\Response) {
'status' => (int) 302,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Location' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => ''
}
$maxBufferLength = (int) 8192
$file = '/home/peakmn/new.peak.mn/vendor/cakephp/cakephp/src/Error/Debugger.php'
$line = (int) 855
$message = 'Unable to emit headers. Headers sent in file=/home/peakmn/new.peak.mn/vendor/cakephp/cakephp/src/Error/Debugger.php line=855'Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 53
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140
[main] - ROOT/webroot/index.php, line 40
Warning (2): Cannot modify header information - headers already sent by (output started at /home/peakmn/new.peak.mn/vendor/cakephp/cakephp/src/Error/Debugger.php:855) [CORE/src/Http/ResponseEmitter.php, line 154]Code Context $response->getStatusCode(),
($reasonPhrase ? ' ' . $reasonPhrase : '')
));
$response = object(Cake\Http\Response) {
'status' => (int) 302,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Location' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => ''
}
$reasonPhrase = 'Found'header - [internal], line ??
Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 154
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 59
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140
[main] - ROOT/webroot/index.php, line 40
Warning (2): Cannot modify header information - headers already sent by (output started at /home/peakmn/new.peak.mn/vendor/cakephp/cakephp/src/Error/Debugger.php:855) [CORE/src/Http/ResponseEmitter.php, line 183]Code Context foreach ($values as $value) {
header(sprintf(
'%s: %s',
$response = object(Cake\Http\Response) {
'status' => (int) 302,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Location' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => ''
}
$cookies = [
'csrfToken' => [
'name' => 'csrfToken',
'value' => 'b99d6449537a1fec6f9c3e61254a3fdd48aea49cb01eec81c553fd2a463fcd36625ba50862a3d801e43cba4d2ecb747dd0ece430a8b568de8c0d4c6f2c1df35a',
'path' => '/',
'domain' => '',
'secure' => false,
'httpOnly' => false,
'expire' => '0',
'samesite' => null
],
'thisLocale' => [
'name' => 'thisLocale',
'value' => 'Q2FrZQ==.MDYyMzgwMDJiZDhjMzljMmFkZmVmODQ5MzQ3MWQxNmMyMzdiNTRkYWVhMjc1ZmVjMWMxZmM4OWE3MWE1N2JlY8QyWcajGk2xpIYUESOklQGX8723toVxkbF+V/vgLrLr',
'path' => '/',
'domain' => '',
'secure' => false,
'httpOnly' => false,
'expire' => '1778270348',
'samesite' => null
],
'id' => [
'name' => 'id',
'value' => 'Q2FrZQ==.Zjk1OTA3ZDliNDE2YTIyZjdiYWViMzVlYzEyMzkwMDc4MzAwYThmNjBkNmYwMGU2ZTgyMTM2NmQyYTliNWU2NfnlJmWVRjyl5eBuQ/1rq0K53syR5ZhumkRRvcSPCHsydUqh57Vq3OLOTyftkW0uQeyoHuL/3UZ7+34nI72+rU0=',
'path' => '/',
'domain' => '',
'secure' => false,
'httpOnly' => true,
'expire' => '1778270348',
'samesite' => null
]
]
$values = [
(int) 0 => 'text/html; charset=UTF-8'
]
$name = 'Content-Type'
$first = true
$value = 'text/html; charset=UTF-8'header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 183
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 60
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140
[main] - ROOT/webroot/index.php, line 40
Warning (2): Cannot modify header information - headers already sent by (output started at /home/peakmn/new.peak.mn/vendor/cakephp/cakephp/src/Error/Debugger.php:855) [CORE/src/Http/ResponseEmitter.php, line 183]Code Context foreach ($values as $value) {
header(sprintf(
'%s: %s',
$response = object(Cake\Http\Response) {
'status' => (int) 302,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Location' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => ''
}
$cookies = [
'csrfToken' => [
'name' => 'csrfToken',
'value' => 'b99d6449537a1fec6f9c3e61254a3fdd48aea49cb01eec81c553fd2a463fcd36625ba50862a3d801e43cba4d2ecb747dd0ece430a8b568de8c0d4c6f2c1df35a',
'path' => '/',
'domain' => '',
'secure' => false,
'httpOnly' => false,
'expire' => '0',
'samesite' => null
],
'thisLocale' => [
'name' => 'thisLocale',
'value' => 'Q2FrZQ==.MDYyMzgwMDJiZDhjMzljMmFkZmVmODQ5MzQ3MWQxNmMyMzdiNTRkYWVhMjc1ZmVjMWMxZmM4OWE3MWE1N2JlY8QyWcajGk2xpIYUESOklQGX8723toVxkbF+V/vgLrLr',
'path' => '/',
'domain' => '',
'secure' => false,
'httpOnly' => false,
'expire' => '1778270348',
'samesite' => null
],
'id' => [
'name' => 'id',
'value' => 'Q2FrZQ==.Zjk1OTA3ZDliNDE2YTIyZjdiYWViMzVlYzEyMzkwMDc4MzAwYThmNjBkNmYwMGU2ZTgyMTM2NmQyYTliNWU2NfnlJmWVRjyl5eBuQ/1rq0K53syR5ZhumkRRvcSPCHsydUqh57Vq3OLOTyftkW0uQeyoHuL/3UZ7+34nI72+rU0=',
'path' => '/',
'domain' => '',
'secure' => false,
'httpOnly' => true,
'expire' => '1778270348',
'samesite' => null
]
]
$values = [
(int) 0 => 'https://test.peak.mn/'
]
$name = 'Location'
$first = true
$value = 'https://test.peak.mn/'header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 183
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 60
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140
[main] - ROOT/webroot/index.php, line 40
Warning (2): Cannot modify header information - headers already sent by (output started at /home/peakmn/new.peak.mn/vendor/cakephp/cakephp/src/Error/Debugger.php:855) [CORE/src/Http/ResponseEmitter.php, line 269]Code Context setcookie(
$name,
$value,
$name = 'csrfToken'
$value = 'b99d6449537a1fec6f9c3e61254a3fdd48aea49cb01eec81c553fd2a463fcd36625ba50862a3d801e43cba4d2ecb747dd0ece430a8b568de8c0d4c6f2c1df35a'
$options = [
'path' => '/',
'domain' => '',
'secure' => false,
'samesite' => null,
'httponly' => false,
'expires' => '0'
]
setcookie - [internal], line ??
Cake\Http\ResponseEmitter::setcookie() - CORE/src/Http/ResponseEmitter.php, line 269
Cake\Http\ResponseEmitter::emitCookies() - CORE/src/Http/ResponseEmitter.php, line 211
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 192
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 60
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140
[main] - ROOT/webroot/index.php, line 40
Warning (2): Cannot modify header information - headers already sent by (output started at /home/peakmn/new.peak.mn/vendor/cakephp/cakephp/src/Error/Debugger.php:855) [CORE/src/Http/ResponseEmitter.php, line 269]Code Context setcookie(
$name,
$value,
$name = 'thisLocale'
$value = 'Q2FrZQ==.MDYyMzgwMDJiZDhjMzljMmFkZmVmODQ5MzQ3MWQxNmMyMzdiNTRkYWVhMjc1ZmVjMWMxZmM4OWE3MWE1N2JlY8QyWcajGk2xpIYUESOklQGX8723toVxkbF+V/vgLrLr'
$options = [
'path' => '/',
'domain' => '',
'secure' => false,
'samesite' => null,
'httponly' => false,
'expires' => '1778270348'
]
setcookie - [internal], line ??
Cake\Http\ResponseEmitter::setcookie() - CORE/src/Http/ResponseEmitter.php, line 269
Cake\Http\ResponseEmitter::emitCookies() - CORE/src/Http/ResponseEmitter.php, line 211
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 192
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 60
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140
[main] - ROOT/webroot/index.php, line 40
Warning (2): Cannot modify header information - headers already sent by (output started at /home/peakmn/new.peak.mn/vendor/cakephp/cakephp/src/Error/Debugger.php:855) [CORE/src/Http/ResponseEmitter.php, line 269]Code Context setcookie(
$name,
$value,
$name = 'id'
$value = 'Q2FrZQ==.Zjk1OTA3ZDliNDE2YTIyZjdiYWViMzVlYzEyMzkwMDc4MzAwYThmNjBkNmYwMGU2ZTgyMTM2NmQyYTliNWU2NfnlJmWVRjyl5eBuQ/1rq0K53syR5ZhumkRRvcSPCHsydUqh57Vq3OLOTyftkW0uQeyoHuL/3UZ7+34nI72+rU0='
$options = [
'path' => '/',
'domain' => '',
'secure' => false,
'samesite' => null,
'httponly' => true,
'expires' => '1778270348'
]
setcookie - [internal], line ??
Cake\Http\ResponseEmitter::setcookie() - CORE/src/Http/ResponseEmitter.php, line 269
Cake\Http\ResponseEmitter::emitCookies() - CORE/src/Http/ResponseEmitter.php, line 211
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 192
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 60
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140
[main] - ROOT/webroot/index.php, line 40