Warning (2): Missing argument 3 for GammesController::show() [APP/Controller/GammesController.php, line 49]Code Context$id = '#'
$slug = null
GammesController::show() - APP/Controller/GammesController.php, line 49
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 485
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 103
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 85
[main] - APP/webroot/index.php, line 96
Notice (8): Undefined variable: type [APP/Controller/GammesController.php, line 57]Code Context$id = '#'
$slug = null
GammesController::show() - APP/Controller/GammesController.php, line 57
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 485
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 103
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 85
[main] - APP/webroot/index.php, line 96
Warning (2): file_put_contents(/home/scio/app/tmp/logs/error.log) [function.file-put-contents]: failed to open stream: Permission denied [CORE/Cake/Log/Engine/FileLog.php, line 69]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 = '[NotFoundException] Cette gamme n'existe pas !
#0 [internal function]: GammesController->show('#')
#1 /home/scio/lib/Cake/Controller/Controller.php(485): ReflectionMethod->invokeArgs(Object(GammesController), Array)
#2 /home/scio/lib/Cake/Routing/Dispatcher.php(103): Controller->invokeAction(Object(CakeRequest))
#3 /home/scio/lib/Cake/Routing/Dispatcher.php(85): Dispatcher->_invoke(Object(GammesController), Object(CakeRequest), Object(CakeResponse))
#4 /home/scio/app/webroot/index.php(96): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#5 {main}'
$debugTypes = array(
(int) 0 => 'notice',
(int) 1 => 'info',
(int) 2 => 'debug'
)
$filename = '/home/scio/app/tmp/logs/error.log'
$output = '2021-03-01 10:36:31 Error: [NotFoundException] Cette gamme n'existe pas !
#0 [internal function]: GammesController->show('#')
#1 /home/scio/lib/Cake/Controller/Controller.php(485): ReflectionMethod->invokeArgs(Object(GammesController), Array)
#2 /home/scio/lib/Cake/Routing/Dispatcher.php(103): Controller->invokeAction(Object(CakeRequest))
#3 /home/scio/lib/Cake/Routing/Dispatcher.php(85): Dispatcher->_invoke(Object(GammesController), Object(CakeRequest), Object(CakeResponse))
#4 /home/scio/app/webroot/index.php(96): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#5 {main}
'
file_put_contents - [internal], line ??
FileLog::write() - CORE/Cake/Log/Engine/FileLog.php, line 69
CakeLog::write() - CORE/Cake/Log/CakeLog.php, line 204
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 118
[main] - [internal], line ??
Cette gamme n'existe pas !
Error:
The requested address '/gammes/show/%23?gammes%2Fshow%2F%23=' was not found on this server.
Stack Trace
- [internal function] → GammesController->show(string)
- CORE/Cake/Controller/Controller.php line 485 → ReflectionMethod->invokeArgs(GammesController, array)
'action' => $request->params['action']
));
}
return $method->invokeArgs($this, $request->params['pass']);
object(GammesController) {
helpers => array(
)
components => array(
)
name => 'Gammes'
uses => array(
)
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Gammes'
layoutPath => null
viewVars => array()
view => 'show'
layout => 'gammes'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
)
scaffold => false
methods => array(
)
modelClass => 'Gamme'
modelKey => 'gamme'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Acl => object(AclComponent) {}
Auth => object(AuthComponent) {}
Gamme => object(Gamme) {}
}
array(
(int) 0 => '#'
)
- CORE/Cake/Routing/Dispatcher.php line 103 → Controller->invokeAction(CakeRequest)
$controller->startupProcess();
$render = true;
$result = $controller->invokeAction($request);
if ($result instanceof CakeResponse) {
object(CakeRequest) {
params => array(
)
data => array()
query => array(
)
url => 'gammes/show/%23'
base => ''
webroot => '/'
here => '/gammes/show/%23'
}
- CORE/Cake/Routing/Dispatcher.php line 85 → Dispatcher->_invoke(GammesController, CakeRequest, CakeResponse)
));
}
return $this->_invoke($controller, $request, $response);
}
object(GammesController) {
helpers => array(
)
components => array(
)
name => 'Gammes'
uses => array(
)
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Gammes'
layoutPath => null
viewVars => array()
view => 'show'
layout => 'gammes'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
)
scaffold => false
methods => array(
)
modelClass => 'Gamme'
modelKey => 'gamme'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Acl => object(AclComponent) {}
Auth => object(AuthComponent) {}
Gamme => object(Gamme) {}
}
object(CakeRequest) {
params => array(
)
data => array()
query => array(
)
url => 'gammes/show/%23'
base => ''
webroot => '/'
here => '/gammes/show/%23'
}
object(CakeResponse) {
}
- APP/webroot/index.php line 96 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');
$Dispatcher = new Dispatcher();
$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));
object(CakeRequest) {
params => array(
)
data => array()
query => array(
)
url => 'gammes/show/%23'
base => ''
webroot => '/'
here => '/gammes/show/%23'
}
object(CakeResponse) {
}