Robert Paulsen escribió:
The php code that is failing is:
$cstring="dbname=$db_name host=localhost user=$user
or die("Could not connect to postgresql database $db_name");
Did you enabled error reporting ? set display_errors=On in php.ini
ps: that piece of code, does not make sense...first $dbh is assigned to
be a reference of $_SESSION['dbh'] (which is a real hack, what you want
seems to be the "singleton pattern" instead) but a line later it is
reasigned by value to be a postgresql resource.. no wonder if there is
other bug around...
"We have art in order not to die of the truth" - Friedrich Nietzsche
Cristian Rodríguez R.
Platform/OpenSUSE - Core Services
SUSE LINUX Products GmbH
Research & Development