Your message dated Fri, 18 Feb 2011 20:37:03 +0100
with message-id <[email protected]>
and subject line Re: Bug#605848: drupal6: install.php expects
sites/default/default.settings.php to exist
has caused the Debian Bug report #605848,
regarding drupal6: install.php expects sites/default/default.settings.php to
exist
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
605848: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=605848
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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:
--- End Message ---
--- Begin Message ---
Hi Stefano,
Thanks for your report. :-) As stated in /usr/share/doc/drupal6/README.Debian,
database configuration can either be handled automatically by dbconfig-common
or manually by the local administrator, before the install.php script is run.
Regards,
L
--
Luigi Gangitano -- <[email protected]> -- <[email protected]>
GPG: 1024D/924C0C26: 12F8 9C03 89D3 DB4A 9972 C24A F19B A618 924C 0C26
--- End Message ---