Hello!
So the forms are working fine in the main multisite but not in the secondary sites?
Thread Starter
Simon
(@simonmaddox)
Hi – sorry for such a delay in responding. I had to get a fast solution so switched to something else for that project.
Just looked for another project on a multisite installation. The plugin allows a form to be designed and apparently saved with no error – it just never appears in the list.
I noticed the 3 custom tables in the db were not created for the site I was using. I wondered whether the tables were only created for sites that are in existence when the plugin is installed, but deleting it and reinstalling made no difference.
I exported the structure for your tables from another site, edited the site number and re-imported. That fixed it, so there is something stopping the creation of the tables with the correct prefix for multisite.
Hope that helps – it would be good to have a permanent solution that did not need manual db manipulation.
Hi Edgar,
This is the same problem that I reported to you last night.
Please let me know when there is a fix.
Russell
Hello!
I think the site failed to create the smart forms tables in the multisites, please open the file wp-content\plugins\smart-forms\smartforms.php and temporally change this:
if($dbversion<SMART_FORMS_LATEST_DB_VERSION )
for this:
if(true )
then refresh your screen.
This should force the table to be recreated which hopefully will fix the problem. If not please let me know =).
Yep,
That fixed it.
Thanks 🙂
Thread Starter
Simon
(@simonmaddox)
Worked for me too, thanks
Which is good, because just copying the db table schemas caused errors when submitting a form – I guess they are also initialised with some data.