I am trying to set up a testing site on my laptop running Windows XP; testing server is WAMPserver.
Status of install and location of files:
- Downloaded and installed WAMPserver (Apache/2.2.11 (Win32) PHP/5.2.8 MySQL/5.0.51a).
- Set up new database using PHPmyadmin, database name is pentacor_intra.
- Setup new username and password in PHPmyadmin.
- Set all privileges for user in PHPmyadmin.
- Untared Drupal 6.8 into new directory under c:\wamp\www\.
- Changed name of subdirectory of Drupal 6.8 to pentacor, (path= c:\wamp\www\pentacor\).
- Copied default.settings.php to settings.php (left file in C\...\pentacor\sites\default\.
- Opened up settings.php and changed line " $db_url = 'mysql://username:password@localhost/databasename'; " to read " $db_url = 'mysql://admin:mailbox1823@localhost/pentacor_intra'; " and saved file.
Afterwards I opened firefox in "http://localhost/pentacor/" the below is what the page reads:
Warning: Table 'pentacor_intra.access' doesn't exist query: SELECT 1 FROM access WHERE type = 'host' AND LOWER('127.0.0.1') LIKE LOWER(mask) AND status = 0 LIMIT 0, 1 in C:\wamp\www\pentacor\includes\database.mysql.inc on line 128
Warning: Table 'pentacor_intra.users' doesn't exist query: SELECT u.*, s.* FROM users u INNER JOIN sessions s ON u.uid = s.uid WHERE s.sid = 'o54bgvt0mk6h3gan8q1n5m3c26' in C:\wamp\www\pentacor\includes\database.mysql.inc on line 128
Warning: Table 'pentacor_intra.cache' doesn't exist query: SELECT data, created, headers, expire, serialized FROM cache WHERE cid = 'variables' in C:\wamp\www\pentacor\includes\database.mysql.inc on line 128
Warning: Table 'pentacor_intra.variable' doesn't exist query: SELECT * FROM variable in C:\wamp\www\pentacor\includes\database.mysql.inc on line 128
Notice: Undefined variable: variables in C:\wamp\www\pentacor\includes\bootstrap.inc on line 460
Warning: Table 'pentacor_intra.cache' doesn't exist query: UPDATE cache SET data = '', created = 1229653744, expire = 0, headers = '', serialized = 0 WHERE cid = 'variables' in C:\wamp\www\pentacor\includes\database.mysql.inc on line 128
Notice: Undefined variable: variables in C:\wamp\www\pentacor\includes\bootstrap.inc on line 467
Warning: Table 'pentacor_intra.system' doesn't exist query: SELECT name, filename, throttle FROM system WHERE type = 'module' AND status = 1 AND bootstrap = 1 ORDER BY weight ASC, filename ASC in C:\wamp\www\pentacor\includes\database.mysql.inc on line 128
Warning: Table 'pentacor_intra.url_alias' doesn't exist query: SELECT COUNT(pid) FROM url_alias in C:\wamp\www\pentacor\includes\database.mysql.inc on line 128
Comments
Don't change
hi,
Don't change any things in settings.php.
Just change the permission.
Thanks,
Install Problems
Kuldip,
Thank you for the information - I changed the PHP in the settings.php file back to what it was, ran the install.php and it worked!
Thanks again for your help.
netwidget
Did you run the install.php script?
The missing table messages are indicative of not running the install.php script that will actually create the database tables. I do not see that in your steps above. You can verify by using phpMyAdmin to see if any tables exist in the database you created in step 2.
Install Problems
dnuss,
Thank you for the forgotten step. between your help and kuldip help I was able to solve my problem.
netwidget
older version
Hello everyone. Just to clarify that the instructions to install drupal that mention modifying settings.php file to point to the database you wish to use are to install drupal versions 5 and / or earlier.
For drupal 6 you don't need to change anything in this file. Just make sure the script has permissions to access it.