Warning (2): file_put_contents(/home/redmondg/public_html/app/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 AController could not be found.
Exception Attributes: array (
'class' => 'AController',
'plugin' => NULL,
)
Request URL: /a
Stack Trace:
#0 /home/redmondg/public_html/app/webroot/index.php(109): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#1 {main}'
$debugTypes = array(
(int) 0 => 'notice',
(int) 1 => 'info',
(int) 2 => 'debug'
)
$filename = '/home/redmondg/public_html/app/tmp/logs/error.log'
$output = '2024-05-17 10:54:16 Error: [MissingControllerException] Controller class AController could not be found.
Exception Attributes: array (
'class' => 'AController',
'plugin' => NULL,
)
Request URL: /a
Stack Trace:
#0 /home/redmondg/public_html/app/webroot/index.php(109): 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 ??
Missing Controller
Error:
AController could not be found.
Error:
Create the class AController below in file: app/Controller/AController.php
<?php
class AController extends AppController {
}
Notice:
If you want to customize this error message, create app/View/Errors/missing_controller.ctp
Stack Trace
- APP/webroot/index.php line 109 → Dispatcher->dispatch(CakeRequest, CakeResponse)
$Dispatcher->dispatch(
new CakeRequest(),
new CakeResponse()
);
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'a'
base => ''
webroot => '/'
here => '/a'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}