Testing out my first install of 5.1 on a new VPS, I get the following errors:

Warning: Table 'civicnet_site.access' doesn't exist query: SELECT CASE WHEN status=1 THEN 0 ELSE 1 END FROM access WHERE type = 'host' AND LOWER('59.144.17.7') LIKE LOWER(mask) ORDER BY status DESC LIMIT 0, 1 in /home/civicnet/public_html/includes/database.mysql.inc on line 172

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/civicnet/public_html/includes/database.mysql.inc:172) in /home/civicnet/public_html/includes/bootstrap.inc on line 811

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/civicnet/public_html/includes/database.mysql.inc:172) in /home/civicnet/public_html/includes/bootstrap.inc on line 811

Warning: Table 'civicnet_site.cache' doesn't exist query: SELECT data, created, headers, expire FROM cache WHERE cid = 'variables' in /home/civicnet/public_html/includes/database.mysql.inc on line 172

etc etc

The db is fine, the user has full privileges, the files are in place, but when I run the base url, all I get is this bunch of errors instead of the db configuration page. My php version is 5.2.0, MySQL is 5.0.27-standard-log and Apache is 1.3.37

In a previous attempt, I got a confirmation page showing successful install (I think I ran domain.com/install.php) but when I clicked on the link for creating the first account, I got the same db errors. When I looked into phpmyadmin, the tables were all there.

Any suggestions?

Thanks,
Venkat

Comments

venkat-rk’s picture

The madness continues. I have installed drupal dozens of times till now, so this is frustrating. Can anyone say why the install script is returning table not found errors?

Today is the second day I have been trying to install drupal- hey this is supposed to be a two-minute job using the installer. why isn't it working. Something to do with my setup?

----
Previously user Ramdak.

venkat-rk’s picture

Guess what? It happens if you edit settings.php to include the db parameters *before* running the install script.

The remedy is outlined at http://drupal.org/node/120216. Basically, you need to run www.yourdomain.com/install.php instead of just the domain name.

Thanks to bigpig, dmitrig01 and heine on drupal irc for helping me with this.

----
Previously user Ramdak.

wavesound’s picture

Same here!!

Now it seems I have two PHP 4 and 5
how do I force apache to use 5?

I cant find anything in the conf file pointing to the DIR
PS I never get email telling me these commant have been answered, how do I come bgack here apart from a bookmark?

cheers
Bob

UPdate
Its all working after seeing this post, seems if you set the setting.php first it all hangs there not installing DOH!

venkat-rk’s picture

I never get email telling me these commant have been answered, how do I come bgack here apart from a bookmark?

There is no way to get email updates for specific forum postings. Simply keep visiting www.drupal.org/tracker/98257 (your user account) and if there is an answer to threads you started or participated, you will find links saying '1 new' etc.

There are RSS feeds for each forum, though.
----
Previously user Ramdak.