@davorj – I’ve done it as touisk explained (I’ve changed implementation of require_wp_db function)…
I still have this warning:
“Warning: pg_query() [function.pg-query]: No PostgreSQL link opened yet in /home/wordpress/www/wp-content/plugins/pg4wp/driver_pgsql.php on line 318”
and I don’t know what to do…
accessing wp-admin is impossible. Do You have any advice?
After Your advice I have following error – it occures when I try to acces /my-wordpress/wp-admin page…
Warning: pg_query() [function.pg-query]: No PostgreSQL link opened yet in /home/wordpress/www/wp-content/plugins/pg4wp/driver_pgsql.php on line 318
Warning: Cannot modify header information - headers already sent by (output started at /home/wordpress/www/wp-content/plugins/pg4wp/driver_pgsql.php:318) in /home/wordpress/www/wp-includes/pluggable.php on line 897
help 🙂