Since WP probably doesn’t know what to do with a .zip file, that might not have been the solution you were after. 😉
Any chance you can get your host to get you more than a 2MB upload size?
If not, you might have to bust out the editor and see if you can break the one big wxr file down into a couple smaller pieces.
Thread Starter
techz
(@techz)
Hi HandySolo, thanks for the reply.
It’s not my host that is limiting the upload to 2MB, it’s wordpress itself.
The other solution you mention of breaking it down, it’s an XML file and I wouldn’t know what way WP requires me to split the file up.
It’s not my host that is limiting the upload to 2MB, it’s wordpress itself.
Nope. Unless something changed recently, WP doesn’t care how big uploaded files are. PHP does though. Unless you have access to php.ini, you’d have to work with your host to increase it.
Thread Starter
techz
(@techz)
picture
I just checked with someone on a totally different host, it appears they have that same limit too.
It seems it’s a limit on the host, I just checked the PHP Info page.
For what it is worth, mine says:
Choose a file from your computer: (Maximum size: 7m )
Thread Starter
techz
(@techz)
Thanks a bunch, I guess I was looking in the wrong place all along, going to email my host now!
I’m not a real .htaccess wizard… (hint: save a copy of your .htaccess first!) but I wonder if you added this to yours:
php_value upload_max_filesize 10M
Perhaps that would override?
Thread Starter
techz
(@techz)
After MUCH reading, I found out how to ‘get’ the hosts php.ini file via a script and make a new one with changes that allow me to upload the WP XML file.
Finally it started uploading well, and then this error:
Fatal error: Maximum execution time of 30 seconds exceeded in /home/techznet/public_html/wordpress/wp-includes/plugin.php on line 139
which is wrong because its actually again a php.ini limit…SO back to remaking the new ini file with the exec time raised to 300..
Re-upload the XML file, errors at a 2 lines in wordpress.php but keeps on going, but since there are a few 1000 images that were uploaded in the wp.com blog it ends prematurely…so a few refreshes later it finally uploads the file and completes the import…all well and good I say.
Next it decides to totally screw up the blog by assigning each image an ID, as if it were a post…adding the 1000s of images to the Manage–>Upload section as blank attachments linking to non existant files. This in turn totally makes browsing through older posts a hassle especially with themes using an ajax based ‘live’ archives, as each of the pictures is treated as a post.
The Dashboard cannot display the commentors names as well.
pic 1
pic 2
So going to try and get wp.com to export us the XML after deleting all the uploaded images, which we plan to host on a subdomain and link without using the built in WP upload interface.
Complicated, and time-consuming 🙂
Thread Starter
techz
(@techz)
that’s actually a brilliant idea muhtar, thanks!