Error A route matching "page=museum" could not be found.
|
|
return $r; |
|
} |
|
} |
|
throw new MissingRouteException(['url' => $urlPath]); |
|
} |
|
|
|
/** |
|
* Get the set of names from the $url. Accepts both older style array urls, |
None of the currently connected routes match the provided parameters. Add a matching route to config/routes.php
Template | Defaults | Options |
---|---|---|
/ | [
'controller' => 'Pages',
'action' => 'display',
(int) 0 => 'index',
'plugin' => null,
] |
[
'_ext' => [
],
'routeClass' => 'Cake\Routing\Route\DashedRoute',
] |
/pages/* | [
'controller' => 'Pages',
'action' => 'display',
'plugin' => null,
] |
[
'_ext' => [
],
'routeClass' => 'Cake\Routing\Route\DashedRoute',
] |
/{controller} | [
'action' => 'index',
'plugin' => null,
] |
[
'routeClass' => 'Cake\Routing\Route\DashedRoute',
'_ext' => [
],
] |
/{controller}/{action}/* | [
'plugin' => null,
'action' => 'index',
] |
[
'routeClass' => 'Cake\Routing\Route\DashedRoute',
'_ext' => [
],
] |
/debug-kit/toolbar/clear-cache | [
'controller' => 'Toolbar',
'action' => 'clearCache',
'plugin' => 'DebugKit',
] |
[
'_ext' => [
(int) 0 => 'json',
],
'routeClass' => 'Cake\Routing\Route\DashedRoute',
] |
/debug-kit/toolbar/* | [
'controller' => 'Requests',
'action' => 'view',
'plugin' => 'DebugKit',
] |
[
'_ext' => [
(int) 0 => 'json',
],
'routeClass' => 'Cake\Routing\Route\DashedRoute',
] |
/debug-kit/panels/view/* | [
'controller' => 'Panels',
'action' => 'view',
'plugin' => 'DebugKit',
] |
[
'_ext' => [
(int) 0 => 'json',
],
'routeClass' => 'Cake\Routing\Route\DashedRoute',
] |
/debug-kit/panels/* | [
'controller' => 'Panels',
'action' => 'index',
'plugin' => 'DebugKit',
] |
[
'_ext' => [
(int) 0 => 'json',
],
'routeClass' => 'Cake\Routing\Route\DashedRoute',
] |
/debug-kit/composer/check-dependencies | [
'controller' => 'Composer',
'action' => 'checkDependencies',
'plugin' => 'DebugKit',
] |
[
'_ext' => [
(int) 0 => 'json',
],
'routeClass' => 'Cake\Routing\Route\DashedRoute',
] |
/debug-kit/mail-preview | [
'action' => 'index',
'controller' => 'MailPreview',
'plugin' => 'DebugKit',
] |
[
'_ext' => [
(int) 0 => 'json',
],
'routeClass' => 'Cake\Routing\Route\DashedRoute',
] |
/debug-kit/mail-preview/preview | [
'action' => 'email',
'controller' => 'MailPreview',
'plugin' => 'DebugKit',
] |
[
'_ext' => [
(int) 0 => 'json',
],
'routeClass' => 'Cake\Routing\Route\DashedRoute',
] |
/debug-kit/mail-preview/preview/* | [
'action' => 'email',
'controller' => 'MailPreview',
'plugin' => 'DebugKit',
] |
[
'_ext' => [
(int) 0 => 'json',
],
'routeClass' => 'Cake\Routing\Route\DashedRoute',
] |
/debug-kit/mail-preview/sent/{panel}/{id} | [
'action' => 'sent',
'controller' => 'MailPreview',
'plugin' => 'DebugKit',
] |
[
'pass' => [
(int) 0 => 'panel',
(int) 1 => 'id',
],
'_ext' => [
(int) 0 => 'json',
],
'routeClass' => 'Cake\Routing\Route\DashedRoute',
] |
/debug-kit | [
'controller' => 'Dashboard',
'action' => 'index',
'_method' => 'GET',
'plugin' => 'DebugKit',
] |
[
'_name' => null,
'_ext' => [
(int) 0 => 'json',
],
'routeClass' => 'Cake\Routing\Route\DashedRoute',
] |
/debug-kit/dashboard | [
'controller' => 'Dashboard',
'action' => 'index',
'_method' => 'GET',
'plugin' => 'DebugKit',
] |
[
'_name' => null,
'_ext' => [
(int) 0 => 'json',
],
'routeClass' => 'Cake\Routing\Route\DashedRoute',
] |
/debug-kit/dashboard/reset | [
'controller' => 'Dashboard',
'action' => 'reset',
'_method' => 'POST',
'plugin' => 'DebugKit',
] |
[
'_name' => null,
'_ext' => [
(int) 0 => 'json',
],
'routeClass' => 'Cake\Routing\Route\DashedRoute',
] |
If you want to customize this error message, create templates/Error/missing_route.php