I am managing a multisite subdomain multidatabase WordPress instance. This site is a development site in preparation for a production WordPress instance. SharDB does an excellent job of handling the multidatabase aspect of this WordPress instance. However, I have some questions to start with:
1) In SharDB-2.7.6 the function add_shardb_migrate_page() contains the line "add_submenu_page( 'settings.php', 'SharDB Migration',...". The file settings.php DOES NOT exist in the wp-admin directory. I was able to overcome this by substituting ms-admin.php for settings.php in this line. So, why does this line have settings.php in it?
2) Immediately following the end of the above function is the line "add_submenu_page( 'network_admin_menu', 'add_shardb_migrate_page' );". The only way I could get SharDB Migrate to appear ANYWHERE was to substitute admin_menu for network_admin_menu. Did you intend something of this sort?
3) Did you intend SharDB to ensure that each site is stored in its own unique database? The SharDB site table migration function DOES NOT ensure this. I was eventually able to get each site into its own database by adjusting the SharDB site table migration function. However, once db.php has been added to the wp-content directory, SharDB migration is no longer available. In that case the addition of NEW sites seems to be handled by SharDB's extension of WPDB via db.php.
The shardb-admin.php file's functionalities do not appear to come into play when adding a NEW site. Am I wrong about this?
This leads me to the last question.
4) When a new site is added by pressing "Add New" in WordPress Sites->Add New Site the chances are approximately 75% that the new site's tables will be inserted into a database that ALREADY contains a previously created site's tables. I can overcome this problem by repeatedly deleting the new site and re-adding it. It takes about three tries to get SharDB to insert the new site's tables into an empty database. So, Ron, do you have any suggestions about resolving this issue?
Thank you for producing a splendid plugin and thank you in advance for your help.