I need to migrate from an old mysql-based site and a new drupal site.
I have to manage an online catalogue and so I created a flexinode type with 4 text field and 1 image field.
I manual inserted all the record with a batch and I can see the text fields for all the new nodes but the image-field one doesn't display any image.
For the image-field I used a "drupal inserted" one.
This is the serialized-data field fro the image one.
O:8:"stdClass":7:{s:8:"filename";s:14:"deps010101.gif";s:8:"filepath";s:22:"files/deps010101.gif";s:8:"filemime";s:9:"image/gif";s:8:"filesize";s:4:"3616";s:6:"source";s:11:"flexinode_6";s:9:"smallpath";s:22:"files/deps010101.gif";s:9:"thumbpath";s:22:"files/deps010101_th.gif";}
I don't understand why the records are all similar but in the edit-node window under the image-path field I can't see any filename .
If I insert an example node (with drupal wizard) I can find under the file path the new image as image_name_1.
The "_1" means that drupal find the old image and upload the new one.
If I look the image field in mysql I can see that the record different only for the filename that have the "_1".
So I don't understand what to do.
I hope that someone can help me.
Sorry for my english and thanks to everyone can help me.
Comments
Maybe the problem is in the
Maybe the problem is in the serialize function.
How can I re-serialize the inserted data?