[Flow] Get an 404 error after switching to "production"-context
Mira
mira at modifiziert.com
Mon Mar 2 14:46:08 CET 2015
Hey Bernhard,
I have only one Routes.yaml in my Configurations directory.
Under Development and Production are no Routes.yaml-files.
So I think this Routes.yaml works for both contexts?
Thanks,
Mira
> MarxDesign | Bernhard Marx <bernhard.marx at marxdesign.de> hat am 2. März 2015
> um 14:39 geschrieben:
>
>
> Hi Mira,
>
> did you define your routings for the production context?
>
> Just a thought into the blue :-)
>
> Bernhard
> ________________________________________
> Von: flow-bounces at lists.typo3.org <flow-bounces at lists.typo3.org> im Auftrag
> von Mira <mira at modifiziert.com>
> Gesendet: Montag, 2. März 2015 14:28
> An: TYPO3 Flow mailing list
> Betreff: [Flow] Get an 404 error after switching to "production"-context
>
> Hey,
>
> Everytime I work with my flow project, I develop and provide it to my visitors
> in development-context.
> Now I want to switch to production-context for my online version. For this I
> edit my apache-config from SetEnv FLOW_CONTEXT Development to SetEnv
> FLOW_CONTEXT Production.
>
> After this I flushed all caches with this command:
> FLOW_CONTEXT=Production ./flow flow:cache:flush
>
> Now when I try to reach my site, I get an 404 error.
> An axception is also thrown:
>
> Uncaught exception #1303209195 in line 77 of
> /var/www/flow3/timbo/Data/Temporary/Production/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Mvc_Dispatcher.php:
> No controller could be resolved which would match your request. Package key:
> "Timbo", controller name: "Standard".
>
> With "development"-context everything is working. Is it possible that flow
> looks
> for my package in another director instead of Packages/Application/Timbo ?
>
> Thanks,
> Mira
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
>
More information about the Flow
mailing list