Notice (8): Undefined index: Download [APP/Controller/PublicationController.php, line 106]Code Context {
$book = $this->Download->findById($id);
$blob = $this->_getBlob($book['Download']['data']);
$id = '79'
$book = array()
PublicationController::download() - APP/Controller/PublicationController.php, line 106
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 117
Notice (8): Trying to access array offset on value of type null [APP/Controller/PublicationController.php, line 106]Code Context {
$book = $this->Download->findById($id);
$blob = $this->_getBlob($book['Download']['data']);
$id = '79'
$book = array()
PublicationController::download() - APP/Controller/PublicationController.php, line 106
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 117
Warning (2): mkdir(): File exists [CORE/Cake/Cache/Engine/FileEngine.php, line 348]Code Context
if (!is_dir($dir)) {
mkdir($dir, 0775, true);
$key = 'monusicks_cake_model_default_rienvanos_monusicks_blobs'
$createKey = true
$groups = null
$dir = '/var/www/html/app/tmp/cache/models/'
mkdir - [internal], line ??
FileEngine::_setKey() - CORE/Cake/Cache/Engine/FileEngine.php, line 348
FileEngine::write() - CORE/Cake/Cache/Engine/FileEngine.php, line 116
Cache::write() - CORE/Cake/Cache/Cache.php, line 317
DataSource::_cacheDescription() - CORE/Cake/Model/Datasource/DataSource.php, line 310
Mysql::describe() - CORE/Cake/Model/Datasource/Database/Mysql.php, line 383
Model::schema() - CORE/Cake/Model/Model.php, line 1397
DboSource::fields() - CORE/Cake/Model/Datasource/DboSource.php, line 2663
DboSource::read() - CORE/Cake/Model/Datasource/DboSource.php, line 1174
Model::_readDataSource() - CORE/Cake/Model/Model.php, line 3053
Model::find() - CORE/Cake/Model/Model.php, line 3025
DboSource::query() - CORE/Cake/Model/Datasource/DboSource.php, line 636
Model::__call() - CORE/Cake/Model/Model.php, line 834
PublicationController::_getBlob() - APP/Controller/PublicationController.php, line 115
PublicationController::download() - APP/Controller/PublicationController.php, line 106
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Notice (8): Undefined index: Blob [APP/Controller/PublicationController.php, line 116]Code Context {
$blob = $this->Blob->findById($id);
return $blob['Blob']['data'];
$id = null
$blob = array()
PublicationController::_getBlob() - APP/Controller/PublicationController.php, line 116
PublicationController::download() - APP/Controller/PublicationController.php, line 106
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 117
Notice (8): Trying to access array offset on value of type null [APP/Controller/PublicationController.php, line 116]Code Context {
$blob = $this->Blob->findById($id);
return $blob['Blob']['data'];
$id = null
$blob = array()
PublicationController::_getBlob() - APP/Controller/PublicationController.php, line 116
PublicationController::download() - APP/Controller/PublicationController.php, line 106
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 117
Notice (8): Undefined index: Download [APP/Controller/PublicationController.php, line 107]Code Context $book = $this->Download->findById($id);
$blob = $this->_getBlob($book['Download']['data']);
header('Content-type: '.$book['Download']['type']);
$id = '79'
$book = array()
$blob = null
PublicationController::download() - APP/Controller/PublicationController.php, line 107
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 117
Notice (8): Trying to access array offset on value of type null [APP/Controller/PublicationController.php, line 107]Code Context $book = $this->Download->findById($id);
$blob = $this->_getBlob($book['Download']['data']);
header('Content-type: '.$book['Download']['type']);
$id = '79'
$book = array()
$blob = null
PublicationController::download() - APP/Controller/PublicationController.php, line 107
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 117
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/html/lib/Cake/Utility/Debugger.php:797) [APP/Controller/PublicationController.php, line 107]Code Context $book = $this->Download->findById($id);
$blob = $this->_getBlob($book['Download']['data']);
header('Content-type: '.$book['Download']['type']);
$id = '79'
$book = array()
$blob = null
header - [internal], line ??
PublicationController::download() - APP/Controller/PublicationController.php, line 107
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 117
Notice (8): Undefined index: Download [APP/Controller/PublicationController.php, line 108]Code Context $blob = $this->_getBlob($book['Download']['data']);
header('Content-type: '.$book['Download']['type']);
header('Content-Disposition: inline; filename="'.$book['Download']['name'].'"');
$id = '79'
$book = array()
$blob = null
PublicationController::download() - APP/Controller/PublicationController.php, line 108
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 117
Notice (8): Trying to access array offset on value of type null [APP/Controller/PublicationController.php, line 108]Code Context $blob = $this->_getBlob($book['Download']['data']);
header('Content-type: '.$book['Download']['type']);
header('Content-Disposition: inline; filename="'.$book['Download']['name'].'"');
$id = '79'
$book = array()
$blob = null
PublicationController::download() - APP/Controller/PublicationController.php, line 108
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 117
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/html/lib/Cake/Utility/Debugger.php:797) [APP/Controller/PublicationController.php, line 108]Code Context $blob = $this->_getBlob($book['Download']['data']);
header('Content-type: '.$book['Download']['type']);
header('Content-Disposition: inline; filename="'.$book['Download']['name'].'"');
$id = '79'
$book = array()
$blob = null
header - [internal], line ??
PublicationController::download() - APP/Controller/PublicationController.php, line 108
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 117
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/html/lib/Cake/Utility/Debugger.php:797) [APP/Controller/PublicationController.php, line 109]Code Context header('Content-type: '.$book['Download']['type']);
header('Content-Disposition: inline; filename="'.$book['Download']['name'].'"');
header('Content-length: '.strlen($blob));
$id = '79'
$book = array()
$blob = null
header - [internal], line ??
PublicationController::download() - APP/Controller/PublicationController.php, line 109
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 117