Warning (2): mkdir(): Permission denied [CORE/Cake/Utility/Folder.php, line 582]Code Context if (!file_exists($pathname)) {
$old = umask(0);
if (mkdir($pathname, $mode)) {
$pathname = '/home/kalmor/www/app/webroot/attachment/3b12de1f-5f63-4150-bfce-fbbf6b33d9c3'
$mode = (int) 493
$nextPathname = '/home/kalmor/www/app/webroot/attachment'
$old = (int) 18
mkdir - [internal], line ??
Folder::create() - CORE/Cake/Utility/Folder.php, line 582
AttachmentController::index() - APP/Controller/Front/AttachmentController.php, line 27
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): file_put_contents(/home/kalmor/www/app/webroot/attachment/3b12de1f-5f63-4150-bfce-fbbf6b33d9c3/order_sheet_10.pdf) [<a href='http://php.net/function.file-put-contents'>function.file-put-contents</a>]: failed to open stream: No such file or directory [APP/Controller/Front/AttachmentController.php, line 28]Code Context $dir = new Folder();
$dir->create(APP.WEBROOT_DIR.DS.'attachment'.DS.$id);
file_put_contents(APP.WEBROOT_DIR.DS.'attachment'.DS.$id.DS.$data['Attachment']['filename'], $data['Attachment']['data']);
$id = '3b12de1f-5f63-4150-bfce-fbbf6b33d9c3'
$dir = object(Folder) {
path => '/home/kalmor/www/app/tmp/'
sort => false
mode => (int) 493
[protected] _fsorts => array(
'name' => 'getPathname',
'time' => 'getCTime'
)
[protected] _messages => array()
[protected] _errors => array(
(int) 0 => '/home/kalmor/www/app/webroot/attachment/3b12de1f-5f63-4150-bfce-fbbf6b33d9c3 NOT created'
)
[protected] _directories => null
[protected] _files => null
}
file_put_contents - [internal], line ??
AttachmentController::index() - APP/Controller/Front/AttachmentController.php, line 28
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 /home/kalmor/www/lib/Cake/Utility/Debugger.php:797) [APP/Controller/Front/AttachmentController.php, line 30]Code Context file_put_contents(APP.WEBROOT_DIR.DS.'attachment'.DS.$id.DS.$data['Attachment']['filename'], $data['Attachment']['data']);
header('Content-Type: '.$data['Attachment']['type']);
$id = '3b12de1f-5f63-4150-bfce-fbbf6b33d9c3'
$dir = object(Folder) {
path => '/home/kalmor/www/app/tmp/'
sort => false
mode => (int) 493
[protected] _fsorts => array(
'name' => 'getPathname',
'time' => 'getCTime'
)
[protected] _messages => array()
[protected] _errors => array(
(int) 0 => '/home/kalmor/www/app/webroot/attachment/3b12de1f-5f63-4150-bfce-fbbf6b33d9c3 NOT created'
)
[protected] _directories => null
[protected] _files => null
}
header - [internal], line ??
AttachmentController::index() - APP/Controller/Front/AttachmentController.php, line 30
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
%PDF-1.5
%
10 0 obj
<>
endobj
37 0 obj
<>/Filter/FlateDecode/ID[<0ACEBC4231FC9C44BE07B9908EBE6732>]/Index[10 45]/Info 9 0 R/Length 120/Prev 101374/Root 11 0 R/Size 55/Type/XRef/W[1 3 1]>>stream
hbbd```b``:"@$N*"4,L6_gEVH0i"MS
"5e lci6,&i@ (F? k
endstream
endobj
startxref
0
%%EOF
54 0 obj
<>stream
hb``d``f````@@р,& !,[g300I3223r33\y?z#|'/:3%]&3}
l3kϨ` g
endstream
endobj
11 0 obj
<>
endobj
12 0 obj
<>
endobj
13 0 obj
<>stream
hWmo6^a?q)($vxSr>(ꨳ%CVM1@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