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

Support wm at psoft.at
Tue Mar 3 13:17:09 CET 2015


hi,

I had similar problems. this did it for me:

1.) do ./flow flow:core:setfilepermissions root  www-data www-data

2.) is document root in your apache-config pointing to  "Web" folder ? e.g DocumentRoot /var/www/flow-base-distribution/Web
and <Directory /var/www/flow-base-distribution/Web>

3.) is SetEnv FLOW_CONTEXT Production  enabled in your .htaccess in "Web" directory?  


-----Ursprüngliche Nachricht-----
Von: flow-bounces at lists.typo3.org [mailto:flow-bounces at lists.typo3.org] Im Auftrag von Mira
Gesendet: Dienstag, 03. März 2015 12:19
An: TYPO3 Flow mailing list
Betreff: Re: [Flow] Get an 404 error after switching to "production"-context

Yes, its the same:
 

root at host:/var/www/flow3/timbo# FLOW_CONTEXT=Development ./flow routing:list Currently registered routes:
1. index Startpage
root at host:/var/www/flow3/timbo# FLOW_CONTEXT=Production ./flow routing:list Currently registered routes:
1. index Startpage

 

> Bastian Waidelich <bastian at typo3.org> hat am 3. März 2015 um 12:10
> geschrieben:
>
>
> On 03.03.15, at 12:02, Mira wrote:
>
> Hi again,
>
> > When I hit this command:
> > ./flow flow:core:migrate
> >
> > I get:
>
> > [...] Skipping My.Timbo, the working copy is dirty [...]
>
> Core migrations generate git commits, but only if your git working 
> copy does not contain local changes that aren't committed yet.
> If you stash/commit those changes, the core migrations should run through.
>
> However, that probably won't solve the actual problem being that your 
> routing seems to behave differently depending on the context. And that 
> should never be the case.
>
> Did you already compare the output of
>
> FLOW_CONTEXT=Development ./flow routing:list
>
> and
>
> FLOW_CONTEXT=Production ./flow routing:list
>
> ?
>
>
> --
> Bastian Waidelich
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
>
_______________________________________________
Flow mailing list
Flow at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/flow



More information about the Flow mailing list