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/acec1f71-c637-4b1a-ad1b-d607fe9dd64b'
$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/acec1f71-c637-4b1a-ad1b-d607fe9dd64b/order_sheet_10_20220401.xls) [<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 = 'acec1f71-c637-4b1a-ad1b-d607fe9dd64b'
$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/acec1f71-c637-4b1a-ad1b-d607fe9dd64b 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 = 'acec1f71-c637-4b1a-ad1b-d607fe9dd64b'
$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/acec1f71-c637-4b1a-ad1b-d607fe9dd64b 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
ࡱ > ZO \ p Ishiwata Hiroaki B a = = Z >j,8 X@ " 1 -3 000001 -3 000001 -3 000001 -3 000001 -3 000001 x -3 000001 *
H G S uR҉z|oxU B 1 *
H G S uR҉z|oxU B 1 *
H G S uR҉z|oxU B 1 &