Title: sdevilcry's Replies | WordPress.org

---

# sdevilcry

  [  ](https://wordpress.org/support/users/sdevilcry/)

 *   [Profile](https://wordpress.org/support/users/sdevilcry/)
 *   [Topics Started](https://wordpress.org/support/users/sdevilcry/topics/)
 *   [Replies Created](https://wordpress.org/support/users/sdevilcry/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/sdevilcry/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/sdevilcry/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/sdevilcry/engagements/)
 *   [Favorites](https://wordpress.org/support/users/sdevilcry/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Podpress: media detail missing after a migration](https://wordpress.org/support/topic/podpress-media-detail-missing-after-a-migration/)
 *  Thread Starter [sdevilcry](https://wordpress.org/support/users/sdevilcry/)
 * (@sdevilcry)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/podpress-media-detail-missing-after-a-migration/#post-2583039)
 * For people having the same problem after having modified the serialized meta_value,
   use this to fix the length of the string :
 *     ```
       global $wpdb;
             $tab = $wpdb->get_results('SELECT post_id, meta_value
                 FROM wp_postmeta
                 where meta_key = "_podPressMedia"');
             foreach ($tab as $num => $post)
             {
               $new_value = preg_replace('!s:(\d+):"(.*?)";!e', "'s:'.strlen('$2').':\"$2\";'",
                 $post->meta_value);
               $sql = 'UPDATE wp_vince_postmeta
                       SET meta_value = \''.$new_value.'\'
                       WHERE post_id = '.$post->post_id;
               $wpdb->query($sql);
       }
       ```
   
 * Best regards 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Podpress: media detail missing after a migration](https://wordpress.org/support/topic/podpress-media-detail-missing-after-a-migration/)
 *  Thread Starter [sdevilcry](https://wordpress.org/support/users/sdevilcry/)
 * (@sdevilcry)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/podpress-media-detail-missing-after-a-migration/#post-2582998)
 * Ok I thinkf I found what’s going on 😀
 * I broke the serialized content replacing the last domain name to my new one but
   the length string change and I didn’t report the new size (replace was made with
   SQL query)
 * I think I will fix it 🙂
 * By the way, Is there any way to forbidde to podpress to insert enclosure link
   using in the post ? I have had to modify the source code 🙁
 * Thanks in advance.
 * Best regards

Viewing 2 replies - 1 through 2 (of 2 total)