Ứng dụng & Công cụ hỗ trợ
Sketchup
}
$hashedFileName = $fileNameAndExtArr[0] . '_' . md5_file($homeDir . $filePath) . '.' . $fileNameAndExtArr[1];
$filePath = '' $homeDir = '/var/www/html' $urlCdn = 'https://vi.house3d.com' $dirChain = array( (int) 0 => '' ) $fileNameAndExtArr = array( (int) 0 => '' ) $hashedFileDirectory = '/app/webroot/assets/'
hashUrl - APP/Controller/Component/CdnMd5.php, line 30 include - APP/Theme/house3d/download.php, line 256 include - APP/View/Plugins/index.ctp, line 19 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 192 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 109
Warning (2): copy() [function.copy]: The first argument to copy() function cannot be a directory [APP/Controller/Component/CdnMd5.php, line 32]https://vi.house3d.com/app/webroot/assets/_d41d8cd98f00b204e9800998ecf8427e." class="img-fluid">Code Context$hashedFileName = $fileNameAndExtArr[0] . '_' . md5_file($homeDir . $filePath) . '.' . $fileNameAndExtArr[1];
if (!file_exists($homeDir . $hashedFileDirectory . $hashedFileName)) { // No redundant creation
copy($homeDir . $filePath, $homeDir . $hashedFileDirectory . $hashedFileName);
$filePath = '' $homeDir = '/var/www/html' $urlCdn = 'https://vi.house3d.com' $dirChain = array( (int) 0 => '' ) $fileNameAndExtArr = array( (int) 0 => '' ) $hashedFileDirectory = '/app/webroot/assets/' $hashedFileName = '_d41d8cd98f00b204e9800998ecf8427e.'copy - [internal], line ?? hashUrl - APP/Controller/Component/CdnMd5.php, line 32 include - APP/Theme/house3d/download.php, line 256 include - APP/View/Plugins/index.ctp, line 19 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 192 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 109
}
$hashedFileName = $fileNameAndExtArr[0] . '_' . md5_file($homeDir . $filePath) . '.' . $fileNameAndExtArr[1];
$filePath = '' $homeDir = '/var/www/html' $urlCdn = 'https://vi.house3d.com' $dirChain = array( (int) 0 => '' ) $fileNameAndExtArr = array( (int) 0 => '' ) $hashedFileDirectory = '/app/webroot/assets/'
hashUrl - APP/Controller/Component/CdnMd5.php, line 30 include - APP/Theme/house3d/download.php, line 292 include - APP/View/Plugins/index.ctp, line 19 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 192 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 109
Warning (2): copy() [function.copy]: The first argument to copy() function cannot be a directory [APP/Controller/Component/CdnMd5.php, line 32]https://vi.house3d.com/app/webroot/assets/_d41d8cd98f00b204e9800998ecf8427e." class="img-fluid">Code Context$hashedFileName = $fileNameAndExtArr[0] . '_' . md5_file($homeDir . $filePath) . '.' . $fileNameAndExtArr[1];
if (!file_exists($homeDir . $hashedFileDirectory . $hashedFileName)) { // No redundant creation
copy($homeDir . $filePath, $homeDir . $hashedFileDirectory . $hashedFileName);
$filePath = '' $homeDir = '/var/www/html' $urlCdn = 'https://vi.house3d.com' $dirChain = array( (int) 0 => '' ) $fileNameAndExtArr = array( (int) 0 => '' ) $hashedFileDirectory = '/app/webroot/assets/' $hashedFileName = '_d41d8cd98f00b204e9800998ecf8427e.'copy - [internal], line ?? hashUrl - APP/Controller/Component/CdnMd5.php, line 32 include - APP/Theme/house3d/download.php, line 292 include - APP/View/Plugins/index.ctp, line 19 View::_evaluate() - CORE/Cake/View/View.php, line 934 View::_render() - CORE/Cake/View/View.php, line 896 View::render() - CORE/Cake/View/View.php, line 465 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 192 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 109