Warning (2): file_put_contents(/www/wwwroot/ypd.com/tmp/logs/error.log): failed to open stream: No such file or directory [CORE/Cake/Log/Engine/FileLog.php, line 87]Code Context }
$output = date('Y-m-d H:i:s') . ' ' . ucfirst($type) . ': ' . $message . "\n";
return file_put_contents($filename, $output, FILE_APPEND);
$type = 'error'
$message = '[MissingControllerException] Controller class UploadController could not be found.
Exception Attributes: array (
'class' => 'UploadController',
'plugin' => NULL,
)
Request URL: /upload/Download/201706/36908233559395a389453f.php::$data
Stack Trace:
#0 /www/wwwroot/ypd.com/webroot/index.php(96): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#1 {main}'
$debugTypes = array(
(int) 0 => 'notice',
(int) 1 => 'info',
(int) 2 => 'debug'
)
$filename = '/www/wwwroot/ypd.com/tmp/logs/error.log'
$output = '2025-08-12 08:19:13 Error: [MissingControllerException] Controller class UploadController could not be found.
Exception Attributes: array (
'class' => 'UploadController',
'plugin' => NULL,
)
Request URL: /upload/Download/201706/36908233559395a389453f.php::$data
Stack Trace:
#0 /www/wwwroot/ypd.com/webroot/index.php(96): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#1 {main}
'
file_put_contents - [internal], line ??
FileLog::write() - CORE/Cake/Log/Engine/FileLog.php, line 87
CakeLog::write() - CORE/Cake/Log/CakeLog.php, line 453
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 114
[main] - [internal], line ??
Warning (2): Cannot modify header information - headers already sent by (output started at /www/wwwroot/libs/cakephp-2.3.5/lib/Cake/Utility/Debugger.php:806) [APP/Lib/Error/AppExceptionRenderer.php, line 17]Code Context
function _notFound(){
header("HTTP/1.1 404 Not Found");
header - [internal], line ??
AppExceptionRenderer::_notFound() - APP/Lib/Error/AppExceptionRenderer.php, line 17
AppExceptionRenderer::MissingController() - APP/Lib/Error/AppExceptionRenderer.php, line 9
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 176
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 123
[main] - [internal], line ??
404