English (United Kingdom)
Jms Multi Site, formerly joomla multisite.
Create, share multiple joomla sites in few clicks !
Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

Welcome, Guest
Please Login or Register.    Lost Password?

possible improvement for the extension
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: possible improvement for the extension
#11617
possible improvement for the extension 10 Years, 7 Months ago Karma: 0
Hello,

I just want to make a suggestion for improvement to avoid possible mistakes.

Consider you install the JMS on fresh joomla and create a slave site with shared DB (so slave and master use exact same DB and tables).

Then in some point in future you want to Delete the Slave site, when you select the site and click on Delete, there is a question do you want to Delete DB tables, If you keep the default No, the slave site will be deleted without any problem.

If by mistake you choose Yes, because master and slave sharing exact same tables, you would get a blank page with error at the top because extension probably deleted all the master database.

I think this should be prevented. The improvement could be by clicking on Delete, extension should check if the DB is an independent separate tables or shares exact tables as another site. If uses exact tables of another site, the question of Do you want to delete DB or Not should not be asked.

This can cause big issues if you have many sites and you forgot what site's db is shared with which other site.

Thanks
amir00251
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#11625
Re: possible improvement for the extension 10 Years, 7 Months ago Karma: 54
Here what you describe is 2 sites that share the same DB with same table prefix.
In this case, you should use the "Share whole site" flag in the slave site definition.

Such "Share whole site" flag is checked and during the delete, you don't have the possibliity to delete the DB. You can only delete the files and folder on the disk.

If you create a fresh slave site that is not connected to any website, JMS can not know the depending or may consume too much resource to detect that in case where you have several thousand of website.

In your case, you mentioned that you have create a fresh slave site using the Joomla Web Installer with exactly the same table prefix than an existing website.
Becarefull that Joomla ask you if you want to replace the existing table and make a backup of existing table. So this might be destructive.

If you want to have 2 websites with exactly the same content then replicate the website with JMS and select "Share whole site".
In this case, JMS will know the relationship between the two websites.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla