Hello everyone:
I am completely new to Drupal, so please bear with me.

I created a Drupal 6.24 test site (using XAMPP 1.8) on my computer (windows 7 ultra) and copied a live Drupal 6.24 (including the database) to this test site. The structure is a multi site format.

Sites folder in drupal 6.24 (htdocs/drupal-6.24) contains the following folders: all, greetingcards, default

The windows host file contains the following: 127.0.0.1 greetingcards

The file httpd-vhosts.conf contains the following:
##ServerAdmin postmaster@dummy-host2.localhost
DocumentRoot "C:/xampp/htdocs/drupal-6.24"
ServerName greetingcards
##ServerAlias www.dummy-host2.localhost
##ErrorLog "logs/dummy-host2.localhost-error.log"
##CustomLog "logs/dummy-host2.localhost-access.log" combined

The problem occurs when I enter the path to my greetingcards site: http://greetingcards

Instead of being able to view the copy of the live site, I end up viewing the admin page. The page containing the header: "Welcome to your new Drupal website!".
I've done this numerous times. Always the same result.

The settings.php file contains the following:

$db_url = 'mysqli://root:password@localhost/greetingcards';

$db_prefix = 'drupal_';

$update_free_access = FALSE;

$base_url = 'http://greetingcards'; // NO trailing slash!

ini_set('arg_separator.output', '&');
ini_set('magic_quotes_runtime', 0);
ini_set('magic_quotes_sybase', 0);
ini_set('session.cache_expire', 200000);
ini_set('session.cache_limiter', 'none');
ini_set('session.cookie_lifetime', 2000000);
ini_set('session.gc_maxlifetime', 200000);
ini_set('session.save_handler', 'user');
ini_set('session.use_cookies', 1);
ini_set('session.use_only_cookies', 1);
ini_set('session.use_trans_sid', 0);
ini_set('url_rewriter.tags', '');

Thank you for any help you can offer me.

Isaac

Comments

jaypan’s picture

The easiest way to migrate a site is to install it normally on the destination, install the backup and migrate module on both servers, create an export with this module on the source, and install the export on the destination using this module.

It will save you hours of problems.

Contact me to contract me for D7 -> D10/11 migrations.

isaac58’s picture

Hello Jaypan:

Thanks for your reply. I will implement your advice and let you know the outcome.

Thanks,
Isaac