Warning (2) : unlink(/home/ubuntu/hub/app/tmp/logs/error.log.1422244355): Permission denied [CORE/Cake/Log/Engine/FileLog.php , line 210 ]Code Context $files = glob ( $filepath . '.*' );
if ( count ( $files ) === $this -> _config [ 'rotate' ]) {
unlink ( array_shift ( $files ));
$filename = 'error.log'
$filepath = '/home/ubuntu/hub/app/tmp/logs/error.log'
$files = array(
(int) 0 => '/home/ubuntu/hub/app/tmp/logs/error.log.1427393979',
(int) 1 => '/home/ubuntu/hub/app/tmp/logs/error.log.1431956175',
(int) 2 => '/home/ubuntu/hub/app/tmp/logs/error.log.1436220999',
(int) 3 => '/home/ubuntu/hub/app/tmp/logs/error.log.1533331111',
(int) 4 => '/home/ubuntu/hub/app/tmp/logs/error.log.1540504401',
(int) 5 => '/home/ubuntu/hub/app/tmp/logs/error.log.1553564880',
(int) 6 => '/home/ubuntu/hub/app/tmp/logs/error.log.1589746456',
(int) 7 => '/home/ubuntu/hub/app/tmp/logs/error.log.1615497464',
(int) 8 => '/home/ubuntu/hub/app/tmp/logs/error.log.1654003819'
) unlink - [internal], line ??
FileLog::_rotateFile() - CORE/Cake/Log/Engine/FileLog.php, line 210
FileLog::write() - CORE/Cake/Log/Engine/FileLog.php, line 139
CakeLog::write() - CORE/Cake/Log/CakeLog.php, line 453
ErrorHandler::_log() - CORE/Cake/Error/ErrorHandler.php, line 180
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 113
[main] - [internal], line ?? Warning (2) : rename(/home/ubuntu/hub/app/tmp/logs/error.log,/home/ubuntu/hub/app/tmp/logs/error.log.1726724495) [function.rename ]: Permission denied [CORE/Cake/Log/Engine/FileLog.php , line 214 ]Code Context }
return rename ( $filepath , $filepath . '.' . time ());
$filename = 'error.log'
$filepath = '/home/ubuntu/hub/app/tmp/logs/error.log'
$files = array(
(int) 0 => '/home/ubuntu/hub/app/tmp/logs/error.log.1427393979',
(int) 1 => '/home/ubuntu/hub/app/tmp/logs/error.log.1431956175',
(int) 2 => '/home/ubuntu/hub/app/tmp/logs/error.log.1436220999',
(int) 3 => '/home/ubuntu/hub/app/tmp/logs/error.log.1533331111',
(int) 4 => '/home/ubuntu/hub/app/tmp/logs/error.log.1540504401',
(int) 5 => '/home/ubuntu/hub/app/tmp/logs/error.log.1553564880',
(int) 6 => '/home/ubuntu/hub/app/tmp/logs/error.log.1589746456',
(int) 7 => '/home/ubuntu/hub/app/tmp/logs/error.log.1615497464',
(int) 8 => '/home/ubuntu/hub/app/tmp/logs/error.log.1654003819'
) rename - [internal], line ??
FileLog::_rotateFile() - CORE/Cake/Log/Engine/FileLog.php, line 214
FileLog::write() - CORE/Cake/Log/Engine/FileLog.php, line 139
CakeLog::write() - CORE/Cake/Log/CakeLog.php, line 453
ErrorHandler::_log() - CORE/Cake/Error/ErrorHandler.php, line 180
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 113
[main] - [internal], line ??
Phone Application:
Errors
Missing Method in UsersController
Error:
The action img is not defined in controller UsersController
Error:
Create UsersController:: img() in file: app/Controller/UsersController.php.
<?php
class UsersController extends AppController {
public function img() {
}
}
Notice:
If you want to customize this error message, create app/View/Errors/missing_action.ctp
Stack Trace
CORE/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 => 'users/img/favicon.ico'
base => ''
webroot => '/'
here => '/users/img/favicon.ico'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
CORE/Cake/Routing/Dispatcher.php line 162 → Dispatcher->_invoke(UsersController, CakeRequest, CakeResponse) ));
}
$response = $this -> _invoke ( $controller , $request , $response );
if (isset( $request -> params [ 'return' ])) {
object(UsersController) {
uses => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
name => 'Users'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Users'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'img'
layout => 'default'
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 => 'User'
modelKey => 'user'
validationErrors => null
Session => object(SessionComponent) {}
Auth => object(AuthComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Prg => object(PrgComponent) {}
AwesomeCurl => object(AwesomeCurlComponent) {}
AwesomeRedis => object(AwesomeRedisComponent) {}
presetVars => array(
[maximum depth reached]
)
User => object(User) {}
[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 => 'users/img/favicon.ico'
base => ''
webroot => '/'
here => '/users/img/favicon.ico'
[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 110 → 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 => 'users/img/favicon.ico'
base => ''
webroot => '/'
here => '/users/img/favicon.ico'
[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])
}