Apache 2.2.3, PostgreSQL 8.2.4, PHP 5.2

When entering install.php and filling out the database-values and clicking save configuration, these messages appear:

Warning: pg_query() [function.pg-query]: Query failed: ERROR: no schema has been selected to create in in /home/gik/apache_www/drupal/includes/install.pgsql.inc on line 51

Warning: pg_query() [function.pg-query]: Query failed: ERROR: relation "drupal_install_test" does not exist in /home/gik/apache_www/drupal/includes/install.pgsql.inc on line 62

Warning: pg_query() [function.pg-query]: Query failed: ERROR: relation "drupal_install_test" does not exist in /home/gik/apache_www/drupal/includes/install.pgsql.inc on line 73

Warning: pg_query() [function.pg-query]: Query failed: ERROR: relation "drupal_install_test" does not exist in /home/gik/apache_www/drupal/includes/install.pgsql.inc on line 84

Warning: pg_query() [function.pg-query]: Query failed: ERROR: relation "drupal_install_test" does not exist in /home/gik/apache_www/drupal/includes/install.pgsql.inc on line 106

Warning: pg_query() [function.pg-query]: Query failed: ERROR: table "drupal_install_test" does not exist in /home/gik/apache_www/drupal/includes/install.pgsql.inc on line 117

Warning: Cannot modify header information - headers already sent by (output started at /home/gik/apache_www/drupal/includes/install.pgsql.inc:51) in /home/gik/apache_www/drupal/includes/install.inc on line 573

I created the database using "CREATE DATABASE drupal OWNER gik". After the above messages I checked the database and it's empty. No schemas, tables, anything.

What's wrong?

Comments

merlini’s picture

please check the $db_url in your sites/default/settings.php file.