PropelException

Description

[wrapped: Could not connect [User Info: host=rdsprueba.csprivado.net dbname='bd_transprensa' user='admin' password='*********'options='--client_encoding=LATIN1' connect_timeout=5 ] [User Info: Array]]

Source File

/htdocs/base/lib/propel/Propel.php (504)

0493: 
0494:             try {
0495:                 $modelConnect = new Model($dsn["database"]);
0496:                         $_servidor=$modelConnect->findServer();
0497:                         $_clave   =$modelConnect->getPass();
0498:                         //$conexion = $obj->connectBD();
0499:                        $dsn["hostspec"]=$_servidor;
0500:                         $dsn["password"]=$_clave;
0501: 
0502:                 $con = Creole::getConnection($dsn);
0503:             } catch (SQLException $e) {
0504: throw new PropelException($e);
0505: } 0506: self::$connectionMap[$name] = $con; 0507: } 0508: 0509: return $con; 0510: } 0511: 0512: 0513: 0514: /** 0515: * 0516: * @param string $name The database name.

Stack Trace

#0 /htdocs/base/protected/commons/CApplication.php(71): Propel::getConnection()
#1 /htdocs/base/protected/commons/CApplication.php(59): CApplication->initLogger()
#2 /htdocs/base/lib/prado/pradolite.php(9965): CApplication->initApplication()
#3 /htdocs/base/index.php(145): TApplication->run()
#4 {main}
2024-04-20 05:24 Apache PRADO/3.1.0a

Warning: pg_connect() [function.pg-connect]: Unable to connect to PostgreSQL server: could not translate host name "prueba96.cswnfpkkyzpg.us-east-1.rds.amazonaws.com" to address: Name or service not known in /htdocs/base/protected/commons/Web/class.phpmailer.php on line 2147

Warning: pg_query(): supplied argument is not a valid PostgreSQL link resource in /htdocs/base/protected/commons/Web/class.phpmailer.php on line 2167

Warning: pg_result(): supplied argument is not a valid PostgreSQL result resource in /htdocs/base/protected/commons/Web/class.phpmailer.php on line 2168

Warning: pg_query(): supplied argument is not a valid PostgreSQL link resource in /htdocs/base/protected/commons/Web/class.phpmailer.php on line 2182

Warning: pg_result(): supplied argument is not a valid PostgreSQL result resource in /htdocs/base/protected/commons/Web/class.phpmailer.php on line 2185