[Ilugc] Help with Drupal

  • From: siva.devel@xxxxxxxxx (Sivaram Kannan)
  • Date: Fri Jan 4 17:37:51 2008

Hi All,

I was trying to install drupal and I have been fighting with the
drupal database configuration today. I used pgsql as my database. I
created the database user and the database as specified in the help
files(http://drupal.org/getting-started/5/install/create-database/mysql).
I was able to login to the pgsql database from the command line.

When I type the url http://localhost/drupal/ it is giving some weird
error on the web page. I have attached the errors at the end of the
mail. I have changed the drupal/sites/default/settings.php file to my
configuration with pgsql and username and dbname. Am i missing
something here ? Please help me.


OS: Debian Etch. I have placed the files in the proper path and have
given proper permissions.

regards,
siva.



errors when i type http://localhost/drupal/
=================================


Warning: pg_query() [function.pg-query]: Query failed: ERROR: relation
"access" does not exist in /var/www/drupal/includes/database.pgsql.inc
on line 138

Warning: ERROR: relation "access" does not exist query: SELECT 1 FROM
access WHERE type = 'host' AND LOWER('127.0.0.1') LIKE LOWER(mask) AND
status = 0 LIMIT 1 OFFSET 0 in
/var/www/drupal/includes/database.pgsql.inc on line 159

Warning: session_start() [function.session-start]: Cannot send session
cookie - headers already sent by (output started at
/var/www/drupal/includes/database.pgsql.inc:138) in
/var/www/drupal/includes/bootstrap.inc on line 923

Warning: session_start() [function.session-start]: Cannot send session
cache limiter - headers already sent (output started at
/var/www/drupal/includes/database.pgsql.inc:138) in
/var/www/drupal/includes/bootstrap.inc on line 923

Warning: pg_query() [function.pg-query]: Query failed: ERROR: relation
"cache" does not exist in /var/www/drupal/includes/database.pgsql.inc
on line 138

Warning: ERROR: relation "cache" does not exist query: SELECT data,
created, headers, expire, serialized FROM cache WHERE cid =
'variables' in /var/www/drupal/includes/database.pgsql.inc on line 159

Warning: pg_query() [function.pg-query]: Query failed: ERROR: relation
"variable" does not exist in
/var/www/drupal/includes/database.pgsql.inc on line 138

Warning: ERROR: relation "variable" does not exist query: SELECT *
FROM variable in /var/www/drupal/includes/database.pgsql.inc on line
159

Warning: pg_query() [function.pg-query]: Query failed: ERROR: relation
"cache" does not exist in /var/www/drupal/includes/database.pgsql.inc
on line 138

Warning: ERROR: relation "cache" does not exist query: UPDATE cache
SET data = '', created = 1199480702, expire = 0, headers = '',
serialized = 0 WHERE cid = 'variables' in
/var/www/drupal/includes/database.pgsql.inc on line 159

Warning: pg_query() [function.pg-query]: Query failed: ERROR: relation
"system" does not exist in /var/www/drupal/includes/database.pgsql.inc
on line 138

Warning: ERROR: relation "system" does not exist query: SELECT name,
filename, throttle FROM system WHERE type = 'module' AND status = 1
AND bootstrap = 1 ORDER BY weight ASC, filename ASC in
/var/www/drupal/includes/database.pgsql.inc on line 159

Warning: Cannot modify header information - headers already sent by
(output started at /var/www/drupal/includes/database.pgsql.inc:138) in
/var/www/drupal/includes/bootstrap.inc on line 568

Warning: Cannot modify header information - headers already sent by
(output started at /var/www/drupal/includes/database.pgsql.inc:138) in
/var/www/drupal/includes/bootstrap.inc on line 569

Warning: Cannot modify header information - headers already sent by
(output started at /var/www/drupal/includes/database.pgsql.inc:138) in
/var/www/drupal/includes/bootstrap.inc on line 570

Warning: Cannot modify header information - headers already sent by
(output started at /var/www/drupal/includes/database.pgsql.inc:138) in
/var/www/drupal/includes/bootstrap.inc on line 571

Warning: pg_query() [function.pg-query]: Query failed: ERROR: relation
"url_alias" does not exist in
/var/www/drupal/includes/database.pgsql.inc on line 138

Warning: ERROR: relation "url_alias" does not exist query: SELECT
COUNT(pid) FROM url_alias in
/var/www/drupal/includes/database.pgsql.inc on line 159

Other related posts: