By prezaeis on
hi guys
i have a drupal 6 music site with over 3000 mp3 songs uploaded
i have a custom content type (music) with cck image and upload fields, an mp3 is uploaded with an image and then that node has a flash player which plays the mp3
anyway i have over 3000 nodes and i want to do a clean install of drupal 7 and then bring all my nodes in to the new install, however i need all the themes to keep the same node id and link etc because i have facebook comments for all the nodes and want to keep those comments so cant have the node link change
any ideas on what my best option is for the upgrade?
many thanks in advance
Comments
no one?
no one?
No one for mine either
It seems not.
Sorry, PRezaei, if by posting this, I have given you false hope.
Neither my post nor Bunzer's have attracted reponses that offer solutions either.
Unless I can find out how to automatically upgrade, I will have no choice but to start to do it manually. I will have to try to manually copy each node (over 2,500 so far) from the old version of drupal (4.* or 5.*?). I will need to work out which table elements will need to be copied for each node and how to adapt them.
Maybe by doing this I will be able to work out how to write a php/mysql script to do this or adapt an existing one.
If I succeed I will be sure to post how I did it, in case it is of help to others.
the process you suggested is
the process you suggested is very long-winded and im sure its gonna cause many errors
i just tried using the feed module to import nodes via csv file but it doesnt work properly, the d7 version isnt very stable and keeps giving errors
im so annoyed :(
ok nearly thereiv got a
ok nearly there
iv got a script below i worked on, which you can use to connect both the drupal 6 and 7 database to the drupal 7 install, and then running this script in a php file will bring over all of the 'music' nodes from the 6 version and put them in the 7 version. note that my node type is music, it has a title, body, ccm image field, taxonomy terms (artist nam) and filefield mp3 upload field.
using the below script i succesfully converted the nodes from version 6 to 7 and title and body is braught over too, but i cant figure out how to bring in the mp3 file field, the cck image field and taxonomies. in my code i tried bringing over the taxonomys too but its not working, any ideas?