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 = '[MissingActionException] Action FrontController::img() could not be found.
Exception Attributes: array (
'controller' => 'FrontController',
'action' => 'img',
)
Request URL: /Front/img/logo.png
Stack Trace:
#0 /var/www/html/vinew-rakatook/lib/Cake/Routing/Dispatcher.php(187): Controller->invokeAction(Object(CakeRequest))
#1 /var/www/html/vinew-rakatook/lib/Cake/Routing/Dispatcher.php(162): Dispatcher->_invoke(Object(FrontController), Object(CakeRequest), Object(CakeResponse))
#2 /var/www/html/vinew-rakatook/app/webroot/index.php(111): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#3 {main}'
$debugTypes = array(
(int) 0 => 'notice',
(int) 1 => 'info',
(int) 2 => 'debug'
)
$filename = '/var/www/html/vinew-rakatook/app/tmp/logs/error.log'
$output = '2024-05-02 14:47:36 Error: [MissingActionException] Action FrontController::img() could not be found.
Exception Attributes: array (
'controller' => 'FrontController',
'action' => 'img',
)
Request URL: /Front/img/logo.png
Stack Trace:
#0 /var/www/html/vinew-rakatook/lib/Cake/Routing/Dispatcher.php(187): Controller->invokeAction(Object(CakeRequest))
#1 /var/www/html/vinew-rakatook/lib/Cake/Routing/Dispatcher.php(162): Dispatcher->_invoke(Object(FrontController), Object(CakeRequest), Object(CakeResponse))
#2 /var/www/html/vinew-rakatook/app/webroot/index.php(111): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#3 {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 ??