Le 09/05/2011 16:07, Zolzaya Erdenebaatar a écrit :
Thank you. It's helped me. Now it's working. But when I upload my app to server. It shows me same problem. Now I want to know /php app/console --env=prod cache:clear /command erase which folder's data.

On Mon, May 9, 2011 at 8:50 PM, Christophe COEVOET <[email protected] <mailto:[email protected]>> wrote:

    Le 09/05/2011 14:47, user123 a écrit :
    Hi guys,
    I'm new to symfony and symfony 2.0. I have problem. My problem is when
    I change development environment to production environment /
    app_dev.php/home/welcome to app.php/home/welcome / my app don't work?
    Why? I get following errors:
    Oops! An Error Occurred
    The server returned a "404 Not Found".
    Something is broken. Please e-mail us at [email] and let us know what
    you were doing when this error occurred. We will fix it as soon as
    possible. Sorry for any inconvenience caused.

    In development environment my apps working great. Please help me?

    Did you cleared you prod cache after changing the code of your
    project ? It is not done automatically in prod for performance
    /php app/console --env=prod cache:clear/

you should never upload the app/cache folder to the server as the cache contains some absolute paths.

--
Christophe | Stof

--
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to