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.
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.
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.
04/26/2016 at 9:28 am #374226
I have migrated my site to another one and now everything works except that the images (photos) for the contacts are not displayed anymore.
I checked the new site, which contains the /wp-content/uploads/connection-images folders, containing the right images, for the 96 contacts.
However the system does not find them anymore. I didn’t find in the database where this information is stored.
The new site has another domain name, so this might have disrupted the links.
How can I recover ?
Many thanks indeed.04/26/2016 at 9:46 am #374227
Can you share a link to the directory page on the new site so I can take a look?04/26/2016 at 9:50 am #374228
the text is what I defined in the shortcut as alternate text in case of no image.
Thanks for your help04/26/2016 at 11:35 am #374235
../wp-content/uploads/connection-images/permissions set to be readable and writeable. Generally folders should be 755 and files 644.04/26/2016 at 11:36 am #374236
When you edit an entry, what do you see for the image?04/26/2016 at 3:04 pm #374260
I changed folders permissions in …/connection-images/ to be 755 and files in it to be 644, as you recommend. But this doesn’t seem to change the issue.
A entry edit time, no image found. The edit panel says “No file selected”.04/26/2016 at 3:15 pm #374267
Forgot to tell you another clue: when exporting the entries with the “export all” option, the resulting CSV has nothing in the “Photo URL” and in the “Logo URL” columns.
When doing the same on the old site, those columns contain the full path to the images.04/27/2016 at 4:36 am #374285
I could partially fix the problem.
During the migration, the contractor who did the job replaced in the data base all occurrences of the old domain name (cluster007.ovh.net/~upboeten/) by the new one (www.upboetendael.be), so that internal links in articles are pointing to the new domain.
However, doing this on the wp-connections table caused probably the problem. I replaced back the new domain name by the old one in the “options” field of the wp-connections table and the pictures where showing back for individuals.
Unfortunately, it didn’t fix the problem for organizations and families. Maybe the way they refer to the pictures is different.
What do you think ?04/27/2016 at 11:35 am #374335
Ok, it sounds like a database migration issue. The best solution would have been to leave the URLs alone. Connections does not really care about the origin domain, only the relative path to the uploads folder. The URL will auto-adjust to new domains. My guess is because this data is saved in the entry option as a serialized array, that data was corrupted when the URL was changed from the old to the new. This would explain why changing the URL back worked and why you would not see the URL in the CSV export.
For the images for the entries which that did not fix, my guess is the serialized array is still corrupted, even with the change back to the old URL as the data for the image is saved exactly the same. The entry type does not matter. My suggestion is to look at the old db and compare that with the new on the entries which do not have an image and should to see what the difference is. You probably will be able to craft a query to fix the corrupted serialized array and restore those images too.
The only other option would be to reupload them.
Hope that helps. Let me know.
ps. I’ve found the best way to migrate a site is using BackupBuddy or Duplicator. And if moving just the Connections data, to do that manually by copying the connections-images folder to the new site and then exporting the as a SQL file the Connections tables and them importing the Connections tables on the new site. The only real change you would have to do is make sure the table prefixes WordPress uses match after the import.04/27/2016 at 4:30 pm #374369
Many thanks Steven.
I exported the wp-connection table from the backup db from the old domain with the “empty table” option and imported it into the new domain db. So a complete replacement of that table as it was in the old domain and … everything works now as a charm.
Thank you for your explanations and support.
You cannot reply to this support topic. Please open your own support topic.