installation freezes
jeanmichel - September 26, 2007 - 02:06
i've installed drupal 5 or 6 times on dreamhost and it always worked fine. Now i installed it on ipowerweb host and it is not working.
Would anybody know why, just after installation, all those errors and warnings are shown when i first visit the site?:
(my settings.php file is configured correctly)
Warning: Table 'xxxxxx_db.access' doesn't exist query: SELECT CASE WHEN status=1 THEN 0 ELSE 1 END FROM access WHERE type = 'host' AND LOWER('72.0.211.246') LIKE LOWER(mask) ORDER BY status DESC LIMIT 0, 1 in /home/xxxxxx/public_html/includes/database.mysql.inc on line 172
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/xxxxxx/public_html/includes/database.mysql.inc:172) in /home/xxxxxx/public_html/includes/bootstrap.inc on line 862
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/xxxxxx/public_html/includes/database.mysql.inc:172) in /home/xxxxxx/public_html/includes/bootstrap.inc on line 862
Warning: Table 'xxxxxx_db.cache' doesn't exist query: SELECT data, created, headers, expire FROM cache WHERE cid = 'variables' in /home/xxxxxx/public_html/includes/database.mysql.inc on line 172
Warning: Table 'xxxxxx_db.variable' doesn't exist query: SELECT * FROM variable in /home/xxxxxx/public_html/includes/database.mysql.inc on line 172
Warning: Access denied for user: 'xxxxxx_user1@localhost' to database 'xxxxxx_db' query: LOCK TABLES cache WRITE in /home/xxxxxx/public_html/includes/database.mysql.inc on line 172
Warning: Table 'xxxxxx_db.cache' doesn't exist query: UPDATE cache SET data = 'N;', created = 1190771743, expire = 0, headers = '' WHERE cid = 'variables' in /home/xxxxxx/public_html/includes/database.mysql.inc on line 172
Warning: Table 'xxxxxx_db.cache_page' doesn't exist query: SELECT data, created, headers, expire FROM cache_page WHERE cid = 'http://www.xxxxxxnan.ca/' in /home/xxxxxx/public_html/includes/database.mysql.inc on line 172
Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxxx/public_html/includes/database.mysql.inc:172) in /home/xxxxxx/public_html/includes/bootstrap.inc on line 531
Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxxx/public_html/includes/database.mysql.inc:172) in /home/xxxxxx/public_html/includes/bootstrap.inc on line 532
Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxxx/public_html/includes/database.mysql.inc:172) in /home/xxxxxx/public_html/includes/bootstrap.inc on line 533
Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxxx/public_html/includes/database.mysql.inc:172) in /home/xxxxxx/public_html/includes/bootstrap.inc on line 534
Warning: Table 'xxxxxx_db.url_alias' doesn't exist query: SELECT COUNT(pid) FROM url_alias in /home/xxxxxx/public_html/includes/database.mysql.inc on line 172
Warning: Table 'xxxxxx_db.system' doesn't exist query: SELECT * FROM system WHERE type = 'theme' in /home/xxxxxx/public_html/includes/database.mysql.inc on line 172
Warning: Table 'xxxxxx_db.watchdog' doesn't exist query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Cannot modify header information - headers already sent by (output started at /home/xxxxxx/public_html/includes/database.mysql.inc:172)</em> in <em>/home/xxxxxx/public_html/includes/common.inc</em> on line <em>141</em>.', 2, '', 'http://www.xxxxxxnan.ca/', '', '72.0.211.246', 1190771743) in /home/xxxxxx/public_html/includes/database.mysql.inc on line 172
Warning: Table 'xxxxxx_db.watchdog' doesn't exist query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Table &#039;xxxxxx_db.system&#039; doesn&#039;t exist\nquery: SELECT name, filename, throttle FROM system WHERE type = &#039;module&#039; AND status = 1 ORDER BY weight ASC, filename ASC</em> in <em>/home/xxxxxx/public_html/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://www.xxxxxxnan.ca/', '', '72.0.211.246', 1190771743) in /home/xxxxxx/public_html/includes/database.mysql.inc on line 172
Warning: Table 'xxxxxx_db.watchdog' doesn't exist query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Table &#039;xxxxxx_db.cache_menu&#039; doesn&#039;t exist\nquery: SELECT data, created, headers, expire FROM cache_menu WHERE cid = &#039;0:en&#039;</em> in <em>/home/xxxxxx/public_html/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://www.xxxxxxnan.ca/', '', '72.0.211.246', 1190771743) in /home/xxxxxx/public_html/includes/database.mysql.inc on line 172
Warning: Table 'xxxxxx_db.watchdog' doesn't exist query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Access denied for user: &#039;xxxxxx_user1@localhost&#039; to database &#039;xxxxxx_db&#039;\nquery: LOCK TABLES cache_menu WRITE</em> in <em>/home/xxxxxx/public_html/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://www.xxxxxxnan.ca/', '', '72.0.211.246', 1190771743) in /home/xxxxxx/public_html/includes/database.mysql.inc on line 172
Warning: Table 'xxxxxx_db.watchdog' doesn't exist query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Table &#039;xxxxxx_db.cache_menu&#039; doesn&#039;t exist\nquery: UPDATE cache_menu SET data = &#039;a:4:{s:10:\\&quot;path index\\&quot;;a:0:{}s:5:\\&quot;items\\&quot;;a:2:{i:0;a:5:{s:4:\\&quot;path\\&quot;;s:0:\\&quot;\\&quot;;s:5:\\&quot;title\\&quot;;s:0:\\&quot;\\&quot;;s:4:\\&quot;type\\&quot;;i:1;s:3:\\&quot;pid\\&quot;;i:1;s:8:\\&quot;children\\&quot;;a:1:{i:0;i:1;}}i:1;a:6:{s:3:\\&quot;pid\\&quot;;i:0;s:4:\\&quot;path\\&quot;;s:0:\\&quot;\\&quot;;s:5:\\&quot;title\\&quot;;s:10:\\&quot;Navigation\\&quot;;s:6:\\&quot;weight\\&quo in /home/xxxxxx/public_html/includes/database.mysql.inc on line 172
Warning: Table 'xxxxxx_db.watchdog' doesn't exist query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Cannot modify header information - headers already sent by (output started at /home/xxxxxx/public_html/includes/database.mysql.inc:172)</em> in <em>/home/xxxxxx/public_html/includes/common.inc</em> on line <em>141</em>.', 2, '', 'http://www.xxxxxxnan.ca/', '', '72.0.211.246', 1190771743) in /home/xxxxxx/public_html/includes/database.mysql.inc on line 172
Warning: Table 'xxxxxx_db.watchdog' doesn't exist query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Table &#039;xxxxxx_db.watchdog&#039; doesn&#039;t exist\nquery: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, &#039;page not found&#039;, &#039;node&#039;, 1, &#039;&#039;, &#039;http://www.xxxxxxnan.ca/&#039;, &#039;&#039;, &#039;72.0.211.246&#039;, 1190771743)</em> in <em>/home/xxxxxx/public_html/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://www.xxxxxxnan.ca/', '', '72.0.211.246', 1190771743) in /home/xxxxxx/public_html/includes/database.mysql.inc on line 172
Fatal error: Call to undefined function: block_list() in /home/xxxxxx/public_html/includes/theme.inc on line 1018
Warning: Table 'xxxxxx_db.watchdog' doesn't exist query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Table &#039;xxxxxx_db.sessions&#039; doesn&#039;t exist\nquery: SELECT sid FROM sessions WHERE sid = &#039;2dd8b742987e732175f57263d9291706&#039;</em> in <em>/home/xxxxxx/public_html/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://www.xxxxxxnan.ca/', '', '72.0.211.246', 1190771743) in /home/xxxxxx/public_html/includes/database.mysql.inc on line 172
Warning: Table 'xxxxxx_db.watchdog' doesn't exist query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Table &#039;xxxxxx_db.sessions&#039; doesn&#039;t exist\nquery: INSERT INTO sessions (sid, uid, cache, hostname, session, timestamp) VALUES (&#039;2dd8b742987e732175f57263d9291706&#039;, 0, 0, &#039;72.0.211.246&#039;, &#039;messages|a:1:{s:5:\\&quot;error\\&quot;;a:7:{i:0;s:209:\\&quot;warning: Cannot modify header information - headers already sent by (output started at /home/xxxxxx/public_html/includes/database.mysql.inc:172) in /home/xxxxxx/public_html/includes/common.inc on line 141.\\&quot;;i:1;s:272:\\&quot;user warning: Table &amp;#039;xxxxxx_db.system&amp;#039; doesn&amp;#039;t exist\\nquery: SELECT name, filename, throttle FROM system WHERE type = &amp;#0 in /home/xxxxxx/public_html/includes/database.mysql.inc on line 172Thanks!

(no title)
In Drupal 5 you should not enter your settings in settings.php before installation, because Drupal considers that the installation is already done and looks for the tables.
Upload a fresh settings.php file and enter your database information only in the installation form.
Geez, this installation is
Geez, this installation is getting complicated for nothing...
You were right about the settings.php. i've reset the default value and drupal showed me the database settings form.
After entering the right data and click "save configuration", this message appeared:
We were unable to lock a test table on your MySQL database server. We tried locking a table with the command LOCK TABLES drupal_install_test WRITE and MySQL reported the following error: Access denied for user: 'myuser_user1@localhost' to database 'mydb_db'.Can it have anything to do with the host? (ipowerweb.com)?
(no title)
Removing duplicate.
(no title)
Possibly.
After you create the database and the database user, INSTALL.mysql.txt says that you must grant the user these privileges (either from your cpanel or drom the command line):
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATETEMPORARY TABLES, LOCK TABLES
ON databasename.*
TO 'username'@'localhost' IDENTIFIED BY 'password';
But some hosts restrict LOCK TABLES and/or CREATE TEMPORARY TABLES. With some other hosts, you need to ask their tech support to do it.
That was it, yes. Had to
That was it, yes.
Had to call Ipowerweb and wait an eternity on the line before i decided to use their livechat app. I waited half an eternity then.
but it finally worked.
thanks