• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed Wrong Errormessage in debugmode if routeprefix doesn't exist

xf_phantom

Well-known member
#1
If i visit a invalid url i'm getting

A controller for the route path xxx was not found.
Shouldn't it be "route prefix " xxx wasn't found?

if the routeprefix and routeclass exist, but the controller not
The controller XXX does not define an action called Index.
if the routeprefix exist, but the route class is missing:
A controller for the route path xxx was not found.

Better Error messages would make debugging easier:)