reopen 298580
severity 298580 important
thanks
It seems you applied the patch by Florian and me wrong.
This fixes it.
--- postgres7.php.package 2005-04-13 22:18:46.000000000 +0200
+++ postgres7.php 2005-04-13 22:18:53.000000000 +0200
@@ -84,14 +84,14 @@
$this->persistency = $persistency;
+ $this->db_connect_id = ( $this->persistency ) ?
pg_pconnect($this->connect_string) : pg_connect($this->connect_string);
+
# Use the same encoding for our connection to the DB as we do
for talking with
# clients. That allows us to pass in user input containing
non-ascii chars into
# the database properly.
$encoding = ini_get ( 'default_charset' );
pg_set_client_encoding ( $this->db_connect_id, $encoding );
- $this->db_connect_id = ( $this->persistency ) ?
pg_pconnect($this->connect_string) : pg_connect($this->connect_string);
-
return ( $this->db_connect_id ) ? $this->db_connect_id : false;
}
Important because now php spews ugly warnings:
| Warning: pg_set_client_encoding(): supplied argument is not a valid
PostgreSQL link resource in /usr/share/phpbb2/site/db/postgres7.php on line 91
| Warning: Cannot modify header information - headers already sent by (output
started at /usr/share/phpbb2/site/db/postgres7.php:91) in
/usr/share/phpbb2/site/includes/sessions.php on line 188
| Warning: Cannot modify header information - headers already sent by (output
started at /usr/share/phpbb2/site/db/postgres7.php:91) in
/usr/share/phpbb2/site/includes/sessions.php on line 189
...
--
PGP signed and encrypted | .''`. ** Debian GNU/Linux **
messages preferred. | : :' : The universal
| `. `' Operating System
http://www.palfrader.org/ | `- http://www.debian.org/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]