It could be a space before "<?php" or after "?>" in your myWebResponse
class. Make sure, that nothing is echoed there.

Michael



On Jul 18, 9:00 am, Sumedh <[EMAIL PROTECTED]> wrote:
> Thanks Honey & Nicolas...
>
> I tried the approach you told...created myWebResponse class and unset
> the title part of the $meta_tags array...
>
> But there some other problem…
>
> I get following errors on every page…
>
> Warning: session_start() [function.session-start]: Cannot send session
> cookie - headers already sent by (output started at /home/brajesh/
> workspace/zam_fe/apps/frontend/lib/myWebResponse.class.php:2) in /usr/
> share/php/symfony/storage/sfSessionStorage.class.php on line 77
>
> Warning: session_start() [function.session-start]: Cannot send session
> cache limiter - headers already sent (output started at /home/brajesh/
> workspace/zam_fe/apps/frontend/lib/myWebResponse.class.php:2) in /usr/
> share/php/symfony/storage/sfSessionStorage.class.php on line 77
>
> Warning: Cannot modify header information - headers already sent by
> (output started at /home/brajesh/workspace/zam_fe/apps/frontend/lib/
> myWebResponse.class.php:2) in /usr/share/php/symfony/response/
> sfWebResponse.class.php on line 264
>
> Warning: Cannot modify header information - headers already sent by
> (output started at /home/brajesh/workspace/zam_fe/apps/frontend/lib/
> myWebResponse.class.php:2) in /usr/share/php/symfony/response/
> sfWebResponse.class.php on line 274
>
> So, it seems that headers are getting modified while they’ve been
> already sent… :|
>
> But we aren’t sending the META tags in myWebResponse…we are just
> modifying its contents…
>
> Nothing seems wrong in factories.yml as well…
>
> cli:
>   controller:
>     class: sfConsoleController
>   request:
>     class: sfConsoleRequest
>   response:
>     class: sfConsoleResponse
>
> test:
>   storage:
>     class: sfSessionTestStorage
>
> all:
>   storage:
>     class: sfSessionStorage
>     param:
>       session_name: Zamanzar
>
>   response:
>     class: myWebResponse  (this is what I have added)
>
> Any clues why this could be happening…? :|
>
> On Jul 16, 10:18 am, honey <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > Yes me too was facing this problem. What i did was i created a custom
> > function myWebResponse.class.php in frontend\lib folder. In that
> > custom function i unset the meta title.
>
> > This is how you can get ride of meta title and can have only <title>
> > on a page.
>
> > Thanks,
> > honey
>
> > On Jul 15, 2:51 pm, Sumedh <[EMAIL PROTECTED]> wrote:
>
> > > Hi guys...
>
> > > The <?php include_metas() ?> call in Symfony includes META tags...
>
> > > I want the META description and META keywords tag included...
>
> > > But I don't want to the META title tag to be included...
>
> > > The reason being the title should be included only in <title>
> > > tag...and I am afraid having it in two places...(<title> tag as well
> > > as META title tag) will affect my rankings negatively (too much
> > > repetition of keywords)...
>
> > > It might be harmless...but it is certainly useless...why have it
> > > then? :)
>
> > > Is there some easy way to do this?
>
> > > Thanks in advance... :)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to