Vslider associations gone after site migration

Started 1 year ago by Latest reply from Mr.Vibe
  • This topic is resolved
    1. Anonymous
      Unregistered

      Hi,

      I am using v4.1 on WP 3.2.1 , and when I moved my DB and files to another server, all sliders stopped working.

      The slider list is still there, but they have lost most of the options and custom images i had set.

      Any clues? please help.

      Posted 1 year ago #
    2. Hi,

      You need to check the cache folder permissions in wp-content/plugins/vslider , to 757.
      I also did a site migration and realized this issue is there.

      ( v )

      Posted 1 year ago #
    3. Hey there..

      I have the same problem but can't fix it using the permission fix you suggested!? I think it is a path related issue but I am not sure how to fix it.. :-( I am able to add a new slide, then add a new image and voila.. it works.. but I have added lots of slides and would have to do it over and over again.

      the image URL in vslider to looks like this: http://localhost/thesite/wp-content/uploads/2011/07/slide_home.jpg

      the path (meta_key) in my DB like that: 2011/07/slide_home.jpg

      the meta value like this:
      a:6:{s:5:"width";s:3:"960";s:6:"height";s:3:"312";s:14:"hwstring_small";s:23:"height='41' width='128'";s:4:"file";s:22:"2011/07/slide_home.jpg";s:5:"sizes";a:3:{s:9:"thumbnail";a:3:{s:4:"file";s:22:"slide_home-150x150.jpg";s:5:"width";s:3:"150";s:6:"height";s:3:"150";}s:6:"medium";a:3:{s:4:"file";s:21:"slide_home-300x97.jpg";s:5:"width";s:3:"300";s:6:"height";s:2:"97";}s:8:"featured";a:3:{s:4:"file";s:21:"slide_home-284x84.jpg";s:5:"width";s:3:"284";s:6:"height";s:2:"84";}}s:10:"image_meta";a:10:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";}}

      so it looks like vslider does only use a relative path which is fine i think. What am I missing here? Any clue?

      greets
      -)s(-

      Posted 1 year ago #
    4. You are right in pointing out, I haven't been able to recreate this situation but my guess is that in vslider.php wp_content_url is not getting initialized properly.
      relative paths no vslider uses full paths that is why you are able to extract images from other web sources on the internet.

      If you update these relative paths to full paths it would work.

      ( v )

      Posted 1 year ago #
    5. Hey Mr. Vibe...

      thanks for the quick reply. I tried that already yesterday, but no luck!? I changed all relative paths over to full paths but nothing changed. So the only thing I could do was to change the DEFAULT prefs to my needs in vslider.php, then disable/enable vslider plugin and start over. That worked right away, not sure why!? Looking at my DB now the paths to my images are still relative.

      Thanks again for a great plugin! Keep it up...

      -)s(-

      Posted 1 year ago #
    6. G'day guys,

      Nice plugin Mr.Vibe.

      I just struck this problem too when migrating a site from development server to a test server on the interwebs. How I do that is I dump the MySQL db, edit the SQL to replace the website domain/folder for my dev server with the target server's domain name, load into MySQL on the target server, and FTP up all of the files. However, this causes problems for anything stored in wp_options, like paths to images in vslider slideshows, because options are stored by serialising via PHP serialize function and that records the string length; when you change the contents of the string, and the length changes, the option fails to unserialise.

      What I had to do was:

      * delete the options for my slideshows, e.g. DELETE FROM wp_options WHERE option_name LIKE 'vs%';
      * reload those options from SQL, using INSERT statements dumped from my dev db
      * edit each image path in vslider admin (well, OK, I gave that tedious job to someone else :)

      cheers,
      Ross

      Posted 1 year ago #
    7. @Webaware: Thank you for sharing your experience. Now I am thinking of inserting an import and export option in vSlider for all its sliders.

      ( v )

      Posted 1 year ago #
    8. @Mr.Vibe: that would be terrific, thanks!

      Posted 1 year ago #
    9. Anonymous
      Unregistered

      hello, i have the same problem. i moved the site to local to upgrade, i only can see the container names and rest is all gone. i have looked at phpmyadmin but i have a little knowledge of that and cannot do what webavare said. or misunderstood.

      on sql tab i have written DELETE FROM wp_options WHERE option_name LIKE 'vs%';
      and after that i inserted two queries;

      INSERT INTO wp_options VALUES (544, 0, 'vslider_support', '0', 'yes');
      and
      INSERT INTO wp_options VALUES (5093, 0, 'vslider_options', 'a:96:{s:5:"width";s:3:"570";s:6:"height";s:3:"2.......................7:"slide15";s:0:"";s:6:"link15";s:0:"";s:9:"heading15";s:0:"";s:6:"desc15";s:0:"";}', 'yes');
      (i've cut the dotted section to fit here)

      and nothing happens. i still cannot see the image boxes -which says there are no images, although i can see the slider containers..

      what can i do to get my sliders back?? please help..

      Posted 11 months ago #
    10. @S3zer: Though I would advice to wait for the import export functionality [2 weeks form now], but looking at your effort, you are very close. When you are "INSERT" ing into the table please check the serialized array also contains image urls.
      Please check these image urls and remove/replace the localhost part from it.

      You can also achieve the same by opening the vslider panel -> edit vslider and checking out the image url's in the slides.

      Hope this helps!
      ( v )

      Posted 11 months ago #

    Reply »

    You must log in to post.