Hi every:
I have this settings in my databases.yml

[code]
all:
  propel:
    class:      sfPropelDatabase
    param:
      dsn:  pgsql://gestec:[EMAIL PROTECTED]/uci_recursos

and in my propel.ini this other settings:

[code]
propel.targetPackage       = lib.model
propel.packageObjectModel  = true
propel.project             = gestion
propel.database            = pgsql
propel.database.createUrl  = pgsql://gestec:[EMAIL PROTECTED]
propel.database.url        = pgsql://gestec:[EMAIL PROTECTED]/uci_recursos

So I write this code:

[code]
class gesdessoftActions extends sfActions
{
  public function executeIndex()
  {
        $this->getContext()->getDatabaseConnection();
  }
}

When I call the URL I get this error:

[sfDatabaseException]
Database "default" does not exist

Is this a error, a bug, a missunderstanding by me or something is wrong?
Cheers and thanks in advance
Ing. Reynier Pérez Mira
Grupo Soporte al Desarrollo - Dirección Técnica IP 

--~--~---------~--~----~------------~-------~--~----~
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