Error:
Your routing resulted in Www.prochrist-urbach-plue.de as a controller name.
/var/www/vhosts/baptisten-urbach.de/httpdocs/vendor/cakephp/cakephp/src/Http/ControllerFactory.php
toggle arguments
|
strpos($controller, '/') !== false || |
|
strpos($controller, '.') !== false || |
|
$firstChar === strtolower($firstChar) |
|
) { |
|
$this->missingController($request); |
|
} |
|
|
|
return App::className($pluginPath . $controller, $namespace, 'Controller') ?: null; |
|
} |
/var/www/vhosts/baptisten-urbach.de/httpdocs/vendor/cakephp/cakephp/src/Http/ControllerFactory.php
toggle arguments
|
* @throws \ReflectionException |
|
*/ |
|
public function create(ServerRequest $request, Response $response) |
|
{ |
|
$className = $this->getControllerClass($request); |
|
if (!$className) { |
|
$this->missingController($request); |
|
} |
|
$reflection = new ReflectionClass($className); |
/var/www/vhosts/baptisten-urbach.de/httpdocs/vendor/cakephp/cakephp/src/Routing/Filter/ControllerFactoryFilter.php
toggle arguments
|
protected function _getController($request, $response) |
|
{ |
|
$factory = new ControllerFactory(); |
|
|
|
return $factory->create($request, $response); |
|
} |
|
} |
|
|
/var/www/vhosts/baptisten-urbach.de/httpdocs/vendor/cakephp/cakephp/src/Routing/Filter/ControllerFactoryFilter.php
toggle arguments
|
public function beforeDispatch(Event $event) |
|
{ |
|
$request = $event->getData('request'); |
|
$response = $event->getData('response'); |
|
$event->setData('controller', $this->_getController($request, $response)); |
|
} |
|
|
|
/** |
|
* Gets controller to use, either plugin or application controller. |
/var/www/vhosts/baptisten-urbach.de/httpdocs/vendor/cakephp/cakephp/src/Routing/DispatcherFilter.php
toggle arguments
|
{ |
|
$name = $event->getName(); |
|
list(, $method) = explode('.', $name); |
|
if (empty($this->_config['for']) && empty($this->_config['when'])) { |
|
return $this->{$method}($event); |
|
} |
|
if ($this->matches($event)) { |
|
return $this->{$method}($event); |
|
} |
/var/www/vhosts/baptisten-urbach.de/httpdocs/vendor/cakephp/cakephp/src/Event/EventManager.php
toggle arguments
|
protected function _callListener(callable $listener, Event $event) |
|
{ |
|
$data = $event->getData(); |
|
|
|
return $listener($event, ...array_values($data)); |
|
} |
|
|
|
/** |
|
* {@inheritDoc} |
/var/www/vhosts/baptisten-urbach.de/httpdocs/vendor/cakephp/cakephp/src/Event/EventManager.php
toggle arguments
|
foreach ($listeners as $listener) { |
|
if ($event->isStopped()) { |
|
break; |
|
} |
|
$result = $this->_callListener($listener['callable'], $event); |
|
if ($result === false) { |
|
$event->stopPropagation(); |
|
} |
|
if ($result !== null) { |
/var/www/vhosts/baptisten-urbach.de/httpdocs/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php
toggle arguments
|
$subject = $this; |
|
} |
|
|
|
$event = new $this->_eventClass($name, $subject, $data); |
|
$this->getEventManager()->dispatch($event); |
|
|
|
return $event; |
|
} |
|
} |
/var/www/vhosts/baptisten-urbach.de/httpdocs/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php
toggle arguments
|
{ |
|
if (Router::getRequest(true) !== $request) { |
|
Router::pushRequest($request); |
|
} |
|
$beforeEvent = $this->dispatchEvent('Dispatcher.beforeDispatch', compact('request', 'response')); |
|
|
|
$request = $beforeEvent->getData('request'); |
|
if ($beforeEvent->getResult() instanceof Response) { |
|
return $beforeEvent->getResult(); |
/var/www/vhosts/baptisten-urbach.de/httpdocs/vendor/cakephp/cakephp/src/Routing/Dispatcher.php
toggle arguments
|
'Dispatcher is deprecated. You should update your application to use ' . |
|
'the Http\Server implementation instead.' |
|
); |
|
$actionDispatcher = new ActionDispatcher(null, $this->getEventManager(), $this->_filters); |
|
$response = $actionDispatcher->dispatch($request, $response); |
|
if ($request->getParam('return', null) !== null) { |
|
return $response->body(); |
|
} |
|
|
/var/www/vhosts/baptisten-urbach.de/httpdocs/webroot/index.php
toggle arguments
|
|
|
$dispatcher = DispatcherFactory::create();
|
|
$dispatcher->dispatch(
|
|
Request::createFromGlobals(),
|
|
new Response()
|
|
);
|
|
|
The controller name Www.prochrist-urbach-plue.de has not been properly inflected, and
could not be resolved to a controller that exists in your application.
Ensure that your URL /www.prochrist-urbach-plue.de is
using the same inflection style as your routes do. By default applications use DashedRoute
and URLs should use - to separate multi-word controller names.
If you want to customize this error message, create
src/Template/Error/missing_controller.ctp