Forums

podPress
Mediafiles are not attached to post after wp-migration (9 posts)

  1. cranky_wheeler
    Member
    Posted 4 months ago #

    hi,
    i just switched the server + domain and replaced all the old server/domain-strings/paths in the database through the new server/domain-strings/paths (e.g. http://www.olddomain.com/wordpressfolder got replaced by http://www.newdomain.com/newwordpressfolder).
    the posts are working, also the images are fine, but all the mp3-files i attached through podpress (version 8.8.10.12) to the posts are being ignored by podpress:
    if i take a look into the database i find the correct _podPressMedia and _podPressPostSpecific entries, but the posts don't show up with the player and the mp3-file mentioned in the _podPressMedia entry.
    for one post i added the mp3-file again and the old _podPressMedia and _podPressPostSpecific entries got replaced by new one which are exactly the same as the old ones (i compared both strings).

    so, what is going wrong? i would like to avoid the task of adding all the mp3-files again to each post, especially because i cannot understand why wordpress (or podpress) is ignoring the old database-entries. am i getting something wrong?

    any help is more than welcome :)
    thx,
    andré

    http://wordpress.org/extend/plugins/podpress/

  2. ntm
    Member
    Posted 4 months ago #

    André,

    I'm hoping that my response is not to late and that I can help.

    Have you controlled whether the post_id and the IDs of the post are still in sync?
    Maybe the post IDs are not the same as in the old blog.

    Tim

  3. cranky_wheeler
    Member
    Posted 4 months ago #

    hi tim,
    thanks for your reply. meanwhile i re-added all the podcast-files manually :)
    anyway, the post-id etc. was definitely the same as i kept the database untouched except replacing the string http://www.domain.com/testfolder with the string http://www.domain.com

    maybe it's because i use podpress in combination with the "events-manager"-plugin and publish the podcast on event-posts (post_type=event)?

    best,
    andré

  4. ntm
    Member
    Posted 3 months ago #

    I'm sorry that you had so much trouble!

    regarding your question: I'm not sure and I have currently not much time for podPress. That is why I have added a bookmark for this thread in my list in order to investigate this later.

  5. cranky_wheeler
    Member
    Posted 3 months ago #

    ok, if you have any further questions to this issue, let me know :)

  6. victor322@gmail.com
    Member
    Posted 2 months ago #

    ntm,

    Do you have any further insights on this? It seems I'm having an almost identical issue as cranky_wheeler. I moved the location of my mp3s from "olddomain.com/tracks" to "newdomain.tv/wordpress/wp-content/uploads/audio" and am experiencing some issues in getting podpress to recognize the new URIs in the database.

    First, I managed to export the wp_postmeta table from my old blog's database. The _podPressMedia entries in it contained absolute paths to the .mp3s at "olddomain.com/tracks" in their meta_value.

    I then imported this table into my new blog's database. All the IDs correspond, and as expected, all blog posts featuring podpress display their mp3(s) embedded inline within the content area. However, the location of the mp3 files still reside at olddomain.

    To address this, I used a search and replace WordPress plugin on the new blog to find all instances of "olddomain.com/tracks" in the database and replace with "newdomain.tv/wordpress/wp-content/uploads/audio/"

    Upon completing that final step, all blog posts featuring podpress no longer display the embedded mp3s within their content area. Further, when I login and inspect the podpress settings for a specific post, the fields are all blank, where they were previously filled out with track info, file location, etc.

    When I revert the wp_postmeta table back to its original state (so that file URIs point to olddomain again), and refresh.. the blog posts return back to normal and properly display their embedded mp3s.

    There has to be something I'm missing. I can't imagine why simply changing the URI from one location to another in the database would cause the mp3s to drop away from the posts they're associated with entirely.

    As a test, much like cranky_wheeler I also tried manually changing the location of an mp3 from olddomain to newdomain for just one post via the wysiwyg (as opposed to bulk find / replacement in the database). That method seemed to work fine, but is obviously not ideal. In fact, once I did that, I went back and inspected the database and the meta_value for that modified entry is formatted identically to the old ones. The only difference is the URI.

    If you could provide any clarity, assistance or recommendations in resolving this, I would greatly appreciate it.

    Victor

  7. ntm
    Member
    Posted 2 months ago #

    Hi Victor,

    in the moment I have no advice. But I will try look into this matter.

    Tim

  8. ntm
    Member
    Posted 2 months ago #

    Victor,

    I'm not really sure whether it will help in your case. But please, read this thread: http://wordpress.org/support/topic/plugin-wordpress-importer-podpress-media-file-data-missing?replies=10

  9. victor322@gmail.com
    Member
    Posted 2 months ago #

    Hey Tim,

    Yes thanks, I had seen that thread already along with a few others in the forum. You'll notice I actually posted a question there as well, for a related issue with my posts (which I think I managed to resolve, fortunately)

    However I'm still stuck with the problem described above.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags