Hello,
I've a D6 multisite with /var/www/* containing all the D7 code now and the update of the main site via http://mysite.com/update.php went fine. Now there is another "site" at http://mysubsite.mysite.com which has it's home at /var/www/sites/mysubsite.mysite.com (using all the Drupal code in /var/www).

Now I'm looking for a way to convert the former mysubsite's database to D7 format too, but couldn't find a description. Could I just copy update.php from /var/www to /var/www/sites/mysubsite.mysite.com and run http://mysubsite.mysite.com/update.php ??
If not - what would be the recommended way to proceed?

Any pointers would be highly welcome.

Thanks a lot,
Richard.

Comments

vm’s picture

Could I just copy update.php from /var/www to /var/www/sites/mysubsite.mysite.com and run http://mysubsite.mysite.com/update.php ??

No. just run http://mysubsite.mysite.com/update.php without moving the file from the root of core.

richardmetzger’s picture

Hm - that just gives me a white page with a "#" in the upper left corner ...

edit: adding some print "text" statements to update.php lets me guess, it runs up to the line
install_goto('update.php?op=info');
and then nothing again (I'd expect that this is basically calling update.php again supplying the op=info parameter)

richardmetzger’s picture

For whatever reason I overlooked a "#" character that creeped in at the very beginning of the subsite's settings.php.