Warning (2): file_put_contents(/home/utahride/public_html/tmp/logs/debug.log) [function.file-put-contents]: failed to open stream: Permission denied [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 AdGeneral.phpController could not be found.
#0 /home/utahride/public_html/webroot/index.php(99): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#1 {main}'
$debugTypes = array(
(int) 0 => 'notice',
(int) 1 => 'info',
(int) 2 => 'debug'
)
$filename = '/home/utahride/public_html/tmp/logs/debug.log'
$output = '2013-05-22 00:10:43 Error: [MissingControllerException] Controller class AdGeneral.phpController could not be found.
#0 /home/utahride/public_html/webroot/index.php(99): 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 443
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 118
[main] - [internal], line ??
Warning (2): file_put_contents(/home/utahride/public_html/tmp/logs/error.log) [function.file-put-contents]: failed to open stream: Permission denied [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 AdGeneral.phpController could not be found.
#0 /home/utahride/public_html/webroot/index.php(99): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#1 {main}'
$debugTypes = array(
(int) 0 => 'notice',
(int) 1 => 'info',
(int) 2 => 'debug'
)
$filename = '/home/utahride/public_html/tmp/logs/error.log'
$output = '2013-05-22 00:10:43 Error: [MissingControllerException] Controller class AdGeneral.phpController could not be found.
#0 /home/utahride/public_html/webroot/index.php(99): 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 443
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 118
[main] - [internal], line ??
Missing Controller
Error:
AdGeneral.phpController could not be found.
Error:
Create the class AdGeneral.phpController below in file: public_html/Controller/AdGeneral.phpController.php
<?php
class AdGeneral.phpController extends AppController {
}
Notice:
If you want to customize this error message, create public_html/View/Errors/missing_controller.ctp
Stack Trace
- APP/webroot/index.php line 99 → Dispatcher->dispatch(CakeRequest, CakeResponse)
$Dispatcher->dispatch(
new CakeRequest(),
new CakeResponse(array('charset' => Configure::read('App.encoding')))
);
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array(
[maximum depth reached]
)
url => 'ad_general.php'
base => ''
webroot => '/'
here => '/ad_general.php'
}
object(CakeResponse) {
}