Warning (2) : file_put_contents(/var/www/html/api/logs/error.log): failed to open stream: Permission denied [CORE/src/Log/Engine/FileLog.php , line 131 ]Code Context if (! $mask ) {
file_put_contents ( $pathname , $output , FILE_APPEND );
$level =
'warning'
$message = 'DebugKit is disabling itself as your host `devapi.bigbranding.com.au` is not in the known safe list of top-level-domains (localhost, invalid, test, example, local). If you would like to force DebugKit on use the `DebugKit.forceEnable` Configure option.'
$context = [
'scope' => [
] ,
]
$output = '2025-10-27 13:25:56 Warning: DebugKit is disabling itself as your host `devapi.bigbranding.com.au` is not in the known safe list of top-level-domains (localhost, invalid, test, example, local). If you would like to force DebugKit on use the `DebugKit.forceEnable` Configure option.
'
$filename = 'error.log'
$pathname = '/var/www/html/api/logs/error.log'
$mask = null
file_put_contents - [internal], line ??
Cake\Log\Engine\FileLog::log() - CORE/src/Log/Engine/FileLog.php, line 131
Cake\Log\Log::write() - CORE/src/Log/Log.php, line 390
Cake\Log\Log::warning() - CORE/src/Log/Log.php, line 475
DebugKit\ToolbarService::isSuspiciouslyProduction() - ROOT/vendor/cakephp/debug_kit/src/ToolbarService.php, line 168
DebugKit\ToolbarService::isEnabled() - ROOT/vendor/cakephp/debug_kit/src/ToolbarService.php, line 104
DebugKit\Plugin::bootstrap() - ROOT/vendor/cakephp/debug_kit/src/Plugin.php, line 48
Cake\Http\BaseApplication::pluginBootstrap() - CORE/src/Http/BaseApplication.php, line 181
Cake\Http\Server::bootstrap() - CORE/src/Http/Server.php, line 111
Cake\Http\Server::run() - CORE/src/Http/Server.php, line 79
require - ROOT/webroot/index.php, line 40
[main] - ROOT/index.php, line 16
Warning : file_put_contents(/var/www/html/api/logs/error.log) [function.file-put-contents ]: failed to open stream: Permission denied in /var/www/html/api/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 131
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/html/api/vendor/cakephp/cakephp/src/Error/Debugger.php:970) [APP/Controller/AppController.php , line 76 ]Code Context parent :: beforeFilter ( $event );
header ( 'Access-Control-Allow-Origin: *' );
header ( 'Access-Control-Allow-Methods: POST, GET, PUT, PATCH, DELETE, OPTIONS' ); $event = object( Cake\Event\Event ) id: 0 {
protected _name => 'Controller.initialize'
protected _subject => object( App\Controller\PagesController ) id: 1 {
}
protected _data => [
]
protected result => null
protected _stopped => false
}
header - [internal], line ??
App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 76
App\Controller\PagesController::beforeFilter() - APP/Controller/PagesController.php, line 47
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 309
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 286
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 92
Cake\Controller\Controller::startupProcess() - CORE/src/Controller/Controller.php, line 575
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 96
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 313
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\BodyParserMiddleware::process() - CORE/src/Http/Middleware/BodyParserMiddleware.php, line 159
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 161
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 68
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 126
Warning : file_put_contents(/var/www/html/api/logs/error.log) [function.file-put-contents ]: failed to open stream: Permission denied in /var/www/html/api/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 131
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/html/api/vendor/cakephp/cakephp/src/Error/Debugger.php:970) [APP/Controller/AppController.php , line 77 ]Code Context header ( 'Access-Control-Allow-Origin: *' );
header ( 'Access-Control-Allow-Methods: POST, GET, PUT, PATCH, DELETE, OPTIONS' );
header ( 'Access-Control-Allow-Headers: *' ); $event = object( Cake\Event\Event ) id: 0 {
protected _name => 'Controller.initialize'
protected _subject => object( App\Controller\PagesController ) id: 1 {
}
protected _data => [
]
protected result => null
protected _stopped => false
}
header - [internal], line ??
App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 77
App\Controller\PagesController::beforeFilter() - APP/Controller/PagesController.php, line 47
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 309
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 286
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 92
Cake\Controller\Controller::startupProcess() - CORE/src/Controller/Controller.php, line 575
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 96
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 313
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\BodyParserMiddleware::process() - CORE/src/Http/Middleware/BodyParserMiddleware.php, line 159
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 161
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 68
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 126
Warning : file_put_contents(/var/www/html/api/logs/error.log) [function.file-put-contents ]: failed to open stream: Permission denied in /var/www/html/api/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 131
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/html/api/vendor/cakephp/cakephp/src/Error/Debugger.php:970) [APP/Controller/AppController.php , line 78 ]Code Context header ( 'Access-Control-Allow-Methods: POST, GET, PUT, PATCH, DELETE, OPTIONS' );
header ( 'Access-Control-Allow-Headers: *' );
if( $this -> request -> is ( 'options' )) $event = object( Cake\Event\Event ) id: 0 {
protected _name => 'Controller.initialize'
protected _subject => object( App\Controller\PagesController ) id: 1 {
}
protected _data => [
]
protected result => null
protected _stopped => false
}
header - [internal], line ??
App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 78
App\Controller\PagesController::beforeFilter() - APP/Controller/PagesController.php, line 47
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 309
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 286
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 92
Cake\Controller\Controller::startupProcess() - CORE/src/Controller/Controller.php, line 575
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 96
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 313
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\BodyParserMiddleware::process() - CORE/src/Http/Middleware/BodyParserMiddleware.php, line 159
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 161
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 68
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 126
Warning : file_put_contents(/var/www/html/api/logs/error.log) [function.file-put-contents ]: failed to open stream: Permission denied in /var/www/html/api/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 131
Warning (512) : /var/www/html/api/tmp/cache/persistent/ is not writable [CORE/src/Cache/Engine/FileEngine.php , line 418 ]Code Context $this -> _config [ 'path' ]
), E_USER_WARNING );
} $dir = object( SplFileInfo ) id: 0 {
}
$path = '/var/www/html/api/tmp/cache/persistent'
$success = true
$isWritableDir = false
Cake\Cache\Engine\FileEngine::_active() - CORE/src/Cache/Engine/FileEngine.php, line 418
Cake\Cache\Engine\FileEngine::init() - CORE/src/Cache/Engine/FileEngine.php, line 101
Cake\Cache\CacheRegistry::_create() - CORE/src/Cache/CacheRegistry.php, line 88
Cake\Core\ObjectRegistry::load() - CORE/src/Core/ObjectRegistry.php, line 110
Cake\Cache\Cache::_buildEngine() - CORE/src/Cache/Cache.php, line 157
Cake\Cache\Cache::pool() - CORE/src/Cache/Cache.php, line 232
Cake\I18n\I18n::translators() - CORE/src/I18n/I18n.php, line 74
Cake\I18n\I18n::getTranslator() - CORE/src/I18n/I18n.php, line 141
__d - CORE/src/I18n/functions.php, line 98
Cake\Controller\Component\AuthComponent::_setDefaults() - CORE/src/Controller/Component/AuthComponent.php, line 462
Cake\Controller\Component\AuthComponent::authCheck() - CORE/src/Controller/Component/AuthComponent.php, line 275
Cake\Controller\Component\AuthComponent::startup() - CORE/src/Controller/Component/AuthComponent.php, line 247
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 309
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 286
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 92
Cake\Controller\Controller::startupProcess() - CORE/src/Controller/Controller.php, line 579
Warning : file_put_contents(/var/www/html/api/logs/error.log) [function.file-put-contents ]: failed to open stream: Permission denied in /var/www/html/api/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 131
Warning (512) : Unable to emit headers. Headers sent in file=/var/www/html/api/vendor/cakephp/cakephp/src/Error/Debugger.php line=970 [CORE/src/Http/ResponseEmitter.php , line 71 ]Code Context $message = "Unable to emit headers. Headers sent in file= $file line= $line " ;
trigger_error ( $message , E_USER_WARNING );
} $response = object( Cake\Http\Response ) id: 0 {
'status' => (int) 200
'contentType' => 'text/html'
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8' ,
] ,
]
'file' => null
'fileRange' => [
]
'cookies' => object( Cake\Http\Cookie\CookieCollection ) id: 1 {
protected cookies => [
'' => [maximum depth reached] ,
]
}
'cacheDirectives' => [
]
'body' => '<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>
CakePHP: the rapid development PHP framework:
</title>
<link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/>
<link href="https://fonts.googleapis.com/css?family=Raleway:400,700" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6" crossorigin="anonymous">
</head>
<body>
<header>
<div class="container text-center mb-4">
<!-- <a href="https://cakephp.org/" target="_blank" rel="noopener">
<img alt="CakePHP" src="https://cakephp.org/v2/img/logos/CakePHP_Logo.svg" width="350" />
</a> -->
<h1 class="mt-5">
Big Branding
</h1>
</div>
</header>
<main class="main">
<div class="container">
<div class="content">
<form method="post" action="/upload" enctype="multipart/form-data">
<div class="row mb-4">
<div class="col-4">
<input class="form-control" type="file" name="file">
</div>
<div class="col-4">
<select class="form-control" name="supplier">
<option value = "">Select Provider</option>
<option value = "Shiny">Shiny</option>
<option value = "Ramo">Ramo</option>
<option value = "AS Colour">AS Colour</option>
<option value = "JBs Wear">JBs Wear</option>
<option value = "Fashion Biz">Fashion Biz</option>
<option value = "Macleodscotland">Macleodscotland</option>
</select>
</div>
</div>
<div class="row">
<div class="col-4">
<button class="form-control" type="submit" name="submit">Submit</button>
</div>
</div>
<div class="row">
<div class="col-12">
<div style="margin:30px 0 30px 0">
<a href="/uploadproducts/index" target="_blink">Report</a>
</div>
</div>
</div>
</form>
</div>
</div>
</main>
</body>
</html>'
protected _statusCodes => [
(int) 100 => 'Continue' ,
(int) 101 => 'Switching Protocols' ,
(int) 102 => 'Processing' ,
(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) 207 => 'Multi-status' ,
(int) 208 => 'Already Reported' ,
(int) 226 => 'IM used' ,
(int) 300 => 'Multiple Choices' ,
(int) 301 => 'Moved Permanently' ,
(int) 302 => 'Found' ,
(int) 303 => 'See Other' ,
(int) 304 => 'Not Modified' ,
(int) 305 => 'Use Proxy' ,
(int) 306 => '(Unused)' ,
(int) 307 => 'Temporary Redirect' ,
(int) 308 => 'Permanent 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 Timeout' ,
(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) 418 => 'I'm a teapot' ,
(int) 421 => 'Misdirected Request' ,
(int) 422 => 'Unprocessable Entity' ,
(int) 423 => 'Locked' ,
(int) 424 => 'Failed Dependency' ,
(int) 425 => 'Unordered Collection' ,
(int) 426 => 'Upgrade Required' ,
(int) 428 => 'Precondition Required' ,
(int) 429 => 'Too Many Requests' ,
(int) 431 => 'Request Header Fields Too Large' ,
(int) 444 => 'Connection Closed Without Response' ,
(int) 451 => 'Unavailable For Legal Reasons' ,
(int) 499 => 'Client Closed Request' ,
(int) 500 => 'Internal Server Error' ,
(int) 501 => 'Not Implemented' ,
(int) 502 => 'Bad Gateway' ,
(int) 503 => 'Service Unavailable' ,
(int) 504 => 'Gateway Timeout' ,
(int) 505 => 'Unsupported Version' ,
(int) 506 => 'Variant Also Negotiates' ,
(int) 507 => 'Insufficient Storage' ,
(int) 508 => 'Loop Detected' ,
(int) 510 => 'Not Extended' ,
(int) 511 => 'Network Authentication Required' ,
(int) 599 => 'Network Connect Timeout Error' ,
]
protected _mimeTypes => [
'html' => [
'' => [maximum depth reached] ,
] ,
'json' => 'application/json' ,
'xml' => [
'' => [maximum depth reached] ,
] ,
'xhtml' => [
'' => [maximum depth reached] ,
] ,
'webp' => 'image/webp' ,
'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' => [
'' => [maximum depth reached] ,
] ,
'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' ,
'haljson' => [
'' => [maximum depth reached] ,
] ,
'halxml' => [
'' => [maximum depth reached] ,
] ,
'hdf' => 'application/x-hdf' ,
'hqx' => 'application/mac-binhex40' ,
'ico' => 'image/x-icon' ,
'ips' => 'application/x-ipscript' ,
'ipx' => 'application/x-ipix' ,
'js' => 'application/javascript' ,
'jsonapi' => 'application/vnd.api+json' ,
'latex' => 'application/x-latex' ,
'jsonld' => 'application/ld+json' ,
'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' => [
'' => [maximum depth reached] ,
] ,
'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' ,
'psd' => [
'' => [maximum depth reached] ,
] ,
'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-mobile' => 'application/vnd.wap.xhtml+xml' ,
'atom' => 'application/atom+xml' ,
'amf' => 'application/x-amf' ,
'wap' => [
'' => [maximum depth reached] ,
] ,
'wml' => 'text/vnd.wap.wml' ,
'wmlscript' => 'text/vnd.wap.wmlscript' ,
'wbmp' => 'image/vnd.wap.wbmp' ,
'woff' => 'application/x-font-woff' ,
'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' ,
'bmp' => 'image/bmp' ,
]
protected _status => (int) 200
protected _file => null
protected _fileRange => [
]
protected _charset => 'UTF-8'
protected _cacheDirectives => [
]
protected _cookies => object( Cake\Http\Cookie\CookieCollection ) id: 1 {}
protected _reasonPhrase => 'OK'
protected _streamMode => 'wb+'
protected _streamTarget => 'php://memory'
protected headers => [
'Content-Type' => [
'' => [maximum depth reached] ,
] ,
]
protected headerNames => [
'content-type' => 'Content-Type' ,
]
private protocol => '1.1'
private stream => object( Laminas\Diactoros\Stream ) id: 2 {
}
}
$file = '/var/www/html/api/vendor/cakephp/cakephp/src/Error/Debugger.php'
$line = (int) 970
$message = 'Unable to emit headers. Headers sent in file=/var/www/html/api/vendor/cakephp/cakephp/src/Error/Debugger.php line=970'
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 71
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 128
require - ROOT/webroot/index.php, line 40
[main] - ROOT/index.php, line 16
Warning : file_put_contents(/var/www/html/api/logs/error.log) [function.file-put-contents ]: failed to open stream: Permission denied in /var/www/html/api/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 131
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/html/api/vendor/cakephp/cakephp/src/Error/Debugger.php:970) [CORE/src/Http/ResponseEmitter.php , line 168 ]Code Context $response -> getStatusCode (),
( $reasonPhrase ? ' ' . $reasonPhrase : '' )
)); $response = object( Cake\Http\Response ) id: 0 {
'status' => (int) 200
'contentType' => 'text/html'
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8' ,
] ,
]
'file' => null
'fileRange' => [
]
'cookies' => object( Cake\Http\Cookie\CookieCollection ) id: 1 {
protected cookies => [
'' => [maximum depth reached] ,
]
}
'cacheDirectives' => [
]
'body' => '<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>
CakePHP: the rapid development PHP framework:
</title>
<link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/>
<link href="https://fonts.googleapis.com/css?family=Raleway:400,700" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6" crossorigin="anonymous">
</head>
<body>
<header>
<div class="container text-center mb-4">
<!-- <a href="https://cakephp.org/" target="_blank" rel="noopener">
<img alt="CakePHP" src="https://cakephp.org/v2/img/logos/CakePHP_Logo.svg" width="350" />
</a> -->
<h1 class="mt-5">
Big Branding
</h1>
</div>
</header>
<main class="main">
<div class="container">
<div class="content">
<form method="post" action="/upload" enctype="multipart/form-data">
<div class="row mb-4">
<div class="col-4">
<input class="form-control" type="file" name="file">
</div>
<div class="col-4">
<select class="form-control" name="supplier">
<option value = "">Select Provider</option>
<option value = "Shiny">Shiny</option>
<option value = "Ramo">Ramo</option>
<option value = "AS Colour">AS Colour</option>
<option value = "JBs Wear">JBs Wear</option>
<option value = "Fashion Biz">Fashion Biz</option>
<option value = "Macleodscotland">Macleodscotland</option>
</select>
</div>
</div>
<div class="row">
<div class="col-4">
<button class="form-control" type="submit" name="submit">Submit</button>
</div>
</div>
<div class="row">
<div class="col-12">
<div style="margin:30px 0 30px 0">
<a href="/uploadproducts/index" target="_blink">Report</a>
</div>
</div>
</div>
</form>
</div>
</div>
</main>
</body>
</html>'
protected _statusCodes => [
(int) 100 => 'Continue' ,
(int) 101 => 'Switching Protocols' ,
(int) 102 => 'Processing' ,
(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) 207 => 'Multi-status' ,
(int) 208 => 'Already Reported' ,
(int) 226 => 'IM used' ,
(int) 300 => 'Multiple Choices' ,
(int) 301 => 'Moved Permanently' ,
(int) 302 => 'Found' ,
(int) 303 => 'See Other' ,
(int) 304 => 'Not Modified' ,
(int) 305 => 'Use Proxy' ,
(int) 306 => '(Unused)' ,
(int) 307 => 'Temporary Redirect' ,
(int) 308 => 'Permanent 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 Timeout' ,
(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) 418 => 'I'm a teapot' ,
(int) 421 => 'Misdirected Request' ,
(int) 422 => 'Unprocessable Entity' ,
(int) 423 => 'Locked' ,
(int) 424 => 'Failed Dependency' ,
(int) 425 => 'Unordered Collection' ,
(int) 426 => 'Upgrade Required' ,
(int) 428 => 'Precondition Required' ,
(int) 429 => 'Too Many Requests' ,
(int) 431 => 'Request Header Fields Too Large' ,
(int) 444 => 'Connection Closed Without Response' ,
(int) 451 => 'Unavailable For Legal Reasons' ,
(int) 499 => 'Client Closed Request' ,
(int) 500 => 'Internal Server Error' ,
(int) 501 => 'Not Implemented' ,
(int) 502 => 'Bad Gateway' ,
(int) 503 => 'Service Unavailable' ,
(int) 504 => 'Gateway Timeout' ,
(int) 505 => 'Unsupported Version' ,
(int) 506 => 'Variant Also Negotiates' ,
(int) 507 => 'Insufficient Storage' ,
(int) 508 => 'Loop Detected' ,
(int) 510 => 'Not Extended' ,
(int) 511 => 'Network Authentication Required' ,
(int) 599 => 'Network Connect Timeout Error' ,
]
protected _mimeTypes => [
'html' => [
'' => [maximum depth reached] ,
] ,
'json' => 'application/json' ,
'xml' => [
'' => [maximum depth reached] ,
] ,
'xhtml' => [
'' => [maximum depth reached] ,
] ,
'webp' => 'image/webp' ,
'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' => [
'' => [maximum depth reached] ,
] ,
'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' ,
'haljson' => [
'' => [maximum depth reached] ,
] ,
'halxml' => [
'' => [maximum depth reached] ,
] ,
'hdf' => 'application/x-hdf' ,
'hqx' => 'application/mac-binhex40' ,
'ico' => 'image/x-icon' ,
'ips' => 'application/x-ipscript' ,
'ipx' => 'application/x-ipix' ,
'js' => 'application/javascript' ,
'jsonapi' => 'application/vnd.api+json' ,
'latex' => 'application/x-latex' ,
'jsonld' => 'application/ld+json' ,
'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' => [
'' => [maximum depth reached] ,
] ,
'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' ,
'psd' => [
'' => [maximum depth reached] ,
] ,
'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-mobile' => 'application/vnd.wap.xhtml+xml' ,
'atom' => 'application/atom+xml' ,
'amf' => 'application/x-amf' ,
'wap' => [
'' => [maximum depth reached] ,
] ,
'wml' => 'text/vnd.wap.wml' ,
'wmlscript' => 'text/vnd.wap.wmlscript' ,
'wbmp' => 'image/vnd.wap.wbmp' ,
'woff' => 'application/x-font-woff' ,
'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' ,
'bmp' => 'image/bmp' ,
]
protected _status => (int) 200
protected _file => null
protected _fileRange => [
]
protected _charset => 'UTF-8'
protected _cacheDirectives => [
]
protected _cookies => object( Cake\Http\Cookie\CookieCollection ) id: 1 {}
protected _reasonPhrase => 'OK'
protected _streamMode => 'wb+'
protected _streamTarget => 'php://memory'
protected headers => [
'Content-Type' => [
'' => [maximum depth reached] ,
] ,
]
protected headerNames => [
'content-type' => 'Content-Type' ,
]
private protocol => '1.1'
private stream => object( Laminas\Diactoros\Stream ) id: 2 {
}
}
$reasonPhrase = 'OK'
header - [internal], line ??
Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 168
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 74
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 128
require - ROOT/webroot/index.php, line 40
[main] - ROOT/index.php, line 16
Warning : file_put_contents(/var/www/html/api/logs/error.log) [function.file-put-contents ]: failed to open stream: Permission denied in /var/www/html/api/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 131
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/html/api/vendor/cakephp/cakephp/src/Error/Debugger.php:970) [CORE/src/Http/ResponseEmitter.php , line 197 ]Code Context foreach ( $values as $value ) {
header ( sprintf (
'%s: %s' , $response = object( Cake\Http\Response ) id: 0 {
'status' => (int) 200
'contentType' => 'text/html'
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8' ,
] ,
]
'file' => null
'fileRange' => [
]
'cookies' => object( Cake\Http\Cookie\CookieCollection ) id: 1 {
protected cookies => [
'' => [maximum depth reached] ,
]
}
'cacheDirectives' => [
]
'body' => '<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>
CakePHP: the rapid development PHP framework:
</title>
<link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/>
<link href="https://fonts.googleapis.com/css?family=Raleway:400,700" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6" crossorigin="anonymous">
</head>
<body>
<header>
<div class="container text-center mb-4">
<!-- <a href="https://cakephp.org/" target="_blank" rel="noopener">
<img alt="CakePHP" src="https://cakephp.org/v2/img/logos/CakePHP_Logo.svg" width="350" />
</a> -->
<h1 class="mt-5">
Big Branding
</h1>
</div>
</header>
<main class="main">
<div class="container">
<div class="content">
<form method="post" action="/upload" enctype="multipart/form-data">
<div class="row mb-4">
<div class="col-4">
<input class="form-control" type="file" name="file">
</div>
<div class="col-4">
<select class="form-control" name="supplier">
<option value = "">Select Provider</option>
<option value = "Shiny">Shiny</option>
<option value = "Ramo">Ramo</option>
<option value = "AS Colour">AS Colour</option>
<option value = "JBs Wear">JBs Wear</option>
<option value = "Fashion Biz">Fashion Biz</option>
<option value = "Macleodscotland">Macleodscotland</option>
</select>
</div>
</div>
<div class="row">
<div class="col-4">
<button class="form-control" type="submit" name="submit">Submit</button>
</div>
</div>
<div class="row">
<div class="col-12">
<div style="margin:30px 0 30px 0">
<a href="/uploadproducts/index" target="_blink">Report</a>
</div>
</div>
</div>
</form>
</div>
</div>
</main>
</body>
</html>'
protected _statusCodes => [
(int) 100 => 'Continue' ,
(int) 101 => 'Switching Protocols' ,
(int) 102 => 'Processing' ,
(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) 207 => 'Multi-status' ,
(int) 208 => 'Already Reported' ,
(int) 226 => 'IM used' ,
(int) 300 => 'Multiple Choices' ,
(int) 301 => 'Moved Permanently' ,
(int) 302 => 'Found' ,
(int) 303 => 'See Other' ,
(int) 304 => 'Not Modified' ,
(int) 305 => 'Use Proxy' ,
(int) 306 => '(Unused)' ,
(int) 307 => 'Temporary Redirect' ,
(int) 308 => 'Permanent 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 Timeout' ,
(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) 418 => 'I'm a teapot' ,
(int) 421 => 'Misdirected Request' ,
(int) 422 => 'Unprocessable Entity' ,
(int) 423 => 'Locked' ,
(int) 424 => 'Failed Dependency' ,
(int) 425 => 'Unordered Collection' ,
(int) 426 => 'Upgrade Required' ,
(int) 428 => 'Precondition Required' ,
(int) 429 => 'Too Many Requests' ,
(int) 431 => 'Request Header Fields Too Large' ,
(int) 444 => 'Connection Closed Without Response' ,
(int) 451 => 'Unavailable For Legal Reasons' ,
(int) 499 => 'Client Closed Request' ,
(int) 500 => 'Internal Server Error' ,
(int) 501 => 'Not Implemented' ,
(int) 502 => 'Bad Gateway' ,
(int) 503 => 'Service Unavailable' ,
(int) 504 => 'Gateway Timeout' ,
(int) 505 => 'Unsupported Version' ,
(int) 506 => 'Variant Also Negotiates' ,
(int) 507 => 'Insufficient Storage' ,
(int) 508 => 'Loop Detected' ,
(int) 510 => 'Not Extended' ,
(int) 511 => 'Network Authentication Required' ,
(int) 599 => 'Network Connect Timeout Error' ,
]
protected _mimeTypes => [
'html' => [
'' => [maximum depth reached] ,
] ,
'json' => 'application/json' ,
'xml' => [
'' => [maximum depth reached] ,
] ,
'xhtml' => [
'' => [maximum depth reached] ,
] ,
'webp' => 'image/webp' ,
'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' => [
'' => [maximum depth reached] ,
] ,
'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' ,
'haljson' => [
'' => [maximum depth reached] ,
] ,
'halxml' => [
'' => [maximum depth reached] ,
] ,
'hdf' => 'application/x-hdf' ,
'hqx' => 'application/mac-binhex40' ,
'ico' => 'image/x-icon' ,
'ips' => 'application/x-ipscript' ,
'ipx' => 'application/x-ipix' ,
'js' => 'application/javascript' ,
'jsonapi' => 'application/vnd.api+json' ,
'latex' => 'application/x-latex' ,
'jsonld' => 'application/ld+json' ,
'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' => [
'' => [maximum depth reached] ,
] ,
'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' ,
'psd' => [
'' => [maximum depth reached] ,
] ,
'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-mobile' => 'application/vnd.wap.xhtml+xml' ,
'atom' => 'application/atom+xml' ,
'amf' => 'application/x-amf' ,
'wap' => [
'' => [maximum depth reached] ,
] ,
'wml' => 'text/vnd.wap.wml' ,
'wmlscript' => 'text/vnd.wap.wmlscript' ,
'wbmp' => 'image/vnd.wap.wbmp' ,
'woff' => 'application/x-font-woff' ,
'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' ,
'bmp' => 'image/bmp' ,
]
protected _status => (int) 200
protected _file => null
protected _fileRange => [
]
protected _charset => 'UTF-8'
protected _cacheDirectives => [
]
protected _cookies => object( Cake\Http\Cookie\CookieCollection ) id: 1 {}
protected _reasonPhrase => 'OK'
protected _streamMode => 'wb+'
protected _streamTarget => 'php://memory'
protected headers => [
'Content-Type' => [
'' => [maximum depth reached] ,
] ,
]
protected headerNames => [
'content-type' => 'Content-Type' ,
]
private protocol => '1.1'
private stream => object( Laminas\Diactoros\Stream ) id: 2 {
}
}
$cookies = [
]
$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 197
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 75
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 128
require - ROOT/webroot/index.php, line 40
[main] - ROOT/index.php, line 16
Warning : file_put_contents(/var/www/html/api/logs/error.log) [function.file-put-contents ]: failed to open stream: Permission denied in /var/www/html/api/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 131
CakePHP: the rapid development PHP framework: