MGS-Framework // Error Page

image/svg+xml MEDIENGESTALTUNG Schuhmann

404 - No route defined!

To disable the further messages, set the "DEVELOPMENT_ENVIRONMENT" in the ".env" file to FALSE.

StackTrace for the exception

No route defined!
/var/www/www.jaegerhof-rheinbrohl.de/framework/library/router.php (270)
265

266 // Return the route with it's models
267 return $values;
268 }
269
270 throw new Exception('No route defined!', 404);
271 }
272
273 /**
274 * Get all currently registered routes.
275 *
resolveRoute
/var/www/www.jaegerhof-rheinbrohl.de/framework/library/application.php (155)
150	 * 

151 * @return array
152 */
153 protected function pushThroughRouter(String $uri, String $method)
154 {
155 return $this->get('router')->resolveRoute($uri, $method);
156 }
157
158 /**
159 * Check if the environment is in development and display errors.
160 *
pushThroughRouter
/var/www/www.jaegerhof-rheinbrohl.de/framework/library/application.php (122)
117	{

118 if (!$this->booted) {
119 $this->boot();
120 }
121
122 $requestedSite = $this->pushThroughRouter(Request::uri(), Request::method());
123
124 $controllerClass = 'App\controllers\\' . $requestedSite['controller'];
125 $action = $requestedSite['action'];
126
127 if (class_exists($controllerClass) && (int) method_exists($controllerClass, $action)) {
run
/var/www/www.jaegerhof-rheinbrohl.de/public/index.php (32)
27

28/**
29 * Create a new MGS-Framework application instance and let the magic happen.
30 */
31$app = Application::create();
32$app->run();
Copyright © 2019 - 2020 MG-Schuhmann - All rights reserved.