Installation Problem on Ubuntu Linux 7.04
when point my browser to http://localhost/drupal-5.2/ it gives me following list of warning and errors.
Can someone take a look at this and help me with the installation ?
Thanks
-Vimal
Warning: Table 'drupalDB.access' doesn't exist query: SELECT CASE WHEN status=1 THEN 0 ELSE 1 END FROM access WHERE type = 'host' AND LOWER('127.0.0.1') LIKE LOWER(mask) ORDER BY status DESC LIMIT 0, 1 in /var/www/drupal-5.2/includes/database.mysql.inc on line 172
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /var/www/drupal-5.2/includes/database.mysql.inc:172) in /var/www/drupal-5.2/includes/bootstrap.inc on line 862
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/drupal-5.2/includes/database.mysql.inc:172) in /var/www/drupal-5.2/includes/bootstrap.inc on line 862
Warning: Table 'drupalDB.cache' doesn't exist query: SELECT data, created, headers, expire FROM cache WHERE cid = 'variables' in /var/www/drupal-5.2/includes/database.mysql.inc on line 172
Warning: Table 'drupalDB.variable' doesn't exist query: SELECT * FROM variable in /var/www/drupal-5.2/includes/database.mysql.inc on line 172
Warning: Table 'drupalDB.cache' doesn't exist query: LOCK TABLES cache WRITE in /var/www/drupal-5.2/includes/database.mysql.inc on line 172
Warning: Table 'drupalDB.cache' doesn't exist query: UPDATE cache SET data = 'N;', created = 1186350345, expire = 0, headers = '' WHERE cid = 'variables' in /var/www/drupal-5.2/includes/database.mysql.inc on line 172
Warning: Table 'drupalDB.cache_page' doesn't exist query: SELECT data, created, headers, expire FROM cache_page WHERE cid = 'http://localhost/drupal-5.2/' in /var/www/drupal-5.2/includes/database.mysql.inc on line 172
Warning: Cannot modify header information - headers already sent by (output started at /var/www/drupal-5.2/includes/database.mysql.inc:172) in /var/www/drupal-5.2/includes/bootstrap.inc on line 531
Warning: Cannot modify header information - headers already sent by (output started at /var/www/drupal-5.2/includes/database.mysql.inc:172) in /var/www/drupal-5.2/includes/bootstrap.inc on line 532
Warning: Cannot modify header information - headers already sent by (output started at /var/www/drupal-5.2/includes/database.mysql.inc:172) in /var/www/drupal-5.2/includes/bootstrap.inc on line 533
Warning: Cannot modify header information - headers already sent by (output started at /var/www/drupal-5.2/includes/database.mysql.inc:172) in /var/www/drupal-5.2/includes/bootstrap.inc on line 534
Warning: Table 'drupalDB.url_alias' doesn't exist query: SELECT COUNT(pid) FROM url_alias in /var/www/drupal-5.2/includes/database.mysql.inc on line 172
Warning: Table 'drupalDB.system' doesn't exist query: SELECT * FROM system WHERE type = 'theme' in /var/www/drupal-5.2/includes/database.mysql.inc on line 172
Warning: Table 'drupalDB.watchdog' doesn't exist query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'Cannot modify header information - headers already sent by (output started at /var/www/drupal-5.2/includes/database.mysql.inc:172) in /var/www/drupal-5.2/includes/common.inc on line 141.', 2, '', 'http://localhost/drupal-5.2/', '', '127.0.0.1', 1186350345) in /var/www/drupal-5.2/includes/database.mysql.inc on line 172
Warning: Table 'drupalDB.watchdog' doesn't exist query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'Table 'drupalDB.system' doesn't exist\nquery: SELECT name, filename, throttle FROM system WHERE type = 'module' AND status = 1 ORDER BY weight ASC, filename ASC in /var/www/drupal-5.2/includes/database.mysql.inc on line 172.', 2, '', 'http://localhost/drupal-5.2/', '', '127.0.0.1', 1186350345) in /var/www/drupal-5.2/includes/database.mysql.inc on line 172
Warning: Table 'drupalDB.watchdog' doesn't exist query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'Table 'drupalDB.cache_menu' doesn't exist\nquery: SELECT data, created, headers, expire FROM cache_menu WHERE cid = '0:en' in /var/www/drupal-5.2/includes/database.mysql.inc on line 172.', 2, '', 'http://localhost/drupal-5.2/', '', '127.0.0.1', 1186350345) in /var/www/drupal-5.2/includes/database.mysql.inc on line 172
Warning: Table 'drupalDB.watchdog' doesn't exist query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'Table 'drupalDB.cache_menu' doesn't exist\nquery: LOCK TABLES cache_menu WRITE in /var/www/drupal-5.2/includes/database.mysql.inc on line 172.', 2, '', 'http://localhost/drupal-5.2/', '', '127.0.0.1', 1186350345) in /var/www/drupal-5.2/includes/database.mysql.inc on line 172
Warning: Table 'drupalDB.watchdog' doesn't exist query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'Table 'drupalDB.cache_menu' doesn't exist\nquery: UPDATE cache_menu SET data = 'a:4:{s:10:\\"path index\\";a:0:{}s:5:\\"items\\";a:2:{i:0;a:5:{s:4:\\"path\\";s:0:\\"\\";s:5:\\"title\\";s:0:\\"\\";s:4:\\"type\\";i:1;s:3:\\"pid\\";i:1;s:8:\\"children\\";a:1:{i:0;i:1;}}i:1;a:6:{s:3:\\"pid\\";i:0;s:4:\\"path\\";s:0:\\"\\";s:5:\\"title\\";s:10:\\"Navigation\\";s:6:\\"weight\\";i:- in /var/www/drupal-5.2/includes/database.mysql.inc on line 172
Warning: Table 'drupalDB.watchdog' doesn't exist query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'Cannot modify header information - headers already sent by (output started at /var/www/drupal-5.2/includes/database.mysql.inc:172) in /var/www/drupal-5.2/includes/common.inc on line 141.', 2, '', 'http://localhost/drupal-5.2/', '', '127.0.0.1', 1186350345) in /var/www/drupal-5.2/includes/database.mysql.inc on line 172
Warning: Table 'drupalDB.watchdog' doesn't exist query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'Table 'drupalDB.watchdog' doesn't exist\nquery: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'page not found', 'node', 1, '', 'http://localhost/drupal-5.2/', '', '127.0.0.1', 1186350345) in /var/www/drupal-5.2/includes/database.mysql.inc on line 172.', 2, '', 'http://localhost/drupal-5.2/', '', '127.0.0.1', 1186350345) in /var/www/drupal-5.2/includes/database.mysql.inc on line 172
Fatal error: Call to undefined function block_list() in /var/www/drupal-5.2/includes/theme.inc on line 1018
Warning: Table 'drupalDB.watchdog' doesn't exist query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'Table 'drupalDB.sessions' doesn't exist\nquery: SELECT sid FROM sessions WHERE sid = '0713d5ea9bf713c4e69b19a0b1998e5b' in /var/www/drupal-5.2/includes/database.mysql.inc on line 172.', 2, '', 'http://localhost/drupal-5.2/', '', '127.0.0.1', 1186350345) in /var/www/drupal-5.2/includes/database.mysql.inc on line 172
Warning: Table 'drupalDB.watchdog' doesn't exist query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'Table 'drupalDB.sessions' doesn't exist\nquery: INSERT INTO sessions (sid, uid, cache, hostname, session, timestamp) VALUES ('0713d5ea9bf713c4e69b19a0b1998e5b', 0, 0, '127.0.0.1', 'messages|a:1:{s:5:\\"error\\";a:7:{i:0;s:195:\\"warning: Cannot modify header information - headers already sent by (output started at /var/www/drupal-5.2/includes/database.mysql.inc:172) in /var/www/drupal-5.2/includes/common.inc on line 141.\\";i:1;s:262:\\"user warning: Table 'drupalDB.system' doesn't exist\\nquery: SELECT name, filename, throttle FROM system WHERE type = 'module&#039 in /var/www/drupal-5.2/includes/database.mysql.inc on line 172

check settings.php
Check your /sites/default/settings.php file to make sure your database connection info is correct.
Check your mysql db: were there any drupal tables created? If not, your mysql user probably did not have enough permissions. Make sure the user also has permissions to create temporary tables.
Try reinstalling with root as database user and see if this works. If so, the mysql user you used before did not have enough permissions.
(no title)
If you are trying to do a new installation, use a fresh settings.php file without any settings.
If Drupal finds any database settings in settings.php it assumes that it is an existing installation and does not run the install script to create the tables -- it just tries to use them.
- Uninstalled and
- Uninstalled and reinstalled mySQL and created user 'root'
- kept the settings.php as original now when i point web url to http://localhost/drupal-5.2/ it gives following error
-Vimal
Unsupported database type
The database type is unsupported. Please use either mysql for MySQL 3.x & 4.0.x databases, mysqli for MySQL 4.1.x+ databases, or pgsql for PostgreSQL databases. The database information is in your settings.php file.
For more help, see the Installation and upgrading handbook. If you are unsure what these terms mean you should probably contact your hosting provider.
worked -- fresh settings.php file
Thank you! That solved my (similar) problem.
database there but it is empty
These errors occur when the settings.php has correctly logged into MySQL, but the database is empty.
This is occuring for one of the following reasons:
1. This is a new installation and you have created the database, but then erroneously put that info into the settings.php file, as used to be required prior to Drupal 5.x. As another person has said here, the settings.php file should be fresh (untouched), then the installation will be automatic when you provide the database info interactively.
2. You are trying to copy over an installation from another site. You have created the database and untarred or downloaded in some way the drupal file tree; but you haven't inserted the database contents of the other installation to the local database.
saludos,
Victor Kane
http://awebfactory.com.ar
Successfully installed
Successfully installed Drupal..
Thanks for everyone's response.
Had same issue... solved differently
Dallas Ray
I just went directly to install.php and it worked....