bluehostforum.com  

Go Back   bluehostforum.com > BlueHost Related Help > Advanced Scripting, and Coding help!

Reply
 
Thread Tools Display Modes
  #1  
Old 09-15-2008, 08:45 PM
Kymburlee Kymburlee is offline
Junior Member
 
Join Date: Sep 2008
Location: Canada
Posts: 1
Unhappy Wordpress: XML File Too Large to Import

Apologies if this has been addressed, but I'm one of those dreaded new users who hasn't a clue what they're doing yet.

I'm having issues importing my blog to my new domain. It wouldn't import directly from blogger so I tried a work around suggested in another forum. i.e. to start a free wordpress site, import to that, then export it into an XML file to import to my new domain. Everything went smoothly except for the importing to my new domain.

I get a message of "Are you sure you want to do that?" and "Please try again." The file is 9.86 MB so I'm thinking that might be the issue, but I'm not certain.

Any ideas? I don't have the technical knowledge to file split, though I have been researching the topic in hopes of figuring it out on my own. Any advice would be hugely appreciated.

Cheers,
Kimberly

Last edited by Kymburlee; 09-15-2008 at 08:47 PM. Reason: typo
Reply With Quote
  #2  
Old 09-16-2008, 03:18 AM
owencutajar's Avatar
owencutajar owencutajar is offline
Member
 
Join Date: May 2008
Posts: 43
Default

I don't remember exact filesizes, but when I imported around 1500 posts into my blog (http://www.u-g-h.com), I had to mess around with splitting the file into different chunks as it was too big for WP to deal with in one go.

It wasn't easy as the file is XML so you can't just break it up. Took me a couple of hours if I remember correctly, but wasn't too hard.

Main advice is to make sure the XML is well-formed before importing, otherwise the import won't work. You do this by opening it in Internet Explorer. If the is an XML error, it will tell you straight away.

Sorry I can't be any more specific than that.

Owen
__________________

--------------------
Tech Blog - Personal Blog - Business Blog - Ask Owen
- Catch me on Twitter?
Reply With Quote
  #3  
Old 09-16-2008, 02:39 PM
mhJr_ mhJr_ is offline
Senior Member
 
Join Date: Sep 2008
Posts: 141
Default

Quote:
Originally Posted by Kymburlee View Post
Apologies if this has been addressed, but I'm one of those dreaded new users who hasn't a clue what they're doing yet.

I'm having issues importing my blog to my new domain. It wouldn't import directly from blogger so I tried a work around suggested in another forum. i.e. to start a free wordpress site, import to that, then export it into an XML file to import to my new domain. Everything went smoothly except for the importing to my new domain.

I get a message of "Are you sure you want to do that?" and "Please try again." The file is 9.86 MB so I'm thinking that might be the issue, but I'm not certain.

Any ideas? I don't have the technical knowledge to file split, though I have been researching the topic in hopes of figuring it out on my own. Any advice would be hugely appreciated.

Cheers,
Kimberly
The maximum size is controlled by two PHP settings: upload_max_filesize, and post_max_size. These are PHP.INI settings, and you may or may not be able to modify them yourself. It depends on your host. So you have to ask them what the correct way to change their value is for their setup. You may need to edit the .htaccess, you may need to add a few ini_set lines to your wp-config.php file, or you may need to edit a PHP.INI file. Can't say for sure.

Might need to request a support ticket.

Felgall will probably chime in and let you know exactly what is going on. =]
Reply With Quote
  #4  
Old 09-16-2008, 05:28 PM
nuttycoder nuttycoder is offline
Junior Member
 
Join Date: Nov 2006
Posts: 18
Default

you can override upload file sizes using an .htaccess file using:

Code:
php_value upload_max_filesize 20M
in this case the max file size would be 20MB

I've wrote a tutorial on this over at http://www.webguideuk.com/ht-access/...-htaccess-file
__________________
Web Design Tutorials- http://www.webguideuk.com
Reply With Quote
  #5  
Old 09-18-2008, 12:36 AM
charlesgan's Avatar
charlesgan charlesgan is offline
Senior Member
 
Join Date: Mar 2007
Location: http://www.bluehostreview.org
Posts: 1,097
Default

since you having trouble with the file size... you can send your XML script to bluehost support and asked them to import for you.
__________________
Charles Gan
Bluehost Reviews : Bluehost reviews hosted at bluehost
Bluehost Speed Test : bluehost hosting speed Test!
Bluehost Uptime : Bluehost uptime monthly reports
Reply With Quote
Reply

Tags
importing, wordpress

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:06 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.