Package: drupal6
Version: 6.18-1
Severity: minor

Running /install.php to set up a new Drupal6 site attempts to read
sites/default/default.settings.php before writing the configuration
file. One can't get past the DB setup page, and no error is displayed to
the user.

Apache logs the following:
[Fri Dec 03 23:38:27 2010] [error] [client 41.185.111.214] PHP Warning: 
fopen(./sites/default/default.settings.php): failed to open stream: No such 
file or directory in /usr/share/drupal6/includes/install.inc on line 188, 
referer: http://test.vhost/install.php?profile=default&locale=en

Creating that file does the trick:
zcat /usr/share/doc/drupal6/examples/default.settings.php.gz > 
/etc/drupal/6/sites/default/default.settings.php

SR

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_ZA.utf8, LC_CTYPE=en_ZA.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages drupal6 depends on:
ii  apache2                  2.2.16-4        Apache HTTP Server metapackage
ii  apache2-mpm-prefork [htt 2.2.16-4        Apache HTTP Server - traditional n
ii  curl                     7.21.0-1        Get a file from an HTTP, HTTPS or 
ii  dbconfig-common          1.8.46          common framework for packaging dat
ii  debconf [debconf-2.0]    1.5.36          Debian configuration management sy
ii  mysql-client-5.1 [virtua 5.1.49-2        MySQL database client binaries
ii  php5                     5.3.3-4         server-side, HTML-embedded scripti
ii  php5-gd                  5.3.3-4         GD module for php5
ii  php5-mysql               5.3.3-4         MySQL module for php5
ii  php5-pgsql               5.3.3-4         PostgreSQL module for php5
ii  postfix [mail-transport- 2.7.1-1         High-performance mail transport ag
ii  postgresql-client-8.4 [p 8.4.5-0squeeze2 front-end programs for PostgreSQL 
ii  wwwconfig-common         0.2.1           Debian web auto configuration

Versions of packages drupal6 recommends:
ii  mysql-server                  5.1.49-2   MySQL database server (metapackage
ii  mysql-server-5.1 [mysql-serve 5.1.49-2   MySQL database server binaries and

drupal6 suggests no packages.

-- Configuration Files:
/etc/drupal/6/apache.conf changed [not included]

-- debconf information:
  drupal6/pgsql/manualconf:
  drupal6/mysql/method: unix socket
  drupal6/pgsql/authmethod-user:
  drupal6/purge: false
  drupal6/remove-error: abort
  drupal6/dbconfig-upgrade: true
  drupal6/pgsql/admin-user: postgres
  drupal6/install-error: abort
  drupal6/dbconfig-remove:
  drupal6/db/dbname: drupal6
  drupal6/pgsql/changeconf: false
  drupal6/internal/skip-preseed: true
  drupal6/pgsql/method: unix socket
  drupal6/missing-db-package-error: abort
  drupal6/upgrade-error: abort
  drupal6/remote/host:
  drupal6/db/basepath:
  drupal6/passwords-do-not-match:
  drupal6/internal/reconfiguring: false
  drupal6/pgsql/no-empty-passwords:
  drupal6/db/app-user: drupal6
  drupal6/database-type:
  drupal6/upgrade-backup: true
  drupal6/dbconfig-reinstall: false
  drupal6/mysql/admin-user: root
  drupal6/pgsql/authmethod-admin: ident
  drupal6/remote/newhost:
* drupal6/dbconfig-install: false
  drupal6/remote/port:



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to