i moved one of my site from public_html/mysite into public_html/sites (single installation, multisite), then moved my modules from public_html/mysite/sites/all/modules to public_html/sites/mysites/modules. its running, but when i wanted to add content i get message below:
Warning: require_once(/home/way/public_html/sites/all/modules/i18n/i18n_field/i18n_field.inc) [function.require-once]: failed to open stream: No such file or directory in _registry_check_code() (line 3069 of /home/way/public_html/includes/bootstrap.inc).
i didnt find _registry_check_code() at line 3069 of /home/way/public_html/includes/bootstrap.inc.
i guess i should not move a single site single installation to multisite single installation like the way i did. what is the proper way? what should i do now?
Comments
You misunderstood
To go from single site to multi site you don't need to move anything. What you need is an extra folder in /home/way/public_html/mysite/sites. You have sites/all for all stuff that is in common for all sites. You have sites/default for the stuff that by default is used, when no secondary site applies. So to have a second site beside your first (single) site, you should have created a folder like sites/mysecond.com and put a correct settings.php there that uses another database for your second site. If you use modules that you want to keep separate from and not available in the first site, then you can create sites/mysecond.com/modules and put them there. Same is valid for separate themes and libraries. The files folder of your first site normally is in sites/default/files. The same is valid for your secondary site, it should be in sites/mysecond.com/files
The hosting should allow you to park the second domain "on top of" the first (two domains using the same document root) or when you have your own IP address you can use the DNS A (address) record to let it point to that address.
Multisite with folders is possible too, but I forgot how and it has all kinds of complications. Using another (sub)domain is easier, if your hosting allows you that freedom.
thank you so much. i restore
thank you so much. i restore my back up and now my multisite is running without major problem.
just wonder which is the proper way?
1) public_html/drupal, install drupal in this folder, other sites in public_html/drupal/sites
2) public_html/my_first_site, install drupal in this folder, complete installation of the first site, then install other sites in public_html/my_first_site/sites
3) public_html, install drupal directly in public_html, other site in public_html/sites