Notice (8): Undefined index: HTTP_ACCEPT_LANGUAGE [APP/Controller/AppController.php, line 81]Code Context $sys_lang = "";
if(strrpos(strtolower($_SERVER['HTTP_ACCEPT_LANGUAGE']), 'zh-cn') !== false) {
$sys_lang = "ch";
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
$sys_lang = ''
App\Controller\AppController::initialize() - APP/Controller/AppController.php, line 81
Cake\Controller\Controller::__construct() - CORE/src/Controller/Controller.php, line 270
ReflectionClass::newInstance() - [internal], line ??
Cake\Http\ControllerFactory::create() - CORE/src/Http/ControllerFactory.php, line 47
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 91
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Middleware\CsrfProtectionMiddleware::__invoke() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 122
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 170
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 96
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Warning (512): Unable to emit headers. Headers sent in file=/home/towa-fds/www/towa/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/towa-fds/www/towa/vendor/cakephp/cakephp/src/Error/Debugger.php'
$line = (int) 855
$message = 'Unable to emit headers. Headers sent in file=/home/towa-fds/www/towa/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/towa-fds/www/towa/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/towa-fds/www/towa/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' => 'a25e740bc63c00a515aa3494b34435c3d8702a91866f4d20bcfaf5fe4dcb9da5f77161e478576cbaad99795a515b0fda5753535162f6968ab5a07b4429bc13cb',
'path' => '/',
'domain' => '',
'secure' => false,
'httpOnly' => true,
'expire' => '0',
'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/towa-fds/www/towa/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' => 'a25e740bc63c00a515aa3494b34435c3d8702a91866f4d20bcfaf5fe4dcb9da5f77161e478576cbaad99795a515b0fda5753535162f6968ab5a07b4429bc13cb',
'path' => '/',
'domain' => '',
'secure' => false,
'httpOnly' => true,
'expire' => '0',
'samesite' => null
]
]
$values = [
(int) 0 => 'http://towa-fds.com/'
]
$name = 'Location'
$first = true
$value = 'http://towa-fds.com/'
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/towa-fds/www/towa/vendor/cakephp/cakephp/src/Error/Debugger.php:855) [CORE/src/Http/ResponseEmitter.php, line 269]Code Context setcookie(
$name,
$value,
$name = 'csrfToken'
$value = 'a25e740bc63c00a515aa3494b34435c3d8702a91866f4d20bcfaf5fe4dcb9da5f77161e478576cbaad99795a515b0fda5753535162f6968ab5a07b4429bc13cb'
$options = [
'path' => '/',
'domain' => '',
'secure' => false,
'samesite' => null,
'httponly' => true,
'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