Make sure you have nothing before the <?php tag in frontend_dev.php (if you see nothing in a text editor, it means you have the utf8 BOM there, use a different text editor :) ), also: clean your cache, and it should work in prod as well.
On Sat, Dec 5, 2009 at 08:10, seifolah Ghaderi <[email protected]> wrote: > Oh! It's works !! > I cleaned the cash and it works. > But in *_dev.php it give some warning: > Warning: session_start() [function.session-start]: Cannot send session cache > limiter - headers already sent (output started at > /home/hngyxblz/public_html/frontend_dev.php:2) in > /home/hngyxblz/symfony/lib/vendor/symfony/lib/storage/sfSessionStorage.class.php > on line 93 > > Warning: Cannot modify header information - headers already sent by (output > started at /home/hngyxblz/public_html/frontend_dev.php:2) in > /home/hngyxblz/symfony/lib/vendor/symfony/lib/response/sfWebResponse.class.php > on line 335 > > Warning: Cannot modify header information - headers already sent by (output > started at /home/hngyxblz/public_html/frontend_dev.php:2) in > /home/hngyxblz/symfony/lib/vendor/symfony/lib/response/sfWebResponse.class.php > on line 349 > > Whats problem? > > On Sat, Dec 5, 2009 at 10:18 AM, seifolah Ghaderi <[email protected]> > wrote: >> >> Hey Thanks it works. >> But in fr *_dev.php only !!. >> It display a blank page in index.php and /backend/ >> >> Any idea? >> On Thu, Dec 3, 2009 at 11:43 AM, Daniel Lohse >> <[email protected]> wrote: >>> >>> Look here to customize symfony for your directory structure: >>> >>> >>> http://www.symfony-project.org/book/1_2/19-Mastering-Symfony-s-Configuration-Files#chapter_19_sub_modifying_the_project_web_root >>> >>> Cheers, Daniel >>> >>> On 2009-12-03, at 3/December, 9:10 AM, sepelloo wrote: >>> >>> > hi any body. >>> > I mean that my question may be repetitive . >>> > I develop my first symfony with sandbox project. >>> > Now I want to deploy it on my shared host. >>> > I upload web directory content in Public_html Directory. >>> > And other directory uploaded in root: >>> > lib >>> > app >>> > config >>> > data >>> > public_html/(web content) >>> > ... >>> > >>> > Now my site only display a blank page !!! >>> > What configuration needed? >>> > >>> > -- >>> > >>> > You received this message because you are subscribed to the Google >>> > Groups "symfony users" 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-users?hl=en. >>> > >>> > >>> >>> -- >>> >>> You received this message because you are subscribed to the Google Groups >>> "symfony users" 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-users?hl=en. >>> >>> >> > > -- > > You received this message because you are subscribed to the Google Groups > "symfony users" 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-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "symfony users" 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-users?hl=en.
