This topic contains 16 replies, has 2 voices, and was last updated by Shaun 1 year, 5 months ago.
June 6, 2013 at 9:50 pm #2432
All of my sliders are now devoid of images having moved the build from my local to the hosting (remote) server. Curious as to why this may be. For instance, there should be a slider here, but nothing is showing up:
BrianJune 6, 2013 at 10:04 pm #2433
Also, if I click on WP Slider from the Dashboard, it lists my sliders (11 of them), but if I go into one to Edit, it does not show any of the slides present. I’m also using Lightbox 2.0, and that made the transition fine. Any help is greatly appreciated.June 7, 2013 at 6:37 am #2436
It looks like the slides data which is stored in the prefix_postmeta or wp_postmeta table isn’t transferred correctly between the server. Please check that and I hope that’ll fix the issue.June 7, 2013 at 8:22 pm #2444
Thanks for that tip, although i haven’t been able to spot any differences in looking through the two SQL files (the local and the remote version, with updated path names.) I don’t know where to access prefix_postmeta though. Doesn’t seem to be in the SQL.
Is there any way you can tell me what I should be looking for specifically? What kind of files or paths should your plugin have produced?
Thanks. I REALLY love your plugin, but also really don’t want to build the 11 sliders out again.June 10, 2013 at 2:35 am #2459
I hope the information below will help you.
The slider data is in the table wp_post and the slides data is in the table wp_postmeta please do the import correctly for the wp_postmeta table and the images in the slides are actually WordPress attachments so it’s very important that the attachment data is also successfully and correctly transferred from local server to remote server.June 10, 2013 at 8:05 am #2461
I had a similar issue today when I transferred from local host to a remote server. I had copied over the directory structure and imported the nysql database from the command line. In this instance the slider appeared in Chrome on my machine but not on the client’s Chrome. It also didn’t work on my android phone. Very weird.
I deleted the plugin and re-installed and the slider now works EXCEPT the caption text no longer appears.
Any ideas on why the caption text isn’t showing?
Thanks – it’s a great plugin.June 10, 2013 at 9:26 am #2462
Please check the link below, I hope it’ll help you in getting the captions on the slide.
MuneebJune 10, 2013 at 10:46 am #2464
Got it! I thought the caption came from the slide label in WP Slider. You have to delete the slides, caption them in media library and then add the slides again and the captions work.
One other quirk: it seems like the slider is able to handle adding an image that has a greater height than the other slides but if the height is significantly (haven’t quantified) greater, the captions and the caption overly box disappears from the slides with the lesser height. (not a big deal)
thx again.June 11, 2013 at 3:05 am #2474
Thanks for the help, but i need some more. I confirmed looking at the original exported SQL and the one currently on the server that the slider does indeed have 7 slides listed inside its declaration inside wp_postmeta.
Inside the wp_posts, however, I noticed what might have been an issue. As you can see below, the URL has a & instead of just &.
(672, 1, ’2013-05-21 21:23:28′, ’2013-05-22 02:23:28′, ”, ‘Book I.b’, ”, ‘publish’, ‘closed’, ‘closed’, ”, ‘book-i-b’, ”, ”, ’2013-06-10 16:08:35′, ’2013-06-10 21:08:35′, ”, 0, ‘http://www.sanjacwebdesign.com/manualart/blog/?post_type=ssp_slider&p=672′, 0, ‘ssp_slider’, ”, 0),
Even after changing & to & there’s still no slides showing up on the page or under the WP slider editor. Other thoughts? At this point, I’m about ready to pay someone for their expertise in hopes the problem can be identified and easily corrected.June 11, 2013 at 3:06 am #2475
ha. I see that the posting of my question changed my &s into proper &s. My point was even after changing to “&” from “&″, I still had no luck.
Thanks.June 11, 2013 at 7:00 am #2479
I see, I’ve to look into this and dig the issue thoroughly which will take time I really wish I could help you more right now but that might not be possible so hiring someone will be best option. I’ll also give it today quick through look I might catch the issue if so I’ll let you know.June 12, 2013 at 2:12 am #2489
Just to give you an update, I went ahead and manually recreated my 11 sliders on the hosted site. It only took my 1.5 hours, which was far less than the time I spent trying to troubleshoot why the sliders didn’t survive the transfer. Not sure if anyone else has ever reported that problem, but it might be something you want to be on the look out for (or it might be a complete user error on my part). Thanks. I enjoy the slider quite a bit.June 12, 2013 at 4:31 am #2490
It appears the cause of this issue is the storing of absolute paths for the images.
Is it possible to store relative urls so that deployments between for example local and remote servers can be done without manually updating images.?
–June 12, 2013 at 5:21 am #2491
You might be right it could be the issue with the paths but WordPress does save attachments URL’s as absolute paths and my plugin uses the attachment as the slide image for various reasons.
When you move from local server to remote/live server It’s must to update the URLS too using the mysql search and replace functions.Transact-SQL1UPDATE wp_posts SET guid = REPLACE (guid, 'http://www.oldsiteurl.com', 'http://yourcdn.newsiteurl.com') WHERE post_type = 'attachment';
For more information please visit the link belowJune 12, 2013 at 12:15 pm #2493
Hey thanks for quick reply,
Perhaps easier solution for this scenario:
Set ‘Slide Type’ and ‘Slide type’ to html and use (root)relative path to images in the html.
The topic ‘images gone after moving site from local to remote server’ is closed to new replies.