Deprecated: Unknown: Use of mbstring.internal_encoding is deprecated in Unknown on line 0

Deprecated: Unknown: Use of mbstring.http_input is deprecated in Unknown on line 0

Deprecated: Unknown: Use of mbstring.http_output is deprecated in Unknown on line 0

Warning: Unknown: Session ini settings cannot be changed after headers have already been sent in Unknown on line 0

Warning: Unknown: Session ini settings cannot be changed after headers have already been sent in Unknown on line 0

Warning: Unknown: Session ini settings cannot be changed after headers have already been sent in Unknown on line 0

Warning: Unknown: Session ini settings cannot be changed after headers have already been sent in Unknown on line 0

Warning: Unknown: Session ini settings cannot be changed after headers have already been sent in Unknown on line 0

Warning: Unknown: Session ini settings cannot be changed after headers have already been sent in Unknown on line 0

Warning: Unknown: Session ini settings cannot be changed after headers have already been sent in Unknown on line 0

Warning: Unknown: Session ini settings cannot be changed after headers have already been sent in Unknown on line 0

Warning: Unknown: Session ini settings cannot be changed after headers have already been sent in Unknown on line 0

Warning: Unknown: Session ini settings cannot be changed after headers have already been sent in Unknown on line 0

Warning: Unknown: Session ini settings cannot be changed after headers have already been sent in Unknown on line 0

Warning: Unknown: Session ini settings cannot be changed after headers have already been sent in Unknown on line 0

Warning: Unknown: Session ini settings cannot be changed after headers have already been sent in Unknown on line 0

Warning: Unknown: Session ini settings cannot be changed after headers have already been sent in Unknown on line 0

Warning: Unknown: Session ini settings cannot be changed after headers have already been sent in Unknown on line 0

Warning: Unknown: Session ini settings cannot be changed after headers have already been sent in Unknown on line 0

Warning: Unknown: Session ini settings cannot be changed after headers have already been sent in Unknown on line 0
Warning (512) : Unable to emit headers. Headers sent in file= line=0 [in /home/tbeauty/tsunagaru-beauty.com/public_html/dev.tsunagaru-beauty.com/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 71]
Warning (2) : Cannot modify header information - headers already sent [in /home/tbeauty/tsunagaru-beauty.com/public_html/dev.tsunagaru-beauty.com/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 168]
Warning (2) : Cannot modify header information - headers already sent [in /home/tbeauty/tsunagaru-beauty.com/public_html/dev.tsunagaru-beauty.com/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197]
Warning (2) : Cannot modify header information - headers already sent [in /home/tbeauty/tsunagaru-beauty.com/public_html/dev.tsunagaru-beauty.com/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197]
Warning (2) : Cannot modify header information - headers already sent [in /home/tbeauty/tsunagaru-beauty.com/public_html/dev.tsunagaru-beauty.com/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197]
Warning (2) : Cannot modify header information - headers already sent [in /home/tbeauty/tsunagaru-beauty.com/public_html/dev.tsunagaru-beauty.com/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197]
Warning (2) : Cannot modify header information - headers already sent [in /home/tbeauty/tsunagaru-beauty.com/public_html/dev.tsunagaru-beauty.com/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197]
let elem = document.getElementById('__debug_kit_script'); if (elem) { window.debugKitId = elem.getAttribute('data-id'); window.debugKitBaseUrl = elem.getAttribute('data-url'); elem = null; } ((win, doc) => { let iframe; let bodyOverflow; const onMessage = (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'; } }; const onReady = () => { if (!win.debugKitId) { return; } const { body } = doc; // 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 = `${window.debugKitBaseUrl}debug-kit/toolbar/${window.debugKitId}`; body.appendChild(iframe); bodyOverflow = body.style.overflow; window.addEventListener('message', onMessage, false); }; const logAjaxRequest = (original) => function ajaxRequest() { if (this.readyState === 4 && this.getResponseHeader('X-DEBUGKIT-ID')) { const 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)); } return false; }; const proxyAjaxOpen = () => { const proxied = window.XMLHttpRequest.prototype.open; window.XMLHttpRequest.prototype.open = function ajaxCall(...args) { this._arguments = args; return proxied.apply(this, [].slice.call(args)); }; }; const proxyAjaxSend = () => { const proxied = window.XMLHttpRequest.prototype.send; window.XMLHttpRequest.prototype.send = function ajaxCall(...args) { this.onreadystatechange = logAjaxRequest(this.onreadystatechange); return proxied.apply(this, [].slice.call(args)); }; }; // Bind on ready callbacks to DOMContentLoaded (native js) and turbolinks:load // Turbolinks replaces the body and merges the head of an HTML page. // Since the body is already loaded (DOMContentLoaded), the event is not triggered. if (doc.addEventListener) { // This ensures that all event listeners get applied only once. if (!win.debugKitListenersApplied) { // The DOMContentLoaded is for all pages that do not have Turbolinks doc.addEventListener('DOMContentLoaded', onReady, false); doc.addEventListener('DOMContentLoaded', proxyAjaxOpen, false); doc.addEventListener('DOMContentLoaded', proxyAjaxSend, false); // turbolinks:load is the alternative DOMContentLoaded Event of Turbolinks // https://github.com/turbolinks/turbolinks // https://github.com/cakephp/debug_kit/pull/664 doc.addEventListener('turbolinks:load', onReady, false); doc.addEventListener('turbolinks:load', proxyAjaxOpen, false); doc.addEventListener('turbolinks:load', proxyAjaxSend, false); win.debugKitListenersApplied = true; } } else { throw new Error('Unable to add event listener for DebugKit. Please use a browser' + ' that supports addEventListener().'); } })(window, document);