Code Context $pathname = $this->_path . $filename;
if (empty($this->_config['mask'])) {
return file_put_contents($pathname, $output, FILE_APPEND);
$type = 'error'
$message = '[NotFoundException] Invalid title
Request URL: /gdpedia/titles/view/Supplctn.htm
Stack Trace:
#0 [internal function]: TitlesController->view()
#1 /var/www/html/gdpedia/gdpedia/lib/Cake/Controller/Controller.php(499): ReflectionMethod->invokeArgs()
#2 /var/www/html/gdpedia/gdpedia/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction()
#3 /var/www/html/gdpedia/gdpedia/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke()
#4 /var/www/html/gdpedia/gdpedia/app/webroot/index.php(117): Dispatcher->dispatch()
#5 {main}'
$output = '2023-09-29 13:09:41 Error: [NotFoundException] Invalid title
Request URL: /gdpedia/titles/view/Supplctn.htm
Stack Trace:
#0 [internal function]: TitlesController->view()
#1 /var/www/html/gdpedia/gdpedia/lib/Cake/Controller/Controller.php(499): ReflectionMethod->invokeArgs()
#2 /var/www/html/gdpedia/gdpedia/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction()
#3 /var/www/html/gdpedia/gdpedia/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke()
#4 /var/www/html/gdpedia/gdpedia/app/webroot/index.php(117): Dispatcher->dispatch()
#5 {main}
'
$filename = 'error.log'
$pathname = '/var/www/html/gdpedia/gdpedia/app/tmp/logs/error.log'
file_put_contents - [internal], line ??
FileLog::write() - CORE/Cake/Log/Engine/FileLog.php, line 142
CakeLog::write() - CORE/Cake/Log/CakeLog.php, line 445
ErrorHandler::_log() - CORE/Cake/Error/ErrorHandler.php, line 188
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 118
[main] - [internal], line ??