I have 3 drupal websites. They were created with different version of drupal months ago (one website owns one drupal installation). Now I want to upgrade to drupal 6.15 and integrate these 3 websites into one drupal installation (/drupal/sites/site1,/drupal/sites/site2,/drupal/sites/site3).

Can I just modify settings.php in each slave site folder to point to corresponding database and move themes/modules into new drupal then enable later?

Or anything missing?

Many thanks.

Comments

vm’s picture

I'd test on a test site before tearing about 3 production sites.

kelvinc’s picture

Tested. It's not working ...
Any thoughts?

vm’s picture

without knowing what "It's not working" means. no.

What didn't work?
were there any errors messages?
did you clear cache tables?

kelvinc’s picture

haha
I cleared cache and ran the update script.
But the thing is when I try slave site URL, it still goes to the "default" website.
Looks like drupal ignores the setting.php in slave site at all.

vm’s picture

the name of the folder in the site folder must match exactly the domain it is being used on including the www.

thus.

sites/www.site2.com
sites/www.site3.com

so on so forth

kelvinc’s picture

I know that.
Setting ln by ln -s /drupal site1
ln -s /drupal site2

In drupal, they are /sites/site1 and /sites/site2

Then I put "site1" in address field and it brings me to "default" site ....Althought in settings, it points to another database.