Hi Folks.
Edgar wrote a script for migrating from the last version of flutter (v1.0 or v 1.1) to magic fields (v 1.1).
You can download the script from here:
or from here:
http://magicfields.org/wp-content/uploads/2009/09/migra.txt
How use it.
Just follow the next steps:
Download the script here you have a raw version.
Make a backup of your database (for any unexpected bug).
Unactive flutter
Put the script in your parent folder (where you has the wp-config.php and all these stuff)
Rename the script from migra.txt to migra.php
Enter to http://yoursite.tld/migra.php
And its all, this script change all reference from flutter to magic fields.
Change the name of your folder files_flutter to files_mf
Put the Magic fields plugin in your plugins folder.
In your admin area active Magic Fields.
And its done.
UPDATE:
for the version 1.2 of Magic Fields uses this script. http://gist.github.com/227581
UPDATE:
for the version 1.3 of Magic Fields uses this script. http://gist.github.com/284805
UPDATE:
for the version 1.4.5 of Magic Fields uses this script. http://gist.github.com/558207

Thank you!
Now we need a script for massive adding of custom fields created before MagicFields was installed
@Xavi: Yep
I have a question, not sure if it is related to this script. I ran the script and most things looks ok
Except all my images that use the “image” custom field type. They worked fine before in Flutter but I didn’t use the default folder “flutter_files” but instead the “uploads” folder.
I tried to change the upload folder in the “RCCWP_Constant.php” file from “files_mf” to “uploads” but no good. I also tried to upload new files and it sais “Successful upload!” but no image is shown.
Could it be a bug or am I doing something wrong?
/Jens
This is the one I used:
http://gist.github.com/199241
I like it a bit better because it’s non-destructive to you existing tables. Ya know, just in case
hi
thanks Jeff. nice
Jens I did the change of directory of files_mf to upload and this working correctly.
line 105 of the file RCCWP_Constant.php
define(‘MF_FILES_NAME’,'files_mf’); for
define(‘MF_FILES_NAME’,'uploads’);
you can verify if this changing path correctly with I echo MF_FILES_PATH;
@hunk: The file are uploaded to the correct folder (for me uploads) but I seem to get an error in one of the phpthumb files, phpThumb.php. See error below.
Notice: Use of undefined constant E_DEPRECATED – assumed ‘E_DEPRECATED’ in /Users/jens/Sites/chwisgi-dev/wp-content/plugins/magic-fields/thirdparty/phpthumb/phpThumb.php on line 12
Hi jeff.
change the line 12 of the phpThumb.php (wp-content/plugins/magic-fields/thirdparty/phpthumb)
error_reporting(E_ALL & ~E_DEPRECATED);
for this
if (defined(‘E_DEPRECATED’)) error_reporting(E_ALL & ~E_DEPRECATED); else error_reporting(E_ALL);
E_DEPRECATED is one new error level of php 5.3 http://php.net/manual/en/migration53.deprecated.php
with the change it will have to work correctly
Hi again
I still get an error. I moved this thread to the support forum instead. Please have look a look >> http://groups.google.com/group/magic-fields/browse_thread/thread/d863505dcc65ff96
Xavi,
I have moved all of mine over if you want the instructions. You just have to change a few of the meta tags in the db.
Hi, I’m running Flutter 1.1 on this website: Masculinity Movies, and when I tried upgrading with the script just now, it didn’t work.
All of the fields disappear from the “write panel” setup section. The write panels themselves seem to stay functional, but I lose all the data on the setup.
Any ideas?
Loving the new direction by the way!
Thanks,
Eivind F S
Hi Elvinid FS.
what version of the Magic_Fields uses?
for the version 1.2 two data changed and a new field was added (tooltip), this can cause conflict.
Script for Migrating from flutter…
I have updated script for vesion 1.2 of Magic Fields.
Thanks, Hunk. It is working perfectly now!
Much appreciated!
Eivind
Wow, not only is the migration script working, but updating from Flutter to Magic Fields fixed a huge problem I’ve been experiencing with TinyMCE. HTML and Visual editor modes have been active simultaneously in the interface and the usability has been unpredictable to say the least.
Now, it works fine. Clearly, it was a Flutter bug.
Now, I’m even happier. Great job guys. So where do I donate? Oh, on the sidebar up here. Cool!
Thanks again,
Eivind
[...] rest is here: Script for migrating from Flutter V 1.1 and 1.0 | Magic Fields Comments0 Leave a Reply Click here to cancel [...]
Great accomplishment here
How does migrating option work now? Do I need to do anything, or installing Magic Fields plugin should fix everything automatically, since migrating script is already incorporated into it?
Any chance we might get a script to migrate to Magic Fields 1.3 anytime soon?
Hi Mike i work this weekend in script for the version 1.3