[Flow] Get an 404 error after switching to "production"-context
Visay Keo
visay.keo at typo3.org
Mon Mar 2 16:17:43 CET 2015
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/
More information about the Flow
mailing list