Warning (2) : file_put_contents(/home/hidrodomus/public_html/tmp/logs/error.log): failed to open stream: No such file or directory [APP/Lib/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 = '[MissingActionException] Action HomeController::example2() could not be found.
Exception Attributes: array (
'controller' => 'HomeController',
'action' => 'example2',
)
Request URL: /home/example2
Stack Trace:
#0 /home/hidrodomus/public_html/Lib/Cake/Routing/Dispatcher.php(187): Controller->invokeAction(Object(CakeRequest))
#1 /home/hidrodomus/public_html/Lib/Cake/Routing/Dispatcher.php(162): Dispatcher->_invoke(Object(HomeController), Object(CakeRequest), Object(CakeResponse))
#2 /home/hidrodomus/public_html/webroot/index.php(112): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#3 {main}'
$debugTypes = array(
(int) 0 => 'notice',
(int) 1 => 'info',
(int) 2 => 'debug'
)
$filename = '/home/hidrodomus/public_html/tmp/logs/error.log'
$output = '2026-04-17 11:25:22 Error: [MissingActionException] Action HomeController::example2() could not be found.
Exception Attributes: array (
'controller' => 'HomeController',
'action' => 'example2',
)
Request URL: /home/example2
Stack Trace:
#0 /home/hidrodomus/public_html/Lib/Cake/Routing/Dispatcher.php(187): Controller->invokeAction(Object(CakeRequest))
#1 /home/hidrodomus/public_html/Lib/Cake/Routing/Dispatcher.php(162): Dispatcher->_invoke(Object(HomeController), Object(CakeRequest), Object(CakeResponse))
#2 /home/hidrodomus/public_html/webroot/index.php(112): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#3 {main}
' file_put_contents - [internal], line ??
FileLog::write() - APP/Lib/Cake/Log/Engine/FileLog.php, line 87
CakeLog::write() - APP/Lib/Cake/Log/CakeLog.php, line 453
ErrorHandler::handleException() - APP/Lib/Cake/Error/ErrorHandler.php, line 114
[main] - [internal], line ??
Cakephp CRUD - Data Management System
Missing Method in HomeController
Error:
The action example2 is not defined in controller HomeController
Error:
Create HomeController:: example2() in file: public_html/Controller/HomeController.php.
<?php
class HomeController extends AppController {
public function example2() {
}
}
Notice:
If you want to customize this error message, create public_html/View/Errors/missing_action.ctp
Stack Trace
APP/Lib/Cake/Routing/Dispatcher.php line 187 → Controller->invokeAction(CakeRequest) $controller -> startupProcess ();
$render = true ;
$result = $controller -> invokeAction ( $request );
if ( $result instanceof CakeResponse ) { object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'home/example2'
base => ''
webroot => '/'
here => '/home/example2'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
APP/Lib/Cake/Routing/Dispatcher.php line 162 → Dispatcher->_invoke(HomeController, CakeRequest, CakeResponse) ));
}
$response = $this -> _invoke ( $controller , $request , $response );
if (isset( $request -> params [ 'return' ])) { object(HomeController) {
name => 'Home'
layout => null
uses => array([maximum depth reached])
components => array(
[maximum depth reached]
)
helpers => array([maximum depth reached])
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Home'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'example2'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array([maximum depth reached])
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'Home'
modelKey => 'home'
validationErrors => null
Session => object(SessionComponent) {}
Auth => object(AuthComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'home/example2'
base => ''
webroot => '/'
here => '/home/example2'
[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] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}
APP/webroot/index.php line 112 → 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 => 'home/example2'
base => ''
webroot => '/'
here => '/home/example2'
[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] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}