[Flow] Get an 404 error after switching to "production"-context
Bastian Waidelich
bastian at typo3.org
Tue Mar 3 11:29:13 CET 2015
On 03.03.15, at 11:24, Mira wrote:
Hi Mira,
> My Routes.yaml (for Development and Production) looks like this:
>
>
> -
> name: 'index Startpage'
> uriPattern: ''
> defaults:
> '@package': 'My.Timbo'
> '@controller': 'Standard'
> '@action': 'index'
> '@format': 'html'
>
> Perhaps there is an error?
No, that looks fine. But your exception message does not fit to that
very route:
No controller could be resolved which would match your request. Package
key: "Timbo", controller name: "Standard".
Note the "Timbo" package key - it should be "My.Timbo". Are you sure
there are no other routes defined?
Does
FLOW_CONTEXT=Development ./flow routing:list
and
FLOW_CONTEXT=Production ./flow routing:list
have the same output?
--
Bastian Waidelich
More information about the Flow
mailing list