Hi,

i have this code below:

class profileActions extends sfActions
{
  public function executeIndex(sfWebRequest $request)
  {
    // Extraemos todos los miembros de la red social.
    $this->lista_miembros = Doctrine::getTable('Profile')
      ->createQuery('a')
      ->execute();

    // Extraemos los amigos del usuario de la sesion.
    $this->lista_amigos = Doctrine::getTable('FriendReference')
      ->createQuery('a')
      ->select('a.user2')
      ->where("a.user1 LIKE ?", $this->getUser()->getGuardUser()->getId
())
      ->execute();

    // Datos es el array que contiene los id de los amigos del usuario
de la sesion.
    $this->datos = $this->lista_amigos->toArray();


    var_dump($this->datos);


  }


When i try to use a var_dump as you can see in the code i get this
warnings:

Warning: Cannot modify header information - headers already sent by
(output started at /home/aplis_sf/rs4/apps/frontend/modules/profile/
actions/actions.class.php:30) in /home/aplis_sf/rs4/lib/vendor/symfony/
lib/response/sfWebResponse.class.php on line 335

Warning: Cannot modify header information - headers already sent by
(output started at /home/aplis_sf/rs4/apps/frontend/modules/profile/
actions/actions.class.php:30) in /home/aplis_sf/rs4/lib/vendor/symfony/
lib/response/sfWebResponse.class.php on line 349

Any idea?

Bye

Javi

--~--~---------~--~----~------------~-------~--~----~
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 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to