Hallo Chris and everyone!
I have successfully installed multisite module and have configured two sites for Chris (maddog_chris), one mastersite and one subsite!
Following were problems and mistakes:
In my earlier post, I refered to the URI and see now, that I myself made a wrong reference, absent minded. It happened due to copy cut and paste URL. Here is the correct version:
URI should NOT have http:// in the field!This is the way how I solved and successfully installed:
1.
define('XOOPS_RESCUE_URL', 'http://mastersite.com')
>>> refers to the apache conf as the main site.
2.
Enter in the preferences, custom cookies >> mastersite.com_session for all cookies references
Preferences > System > General Settings
Site name: mastersite.com
Use custom session: Yes
Name for user cookies: mastersite.com_user
Session name: mastersite.com_session
SSL Post variable name: mastersite.com_ssl (If ssl is yes!)
Install PM, User Profiles and site module.
3.
Logout from
http://mastersite.com and then login
http://mastersite.com again to capture correct cookies on your local computer.
4.
User Site Management from the modules.
Enter following in the Add site form:
Site Name: subsite1.com
Site URL:
http://subsite1.comTheme Path: themes
Templates Path: templates_c
Upload Path: uploads
Cache Path: cache
URI Pattern: subsite1.com
DB Prefix * subsite1
Shared Tables
>>>>>>>>>>>>>>>> block_instance
>>>>>>>>>>>>>>>> block_module_link
>>>>>>>>>>>>>>>> group_permissions
>>>>>>>>>>>>>>>> groups
>>>>>>>>>>>>>>>> groups_users_link
>>>>>>>>>>>>>>>> newblocks
>>>>>>>>>>>>>>>> priv_msgs
>>>>>>>>>>>>>>>> profile_category
>>>>>>>>>>>>>>>> profile_fieldcategory
>>>>>>>>>>>>>>>> tpl_file
>>>>>>>>>>>>>>>> tplset
>>>>>>>>>>>>>>>> tplsource
>>>>>>>>>>>>>>>> user_profile
>>>>>>>>>>>>>>>> user_profile_field
>>>>>>>>>>>>>>>> users
>>>>>>>>>>>>>>>> xoops_notifications
The above tables are marked blue during creation of subsites. Then click SUBMIT.
Thereafter click on the newly created subsite and make sure to have all the fields filled with the above parameters including all the marked tables same. Then do the following:
>> Click on the box
URI Pattern: subsite1.com to be set yes.
Write in the empty field of as
URI Pattern:
http://www.subsite1.com Then click SUBMIT. Then in the URI pattern both the URI pattern will appear as
subsite1.com
http://www.subsite1.comBy doing so, the multisite module FORCES to redirect the URL/URI to point to both the location.
4.
Logout and then login to
http://subsite1.com get correct cookies on your local computer.
Change the following:
Preferences > System > General Settings the following:
Site name: subsite1.com
Use custom session: Yes
Name for user cookies: subsite1.com_user
Session name: subsite1.com_session
SSL Post variable name: subsite1.com.com_ssl (If ssl is yes!)
5.
Logout and then login to
http://subsite1.com get correct cookies on your local computer.
6.
Begin installing modules on mastersite.com and subsite1.com.
Now you are done with the basic configuration of mastersite.com and subsite1.com.
------------------------------------------------
Notice during the process that the moment you start changing the title of the subsite, cookies, etc the XOOPS multisite module will show in the title tags those changes. You will be logged into mastersite while notlogged into the subsite1!
------------------------------------------------
If you want to install more sites, substitute subsite1.com to any other subsiteXXX.com and repeat the subsite creation process.
------------------------------------------------
Please note: I have shared the following:
>>>>>>>>>>>>>>>> tpl_file
>>>>>>>>>>>>>>>> tplset
>>>>>>>>>>>>>>>> tplsource
I do not know the impact of the above tables to be shared. Did not have time to play with it. However, I can imaging that during installation or de-installation process, the templates would be stored or removed from those tables. So what will happen with the modules that are shared or not shared and their respective templates.
Further, I have also shared blocks. I do not know what will happen if one does not share.
This question one must try and see... Well.
------------------------------------------------
If anyone has problems to install the module, let me know here. After having many nightmares and mistakes by myself, I have learned to detect mistakes. Hence it goes quickly for me to install those things.
Hope it helps to all others who wanna use this module.