Warning (2): file_put_contents(/var/www/html/htdocs2/app/tmp/logs/error.log): failed to open stream: Permission denied [APP/libs/cakephp-2.3.5/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 ArticleController::index() could not be found.
Exception Attributes: array (
'controller' => 'ArticleController',
'action' => 'index',
)
Request URL: /Article/
Stack Trace:
#0 /var/www/html/htdocs2/app/libs/cakephp-2.3.5/lib/Cake/Routing/Dispatcher.php(187): Controller->invokeAction(Object(CakeRequest))
#1 /var/www/html/htdocs2/app/libs/cakephp-2.3.5/lib/Cake/Routing/Dispatcher.php(162): Dispatcher->_invoke(Object(ArticleController), Object(CakeRequest), Object(CakeResponse))
#2 /var/www/html/htdocs2/index.php(96): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#3 {main}'
$debugTypes = array(
(int) 0 => 'notice',
(int) 1 => 'info',
(int) 2 => 'debug'
)
$filename = '/var/www/html/htdocs2/app/tmp/logs/error.log'
$output = '2021-01-23 06:52:12 Error: [MissingActionException] Action ArticleController::index() could not be found.
Exception Attributes: array (
'controller' => 'ArticleController',
'action' => 'index',
)
Request URL: /Article/
Stack Trace:
#0 /var/www/html/htdocs2/app/libs/cakephp-2.3.5/lib/Cake/Routing/Dispatcher.php(187): Controller->invokeAction(Object(CakeRequest))
#1 /var/www/html/htdocs2/app/libs/cakephp-2.3.5/lib/Cake/Routing/Dispatcher.php(162): Dispatcher->_invoke(Object(ArticleController), Object(CakeRequest), Object(CakeResponse))
#2 /var/www/html/htdocs2/index.php(96): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#3 {main}
'
file_put_contents - [internal], line ??
FileLog::write() - APP/libs/cakephp-2.3.5/lib/Cake/Log/Engine/FileLog.php, line 87
CakeLog::write() - APP/libs/cakephp-2.3.5/lib/Cake/Log/CakeLog.php, line 453
ErrorHandler::handleException() - APP/libs/cakephp-2.3.5/lib/Cake/Error/ErrorHandler.php, line 114
[main] - [internal], line ??
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/html/htdocs2/app/libs/cakephp-2.3.5/lib/Cake/Utility/Debugger.php:806) [APP/Lib/Error/AppExceptionRenderer.php, line 17]Code Context
function _notFound(){
header("HTTP/1.1 404 Not Found");
header - [internal], line ??
AppExceptionRenderer::_notFound() - APP/Lib/Error/AppExceptionRenderer.php, line 17
AppExceptionRenderer::MissingAction() - APP/Lib/Error/AppExceptionRenderer.php, line 6
ExceptionRenderer::render() - APP/libs/cakephp-2.3.5/lib/Cake/Error/ExceptionRenderer.php, line 176
ErrorHandler::handleException() - APP/libs/cakephp-2.3.5/lib/Cake/Error/ErrorHandler.php, line 123
[main] - [internal], line ??
您访问的网页不存在