Funny thing with WordPressMU
I exported a blog from my MU install today, and when I tried to import it again (I wanted to change the author on a lot of posts), it stopped!
The XML file was 3.5MB, and WordPressµ said that it could only import files up to 1500KB….
Well, the quick fix was to gZip the file, down to 635KB, then it imported just fine. Although it did not say anywhere that the importer accepted gZip’ed files, I noticed that there was a function in the wordpress.php file that checked for gZip library, so I had to try :-)
But that’s a feature that should be documented or at least mentioned on the import page. The best thing would of course to make it an option for site admins to set for their own site. I can’t remember that this is a limit with standalone WordPress?
The cause was probably MU Site Options: Max upload file size, which defaults to 1500Kb.
Regarding gzip, we plan to default to compress exports, but we wanted to have the gunzipping of imports in the wild a while.
Definitely worth documenting, but not sure about mentioning on the import page because gzip isn’t a common format outside of Linux.
Hope thinks are going more smoothly now.
Things did work out :-) And are still doing just that! And yes, it does have to do with the Max upload file size - I just did not see that option (and yes I was (kinda) looking).
Later (after I cleaned my reading glasses) it just magically appeared out of thin air and landed in the site option section of the MU install… Go figure ;-)
I do realize that I’m to much of a nerd when I start greping the code and not looking on the standard web interface…
–
Rune