Package: drupal
Version: 4.5.5-1
Followup-For: Bug #312202

Hi!

I was hit by this bug as well and after reading the bug report, I tried this
small patch: 

29c29
<     db_query("INSERT INTO {sessions} (sid, hostname, timestamp) values('%s', 
'%s', %d)", $key, $_SERVER["REMOTE_ADDR"], time());
---
>     db_query("INSERT INTO {sessions} (sid, uid, hostname, timestamp) 
> values('%s', 0, '%s', %d)", $key, $_SERVER["REMOTE_ADDR"], time());

Before that change I got an error displayed as in OPs bug report, after the
change, drupal display its Welcome page... so I guess it works.

BTW, the automatic generation of the psql DB simply doesn't work. Maybe I'll
write a separate bugreport on that... 

Regards, 
Ingo


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11
Locale: LANG=en_US, LC_CTYPE=de_DE (charmap=ISO-8859-1)

Versions of packages drupal depends on:
ii  apache                        1.3.33-8   versatile, high-performance HTTP s
ii  debconf                       1.4.58     Debian configuration management sy
ii  exim4                         4.52-2     metapackage to ease exim MTA (v4) 
ii  exim4-daemon-heavy [mail-tran 4.52-2     exim MTA (v4) daemon with extended
ii  makepasswd                    1.10-3     Generate and encrypt passwords
ii  php4-cli                      4:4.4.0-2  command-line interpreter for the p
ii  php4-mysql                    4:4.4.0-2  MySQL module for php4
ii  php4-pgsql                    4:4.4.0-2  PostgreSQL module for php4
ii  postgresql-client             7.5.9      front-end programs for PostgreSQL 
ii  wwwconfig-common              0.0.43     Debian web auto configuration

Versions of packages drupal recommends:
ii  apache                        1.3.33-8   versatile, high-performance HTTP s
ii  php4                          4:4.4.0-2  server-side, HTML-embedded scripti
ii  postgresql                    7.5.9      object-relational SQL database man

-- debconf information:
  drupal/createuser_failed:
* drupal/db_auto_update: false
  drupal/dropdb_failed:
  drupal/upgradedb_impossible:
* drupal/dbgeneration: false
* drupal/dbtype: PostgreSQL
* drupal/database_doremove: false
  drupal/upgradedb_failed:
* drupal/dbuser: drupal
  drupal/conffile_failed:
* drupal/remove_backups: false
  drupal/createdb_failed:
* drupal/dbserver: muaddib
* drupal/webserver: apache
* drupal/dbname: drupal
  drupal/dbadmin: root
  drupal/initdb_failed:


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to