Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
Tagged: 8.5.19, Duplicator, export, plugin
- This topic has 8 replies, 2 voices, and was last updated 10 years, 1 month ago by
Steven Zahm.
-
AuthorPosts
-
07/13/2016 at 11:54 am #382675
Alex
GuestFirst of all let me say a big thank you for your great plugin.
I have a website with 150 connections.
I regularly do backups with Duplicator, from the live server to a MAMP server in my PC.
This is the first time I am using Connections and today was the time for my usual backup. After creating a Duplicator package and opening it locally, all the website is ok but the Connections aren’t there.
Is there a specific guide I need to follow to do such a backup or have I done something wrong?
Thanks in advance
Alex
07/13/2016 at 1:23 pm #382678Steven Zahm
Keymaster@ Alex
Look in the package zip file. Open the
database.sqlfile in your favorite text editor and search for_connections. You should find at least several hundred based on 150 entries. If you do not see any, then you need to check your configuration of Duplicator. I just installed, with no configuration, created a package and the tables were included with their data in thedatabase.sqlfile.If they are present, then open you local database using your favorite db explorer. Are the tables present and do they contain data. If there is then they imported fine and there is a config issue with your local MAMP install.
Let me know what you find.
07/13/2016 at 2:15 pm #382693Alex
GuestThank you for your fast response Steven.
I did as instructed.
The database.sql file does indeed show several instances of “_connections”.
I opened MAMP’s phpMyAdmin.
There are several tables in it.
I am using only the following fields:Prefix
First Name
Last Name
Title
Organisation
EmailI can only see the emails, the taxonomy and the terms (in their respective tables), but I can’t find any of the rest of the fields.
Any ideas?
07/13/2016 at 3:04 pm #382703Steven Zahm
Keymaster@ Alex
The following fields are saved in the
{db_prefix}_connectionstable:Prefix
First Name
Last Name
Title
OrganisationThe email is saved in the
{db_prefix}_connections_emailtable.So, it sounds like the
{db_prefix}_connectionstable does not exist or is empty. Which?07/13/2016 at 3:05 pm #382704Steven Zahm
Keymaster@ Alex
Once suggestion… make sure the MySql version on your MAMP install matches the version on your server and is configured identically.
07/13/2016 at 3:30 pm #382712Alex
GuestIn regards to the configuration of MAMP MySQL being identical to my live server’s, I’m afraid I have no way of knowing how the latter is configured.
Seems I don’t have a _connections table at all!
Here’s what I have:
07/13/2016 at 3:40 pm #382713Steven Zahm
Keymaster@ Alex
re: Seems I don’t have a _connections table at all!
That seems to be the issue… for some reason Duplicator did not create the table and insert the data.
Look in the
database.sqlfor this lineCREATE TABLE{db_prefx}_connections(. Does it exist?If it does, then it was exported fine. For some reason, not imported
Best guess is the source db supports FULLTEXT and the MAMP installation does not. If the create table command exists, which I suspect it does, look for a line at the end of the command that begins with
FULLTEXT KEYsearchIf it does, go to the Connections : Settings admin page, click the Search tab and disable the FULLTEXT search option. Now create a Duplicator package and setup a new installation and import it. Is the table created now?07/13/2016 at 4:06 pm #382715Alex
GuestYou, kind Sir, are a legend.
It works perfectly fine now.
Should I re-enable the FULLTEXT search option in the live website?
07/13/2016 at 4:41 pm #382716Steven Zahm
Keymaster@ Alex
Great to hear! And, yes, absolutely, I highly recommend keeping FULLTEXT enabled. This basically allows the db to perform more relevant searches.
Now we know the issue… if you set up you local MAMP config for MySQL so it too support FULLTEXT you should not have issues in the future. The other option would be to disable FULLTEXT make your package and then enable it. I recommend for former over the letter.
Hope that helps!
-
AuthorPosts
- You must be logged in to reply to this topic.
