Deprecated: Array and string offset access syntax with curly braces is deprecated in /home4/managevu/public_html/shivcomputer/vendor/cakephp/cakephp/src/Filesystem/Folder.php on line 576
Warning (512): Unable to emit headers. Headers sent in file=/home4/managevu/public_html/shivcomputer/vendor/cakephp/cakephp/src/Filesystem/Folder.php line=576 [CORE/src/Http/ResponseEmitter.php, line 48]Code Context if (Configure::read('debug')) {
trigger_error($message, E_USER_WARNING);
} else {
$response = object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Cache-Control' => [
[maximum depth reached]
],
'Date' => [
[maximum depth reached]
],
'Last-Modified' => [
[maximum depth reached]
],
'Expires' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => 'var __debugKitId,
__debugKitBaseUrl;
var elem = document.getElementById('__debug_kit');
if (elem) {
__debugKitId = elem.getAttribute('data-id');
__debugKitBaseUrl = elem.getAttribute('data-url');
elem = null;
}
(function(win, doc) {
var iframe;
var bodyOverflow;
var onMessage = function(event) {
if (event.data === 'collapse') {
iframe.height = 40;
iframe.width = 40;
doc.body.style.overflow = bodyOverflow;
return;
}
if (event.data === 'toolbar') {
iframe.height = 40;
iframe.width = '100%';
doc.body.style.overflow = bodyOverflow;
return;
}
if (event.data === 'expand') {
iframe.width = '100%';
iframe.height = '100%';
doc.body.style.overflow = 'hidden';
return;
}
};
var onReady = function() {
if (!win.__debugKitId) {
return;
}
var body = doc.body;
// Cannot use css text, because of CSP compatibility.
iframe = doc.createElement('iframe');
iframe.style.position = 'fixed';
iframe.style.bottom = 0;
iframe.style.right = 0;
iframe.style.border = 0;
iframe.style.outline = 0;
iframe.style.overflow = 'hidden';
iframe.style.zIndex = 99999;
iframe.height = 40;
iframe.width = 40;
iframe.src = __debugKitBaseUrl + 'debug-kit/toolbar/' + __debugKitId;
body.appendChild(iframe);
bodyOverflow = body.style.overflow;
window.addEventListener('message', onMessage, false);
};
var logAjaxRequest = function(original) {
return function() {
if (this.readyState === 4 && this.getResponseHeader('X-DEBUGKIT-ID')) {
var params = {
requestId: this.getResponseHeader('X-DEBUGKIT-ID'),
status: this.status,
date: new Date,
method: this._arguments && this._arguments[0],
url: this._arguments && this._arguments[1],
type: this.getResponseHeader('Content-Type')
};
iframe.contentWindow.postMessage('ajax-completed$$' + JSON.stringify(params), window.location.origin);
}
if (original) {
return original.apply(this, [].slice.call(arguments));
}
};
};
var proxyAjaxOpen = function() {
var proxied = window.XMLHttpRequest.prototype.open;
window.XMLHttpRequest.prototype.open = function() {
this._arguments = arguments;
return proxied.apply(this, [].slice.call(arguments));
};
};
var proxyAjaxSend = function() {
var proxied = window.XMLHttpRequest.prototype.send;
window.XMLHttpRequest.prototype.send = function() {
this.onreadystatechange = logAjaxRequest(this.onreadystatechange);
return proxied.apply(this, [].slice.call(arguments));
};
};
// Bind on ready callback.
if (doc.addEventListener) {
doc.addEventListener('DOMContentLoaded', onReady, false);
doc.addEventListener('DOMContentLoaded', proxyAjaxOpen, false);
doc.addEventListener('DOMContentLoaded', proxyAjaxSend, false);
} else {
throw new Error('Unable to add event listener for DebugKit. Please use a browser' +
'that supports addEventListener().');
}
}(window, document));
'
}
$maxBufferLength = (int) 8192
$file = '/home4/managevu/public_html/shivcomputer/vendor/cakephp/cakephp/src/Filesystem/Folder.php'
$line = (int) 576
$message = 'Unable to emit headers. Headers sent in file=/home4/managevu/public_html/shivcomputer/vendor/cakephp/cakephp/src/Filesystem/Folder.php line=576'
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 48
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 106
[main] - ROOT/webroot/index.php, line 40
Warning (2): Cannot modify header information - headers already sent by (output started at /home4/managevu/public_html/shivcomputer/vendor/cakephp/cakephp/src/Filesystem/Folder.php:576) [CORE/src/Http/ResponseEmitter.php, line 148]Code Context $response->getStatusCode(),
($reasonPhrase ? ' ' . $reasonPhrase : '')
));
$response = object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Cache-Control' => [
[maximum depth reached]
],
'Date' => [
[maximum depth reached]
],
'Last-Modified' => [
[maximum depth reached]
],
'Expires' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => 'var __debugKitId,
__debugKitBaseUrl;
var elem = document.getElementById('__debug_kit');
if (elem) {
__debugKitId = elem.getAttribute('data-id');
__debugKitBaseUrl = elem.getAttribute('data-url');
elem = null;
}
(function(win, doc) {
var iframe;
var bodyOverflow;
var onMessage = function(event) {
if (event.data === 'collapse') {
iframe.height = 40;
iframe.width = 40;
doc.body.style.overflow = bodyOverflow;
return;
}
if (event.data === 'toolbar') {
iframe.height = 40;
iframe.width = '100%';
doc.body.style.overflow = bodyOverflow;
return;
}
if (event.data === 'expand') {
iframe.width = '100%';
iframe.height = '100%';
doc.body.style.overflow = 'hidden';
return;
}
};
var onReady = function() {
if (!win.__debugKitId) {
return;
}
var body = doc.body;
// Cannot use css text, because of CSP compatibility.
iframe = doc.createElement('iframe');
iframe.style.position = 'fixed';
iframe.style.bottom = 0;
iframe.style.right = 0;
iframe.style.border = 0;
iframe.style.outline = 0;
iframe.style.overflow = 'hidden';
iframe.style.zIndex = 99999;
iframe.height = 40;
iframe.width = 40;
iframe.src = __debugKitBaseUrl + 'debug-kit/toolbar/' + __debugKitId;
body.appendChild(iframe);
bodyOverflow = body.style.overflow;
window.addEventListener('message', onMessage, false);
};
var logAjaxRequest = function(original) {
return function() {
if (this.readyState === 4 && this.getResponseHeader('X-DEBUGKIT-ID')) {
var params = {
requestId: this.getResponseHeader('X-DEBUGKIT-ID'),
status: this.status,
date: new Date,
method: this._arguments && this._arguments[0],
url: this._arguments && this._arguments[1],
type: this.getResponseHeader('Content-Type')
};
iframe.contentWindow.postMessage('ajax-completed$$' + JSON.stringify(params), window.location.origin);
}
if (original) {
return original.apply(this, [].slice.call(arguments));
}
};
};
var proxyAjaxOpen = function() {
var proxied = window.XMLHttpRequest.prototype.open;
window.XMLHttpRequest.prototype.open = function() {
this._arguments = arguments;
return proxied.apply(this, [].slice.call(arguments));
};
};
var proxyAjaxSend = function() {
var proxied = window.XMLHttpRequest.prototype.send;
window.XMLHttpRequest.prototype.send = function() {
this.onreadystatechange = logAjaxRequest(this.onreadystatechange);
return proxied.apply(this, [].slice.call(arguments));
};
};
// Bind on ready callback.
if (doc.addEventListener) {
doc.addEventListener('DOMContentLoaded', onReady, false);
doc.addEventListener('DOMContentLoaded', proxyAjaxOpen, false);
doc.addEventListener('DOMContentLoaded', proxyAjaxSend, false);
} else {
throw new Error('Unable to add event listener for DebugKit. Please use a browser' +
'that supports addEventListener().');
}
}(window, document));
'
}
$reasonPhrase = 'OK'
header - [internal], line ??
Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 148
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 54
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 106
[main] - ROOT/webroot/index.php, line 40
Warning (2): Cannot modify header information - headers already sent by (output started at /home4/managevu/public_html/shivcomputer/vendor/cakephp/cakephp/src/Filesystem/Folder.php:576) [CORE/src/Http/ResponseEmitter.php, line 177]Code Context foreach ($values as $value) {
header(sprintf(
'%s: %s',
$response = object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Cache-Control' => [
[maximum depth reached]
],
'Date' => [
[maximum depth reached]
],
'Last-Modified' => [
[maximum depth reached]
],
'Expires' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => 'var __debugKitId,
__debugKitBaseUrl;
var elem = document.getElementById('__debug_kit');
if (elem) {
__debugKitId = elem.getAttribute('data-id');
__debugKitBaseUrl = elem.getAttribute('data-url');
elem = null;
}
(function(win, doc) {
var iframe;
var bodyOverflow;
var onMessage = function(event) {
if (event.data === 'collapse') {
iframe.height = 40;
iframe.width = 40;
doc.body.style.overflow = bodyOverflow;
return;
}
if (event.data === 'toolbar') {
iframe.height = 40;
iframe.width = '100%';
doc.body.style.overflow = bodyOverflow;
return;
}
if (event.data === 'expand') {
iframe.width = '100%';
iframe.height = '100%';
doc.body.style.overflow = 'hidden';
return;
}
};
var onReady = function() {
if (!win.__debugKitId) {
return;
}
var body = doc.body;
// Cannot use css text, because of CSP compatibility.
iframe = doc.createElement('iframe');
iframe.style.position = 'fixed';
iframe.style.bottom = 0;
iframe.style.right = 0;
iframe.style.border = 0;
iframe.style.outline = 0;
iframe.style.overflow = 'hidden';
iframe.style.zIndex = 99999;
iframe.height = 40;
iframe.width = 40;
iframe.src = __debugKitBaseUrl + 'debug-kit/toolbar/' + __debugKitId;
body.appendChild(iframe);
bodyOverflow = body.style.overflow;
window.addEventListener('message', onMessage, false);
};
var logAjaxRequest = function(original) {
return function() {
if (this.readyState === 4 && this.getResponseHeader('X-DEBUGKIT-ID')) {
var params = {
requestId: this.getResponseHeader('X-DEBUGKIT-ID'),
status: this.status,
date: new Date,
method: this._arguments && this._arguments[0],
url: this._arguments && this._arguments[1],
type: this.getResponseHeader('Content-Type')
};
iframe.contentWindow.postMessage('ajax-completed$$' + JSON.stringify(params), window.location.origin);
}
if (original) {
return original.apply(this, [].slice.call(arguments));
}
};
};
var proxyAjaxOpen = function() {
var proxied = window.XMLHttpRequest.prototype.open;
window.XMLHttpRequest.prototype.open = function() {
this._arguments = arguments;
return proxied.apply(this, [].slice.call(arguments));
};
};
var proxyAjaxSend = function() {
var proxied = window.XMLHttpRequest.prototype.send;
window.XMLHttpRequest.prototype.send = function() {
this.onreadystatechange = logAjaxRequest(this.onreadystatechange);
return proxied.apply(this, [].slice.call(arguments));
};
};
// Bind on ready callback.
if (doc.addEventListener) {
doc.addEventListener('DOMContentLoaded', onReady, false);
doc.addEventListener('DOMContentLoaded', proxyAjaxOpen, false);
doc.addEventListener('DOMContentLoaded', proxyAjaxSend, false);
} else {
throw new Error('Unable to add event listener for DebugKit. Please use a browser' +
'that supports addEventListener().');
}
}(window, document));
'
}
$cookies = []
$values = [
(int) 0 => 'application/javascript'
]
$name = 'Content-Type'
$first = true
$value = 'application/javascript'
header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 177
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 55
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 106
[main] - ROOT/webroot/index.php, line 40
Warning (2): Cannot modify header information - headers already sent by (output started at /home4/managevu/public_html/shivcomputer/vendor/cakephp/cakephp/src/Filesystem/Folder.php:576) [CORE/src/Http/ResponseEmitter.php, line 177]Code Context foreach ($values as $value) {
header(sprintf(
'%s: %s',
$response = object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Cache-Control' => [
[maximum depth reached]
],
'Date' => [
[maximum depth reached]
],
'Last-Modified' => [
[maximum depth reached]
],
'Expires' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => 'var __debugKitId,
__debugKitBaseUrl;
var elem = document.getElementById('__debug_kit');
if (elem) {
__debugKitId = elem.getAttribute('data-id');
__debugKitBaseUrl = elem.getAttribute('data-url');
elem = null;
}
(function(win, doc) {
var iframe;
var bodyOverflow;
var onMessage = function(event) {
if (event.data === 'collapse') {
iframe.height = 40;
iframe.width = 40;
doc.body.style.overflow = bodyOverflow;
return;
}
if (event.data === 'toolbar') {
iframe.height = 40;
iframe.width = '100%';
doc.body.style.overflow = bodyOverflow;
return;
}
if (event.data === 'expand') {
iframe.width = '100%';
iframe.height = '100%';
doc.body.style.overflow = 'hidden';
return;
}
};
var onReady = function() {
if (!win.__debugKitId) {
return;
}
var body = doc.body;
// Cannot use css text, because of CSP compatibility.
iframe = doc.createElement('iframe');
iframe.style.position = 'fixed';
iframe.style.bottom = 0;
iframe.style.right = 0;
iframe.style.border = 0;
iframe.style.outline = 0;
iframe.style.overflow = 'hidden';
iframe.style.zIndex = 99999;
iframe.height = 40;
iframe.width = 40;
iframe.src = __debugKitBaseUrl + 'debug-kit/toolbar/' + __debugKitId;
body.appendChild(iframe);
bodyOverflow = body.style.overflow;
window.addEventListener('message', onMessage, false);
};
var logAjaxRequest = function(original) {
return function() {
if (this.readyState === 4 && this.getResponseHeader('X-DEBUGKIT-ID')) {
var params = {
requestId: this.getResponseHeader('X-DEBUGKIT-ID'),
status: this.status,
date: new Date,
method: this._arguments && this._arguments[0],
url: this._arguments && this._arguments[1],
type: this.getResponseHeader('Content-Type')
};
iframe.contentWindow.postMessage('ajax-completed$$' + JSON.stringify(params), window.location.origin);
}
if (original) {
return original.apply(this, [].slice.call(arguments));
}
};
};
var proxyAjaxOpen = function() {
var proxied = window.XMLHttpRequest.prototype.open;
window.XMLHttpRequest.prototype.open = function() {
this._arguments = arguments;
return proxied.apply(this, [].slice.call(arguments));
};
};
var proxyAjaxSend = function() {
var proxied = window.XMLHttpRequest.prototype.send;
window.XMLHttpRequest.prototype.send = function() {
this.onreadystatechange = logAjaxRequest(this.onreadystatechange);
return proxied.apply(this, [].slice.call(arguments));
};
};
// Bind on ready callback.
if (doc.addEventListener) {
doc.addEventListener('DOMContentLoaded', onReady, false);
doc.addEventListener('DOMContentLoaded', proxyAjaxOpen, false);
doc.addEventListener('DOMContentLoaded', proxyAjaxSend, false);
} else {
throw new Error('Unable to add event listener for DebugKit. Please use a browser' +
'that supports addEventListener().');
}
}(window, document));
'
}
$cookies = []
$values = [
(int) 0 => 'public,max-age=86400'
]
$name = 'Cache-Control'
$first = true
$value = 'public,max-age=86400'
header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 177
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 55
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 106
[main] - ROOT/webroot/index.php, line 40
Warning (2): Cannot modify header information - headers already sent by (output started at /home4/managevu/public_html/shivcomputer/vendor/cakephp/cakephp/src/Filesystem/Folder.php:576) [CORE/src/Http/ResponseEmitter.php, line 177]Code Context foreach ($values as $value) {
header(sprintf(
'%s: %s',
$response = object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Cache-Control' => [
[maximum depth reached]
],
'Date' => [
[maximum depth reached]
],
'Last-Modified' => [
[maximum depth reached]
],
'Expires' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => 'var __debugKitId,
__debugKitBaseUrl;
var elem = document.getElementById('__debug_kit');
if (elem) {
__debugKitId = elem.getAttribute('data-id');
__debugKitBaseUrl = elem.getAttribute('data-url');
elem = null;
}
(function(win, doc) {
var iframe;
var bodyOverflow;
var onMessage = function(event) {
if (event.data === 'collapse') {
iframe.height = 40;
iframe.width = 40;
doc.body.style.overflow = bodyOverflow;
return;
}
if (event.data === 'toolbar') {
iframe.height = 40;
iframe.width = '100%';
doc.body.style.overflow = bodyOverflow;
return;
}
if (event.data === 'expand') {
iframe.width = '100%';
iframe.height = '100%';
doc.body.style.overflow = 'hidden';
return;
}
};
var onReady = function() {
if (!win.__debugKitId) {
return;
}
var body = doc.body;
// Cannot use css text, because of CSP compatibility.
iframe = doc.createElement('iframe');
iframe.style.position = 'fixed';
iframe.style.bottom = 0;
iframe.style.right = 0;
iframe.style.border = 0;
iframe.style.outline = 0;
iframe.style.overflow = 'hidden';
iframe.style.zIndex = 99999;
iframe.height = 40;
iframe.width = 40;
iframe.src = __debugKitBaseUrl + 'debug-kit/toolbar/' + __debugKitId;
body.appendChild(iframe);
bodyOverflow = body.style.overflow;
window.addEventListener('message', onMessage, false);
};
var logAjaxRequest = function(original) {
return function() {
if (this.readyState === 4 && this.getResponseHeader('X-DEBUGKIT-ID')) {
var params = {
requestId: this.getResponseHeader('X-DEBUGKIT-ID'),
status: this.status,
date: new Date,
method: this._arguments && this._arguments[0],
url: this._arguments && this._arguments[1],
type: this.getResponseHeader('Content-Type')
};
iframe.contentWindow.postMessage('ajax-completed$$' + JSON.stringify(params), window.location.origin);
}
if (original) {
return original.apply(this, [].slice.call(arguments));
}
};
};
var proxyAjaxOpen = function() {
var proxied = window.XMLHttpRequest.prototype.open;
window.XMLHttpRequest.prototype.open = function() {
this._arguments = arguments;
return proxied.apply(this, [].slice.call(arguments));
};
};
var proxyAjaxSend = function() {
var proxied = window.XMLHttpRequest.prototype.send;
window.XMLHttpRequest.prototype.send = function() {
this.onreadystatechange = logAjaxRequest(this.onreadystatechange);
return proxied.apply(this, [].slice.call(arguments));
};
};
// Bind on ready callback.
if (doc.addEventListener) {
doc.addEventListener('DOMContentLoaded', onReady, false);
doc.addEventListener('DOMContentLoaded', proxyAjaxOpen, false);
doc.addEventListener('DOMContentLoaded', proxyAjaxSend, false);
} else {
throw new Error('Unable to add event listener for DebugKit. Please use a browser' +
'that supports addEventListener().');
}
}(window, document));
'
}
$cookies = []
$values = [
(int) 0 => 'Thu, 16 May 2024 20:05:33 GMT'
]
$name = 'Date'
$first = true
$value = 'Thu, 16 May 2024 20:05:33 GMT'
header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 177
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 55
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 106
[main] - ROOT/webroot/index.php, line 40
Warning (2): Cannot modify header information - headers already sent by (output started at /home4/managevu/public_html/shivcomputer/vendor/cakephp/cakephp/src/Filesystem/Folder.php:576) [CORE/src/Http/ResponseEmitter.php, line 177]Code Context foreach ($values as $value) {
header(sprintf(
'%s: %s',
$response = object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Cache-Control' => [
[maximum depth reached]
],
'Date' => [
[maximum depth reached]
],
'Last-Modified' => [
[maximum depth reached]
],
'Expires' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => 'var __debugKitId,
__debugKitBaseUrl;
var elem = document.getElementById('__debug_kit');
if (elem) {
__debugKitId = elem.getAttribute('data-id');
__debugKitBaseUrl = elem.getAttribute('data-url');
elem = null;
}
(function(win, doc) {
var iframe;
var bodyOverflow;
var onMessage = function(event) {
if (event.data === 'collapse') {
iframe.height = 40;
iframe.width = 40;
doc.body.style.overflow = bodyOverflow;
return;
}
if (event.data === 'toolbar') {
iframe.height = 40;
iframe.width = '100%';
doc.body.style.overflow = bodyOverflow;
return;
}
if (event.data === 'expand') {
iframe.width = '100%';
iframe.height = '100%';
doc.body.style.overflow = 'hidden';
return;
}
};
var onReady = function() {
if (!win.__debugKitId) {
return;
}
var body = doc.body;
// Cannot use css text, because of CSP compatibility.
iframe = doc.createElement('iframe');
iframe.style.position = 'fixed';
iframe.style.bottom = 0;
iframe.style.right = 0;
iframe.style.border = 0;
iframe.style.outline = 0;
iframe.style.overflow = 'hidden';
iframe.style.zIndex = 99999;
iframe.height = 40;
iframe.width = 40;
iframe.src = __debugKitBaseUrl + 'debug-kit/toolbar/' + __debugKitId;
body.appendChild(iframe);
bodyOverflow = body.style.overflow;
window.addEventListener('message', onMessage, false);
};
var logAjaxRequest = function(original) {
return function() {
if (this.readyState === 4 && this.getResponseHeader('X-DEBUGKIT-ID')) {
var params = {
requestId: this.getResponseHeader('X-DEBUGKIT-ID'),
status: this.status,
date: new Date,
method: this._arguments && this._arguments[0],
url: this._arguments && this._arguments[1],
type: this.getResponseHeader('Content-Type')
};
iframe.contentWindow.postMessage('ajax-completed$$' + JSON.stringify(params), window.location.origin);
}
if (original) {
return original.apply(this, [].slice.call(arguments));
}
};
};
var proxyAjaxOpen = function() {
var proxied = window.XMLHttpRequest.prototype.open;
window.XMLHttpRequest.prototype.open = function() {
this._arguments = arguments;
return proxied.apply(this, [].slice.call(arguments));
};
};
var proxyAjaxSend = function() {
var proxied = window.XMLHttpRequest.prototype.send;
window.XMLHttpRequest.prototype.send = function() {
this.onreadystatechange = logAjaxRequest(this.onreadystatechange);
return proxied.apply(this, [].slice.call(arguments));
};
};
// Bind on ready callback.
if (doc.addEventListener) {
doc.addEventListener('DOMContentLoaded', onReady, false);
doc.addEventListener('DOMContentLoaded', proxyAjaxOpen, false);
doc.addEventListener('DOMContentLoaded', proxyAjaxSend, false);
} else {
throw new Error('Unable to add event listener for DebugKit. Please use a browser' +
'that supports addEventListener().');
}
}(window, document));
'
}
$cookies = []
$values = [
(int) 0 => 'Thu, 8 Mar 2018 18:21:10 GMT'
]
$name = 'Last-Modified'
$first = true
$value = 'Thu, 8 Mar 2018 18:21:10 GMT'
header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 177
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 55
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 106
[main] - ROOT/webroot/index.php, line 40
Warning (2): Cannot modify header information - headers already sent by (output started at /home4/managevu/public_html/shivcomputer/vendor/cakephp/cakephp/src/Filesystem/Folder.php:576) [CORE/src/Http/ResponseEmitter.php, line 177]Code Context foreach ($values as $value) {
header(sprintf(
'%s: %s',
$response = object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
],
'Cache-Control' => [
[maximum depth reached]
],
'Date' => [
[maximum depth reached]
],
'Last-Modified' => [
[maximum depth reached]
],
'Expires' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => 'var __debugKitId,
__debugKitBaseUrl;
var elem = document.getElementById('__debug_kit');
if (elem) {
__debugKitId = elem.getAttribute('data-id');
__debugKitBaseUrl = elem.getAttribute('data-url');
elem = null;
}
(function(win, doc) {
var iframe;
var bodyOverflow;
var onMessage = function(event) {
if (event.data === 'collapse') {
iframe.height = 40;
iframe.width = 40;
doc.body.style.overflow = bodyOverflow;
return;
}
if (event.data === 'toolbar') {
iframe.height = 40;
iframe.width = '100%';
doc.body.style.overflow = bodyOverflow;
return;
}
if (event.data === 'expand') {
iframe.width = '100%';
iframe.height = '100%';
doc.body.style.overflow = 'hidden';
return;
}
};
var onReady = function() {
if (!win.__debugKitId) {
return;
}
var body = doc.body;
// Cannot use css text, because of CSP compatibility.
iframe = doc.createElement('iframe');
iframe.style.position = 'fixed';
iframe.style.bottom = 0;
iframe.style.right = 0;
iframe.style.border = 0;
iframe.style.outline = 0;
iframe.style.overflow = 'hidden';
iframe.style.zIndex = 99999;
iframe.height = 40;
iframe.width = 40;
iframe.src = __debugKitBaseUrl + 'debug-kit/toolbar/' + __debugKitId;
body.appendChild(iframe);
bodyOverflow = body.style.overflow;
window.addEventListener('message', onMessage, false);
};
var logAjaxRequest = function(original) {
return function() {
if (this.readyState === 4 && this.getResponseHeader('X-DEBUGKIT-ID')) {
var params = {
requestId: this.getResponseHeader('X-DEBUGKIT-ID'),
status: this.status,
date: new Date,
method: this._arguments && this._arguments[0],
url: this._arguments && this._arguments[1],
type: this.getResponseHeader('Content-Type')
};
iframe.contentWindow.postMessage('ajax-completed$$' + JSON.stringify(params), window.location.origin);
}
if (original) {
return original.apply(this, [].slice.call(arguments));
}
};
};
var proxyAjaxOpen = function() {
var proxied = window.XMLHttpRequest.prototype.open;
window.XMLHttpRequest.prototype.open = function() {
this._arguments = arguments;
return proxied.apply(this, [].slice.call(arguments));
};
};
var proxyAjaxSend = function() {
var proxied = window.XMLHttpRequest.prototype.send;
window.XMLHttpRequest.prototype.send = function() {
this.onreadystatechange = logAjaxRequest(this.onreadystatechange);
return proxied.apply(this, [].slice.call(arguments));
};
};
// Bind on ready callback.
if (doc.addEventListener) {
doc.addEventListener('DOMContentLoaded', onReady, false);
doc.addEventListener('DOMContentLoaded', proxyAjaxOpen, false);
doc.addEventListener('DOMContentLoaded', proxyAjaxSend, false);
} else {
throw new Error('Unable to add event listener for DebugKit. Please use a browser' +
'that supports addEventListener().');
}
}(window, document));
'
}
$cookies = []
$values = [
(int) 0 => 'Fri, 17 May 2024 20:05:33 GMT'
]
$name = 'Expires'
$first = true
$value = 'Fri, 17 May 2024 20:05:33 GMT'
header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 177
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 55
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 106
[main] - ROOT/webroot/index.php, line 40
var __debugKitId,
__debugKitBaseUrl;
var elem = document.getElementById('__debug_kit');
if (elem) {
__debugKitId = elem.getAttribute('data-id');
__debugKitBaseUrl = elem.getAttribute('data-url');
elem = null;
}
(function(win, doc) {
var iframe;
var bodyOverflow;
var onMessage = function(event) {
if (event.data === 'collapse') {
iframe.height = 40;
iframe.width = 40;
doc.body.style.overflow = bodyOverflow;
return;
}
if (event.data === 'toolbar') {
iframe.height = 40;
iframe.width = '100%';
doc.body.style.overflow = bodyOverflow;
return;
}
if (event.data === 'expand') {
iframe.width = '100%';
iframe.height = '100%';
doc.body.style.overflow = 'hidden';
return;
}
};
var onReady = function() {
if (!win.__debugKitId) {
return;
}
var body = doc.body;
// Cannot use css text, because of CSP compatibility.
iframe = doc.createElement('iframe');
iframe.style.position = 'fixed';
iframe.style.bottom = 0;
iframe.style.right = 0;
iframe.style.border = 0;
iframe.style.outline = 0;
iframe.style.overflow = 'hidden';
iframe.style.zIndex = 99999;
iframe.height = 40;
iframe.width = 40;
iframe.src = __debugKitBaseUrl + 'debug-kit/toolbar/' + __debugKitId;
body.appendChild(iframe);
bodyOverflow = body.style.overflow;
window.addEventListener('message', onMessage, false);
};
var logAjaxRequest = function(original) {
return function() {
if (this.readyState === 4 && this.getResponseHeader('X-DEBUGKIT-ID')) {
var params = {
requestId: this.getResponseHeader('X-DEBUGKIT-ID'),
status: this.status,
date: new Date,
method: this._arguments && this._arguments[0],
url: this._arguments && this._arguments[1],
type: this.getResponseHeader('Content-Type')
};
iframe.contentWindow.postMessage('ajax-completed$$' + JSON.stringify(params), window.location.origin);
}
if (original) {
return original.apply(this, [].slice.call(arguments));
}
};
};
var proxyAjaxOpen = function() {
var proxied = window.XMLHttpRequest.prototype.open;
window.XMLHttpRequest.prototype.open = function() {
this._arguments = arguments;
return proxied.apply(this, [].slice.call(arguments));
};
};
var proxyAjaxSend = function() {
var proxied = window.XMLHttpRequest.prototype.send;
window.XMLHttpRequest.prototype.send = function() {
this.onreadystatechange = logAjaxRequest(this.onreadystatechange);
return proxied.apply(this, [].slice.call(arguments));
};
};
// Bind on ready callback.
if (doc.addEventListener) {
doc.addEventListener('DOMContentLoaded', onReady, false);
doc.addEventListener('DOMContentLoaded', proxyAjaxOpen, false);
doc.addEventListener('DOMContentLoaded', proxyAjaxSend, false);
} else {
throw new Error('Unable to add event listener for DebugKit. Please use a browser' +
'that supports addEventListener().');
}
}(window, document));