[Flow] Get an 404 error after switching to "production"-context

Mira mira at modifiziert.com
Tue Mar 3 09:10:12 CET 2015


Hi Visay,
 
Both Settings.yaml are the same, but I have duplicated the
Development/Settings.yaml to Production again.
 
After this I have deleted the PackageStates.php and directory Data/Temporary and
hit FLOW_CONTEXT=Production ./flow typo3.flow:cache:warmup
 
But the error is the same... :(
 
Thanks,
Mira
 
 

> Visay Keo <visay.keo at typo3.org> hat am 2. März 2015 um 16:17 geschrieben:
>
>
> I had that before and I did random stuff but you can try with manually
> deleting "Data/Temporary" and "Configuration/PackageStates.php", then
> warmup the cache again.
>
> Also check if you have any specific settings under
> Configuration/Development/Settings.yaml, if yes, that needs to be copied
> to Configuration/Production/Settings.yaml too.
>
> On 2 មិនា 2015 20:28, Mira wrote:
> > 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
> >
>
> --
> TYPO3 .... Inspiring People To Share!
> Participate: http://typo3.org/participate/
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow


More information about the Flow mailing list