Tuesday, April 30, 2013

how to export large wordpress xml files

my xml file on my ex shitty shared hosting company came to 60MB.

The problem wordpress,blogger does not allow files more then 17mb,10mb

Even other hosting companies will not allow hosting above 20 mb .
You cannot cut xml  files into smaller pieces as it screws up the code .

The only solution is to install wordpress on your own computer and then save the files into smaller parts . OR same the xml files into smaller parts before you leave your ex shitty shared hosting company


So if you are like me and a)did not have time to break them into smaller parts b)was so angry with the hosting company that you did not save them into smaller xml

then
1) Download xampp from apache friends 97 mb installer
http://www.apachefriends.org/en/xampp.html

install it on your windows ,linux computer

Open the xampp panel
start apache
start mysql

follow the steps how to download and install wordpress
http://www.wikihow.com/Install-Wordpress-on-XAMPP

put it into the htdocs folder. Click config (next to apache ) in the xampp panel
click browse apache

Open the htdocs folder and install it there
after you have installed wordpress on your local computer
http://www.wikihow.com/Install-Wordpress-on-XAMPP


Then Click config (next to apache ) in the xampp panel
click php (php.ini)
change those in BOLD to the size you want


; Maximum allowed size for uploaded files.
; http://php.net/upload-max-filesize
upload_max_filesize = 2M


Sorry, there has been an error.
File is empty. Please upload something more substantial. This error could also be caused by uploads being disabled in your php.ini or by post_max_size being defined as smaller than upload_max_filesize in php.ini.


; Maximum size of POST data that PHP will accept.
; Its value may be 0 to disable the limit. It is ignored if POST data reading
; is disabled through enable_post_data_reading.
; http://php.net/post-max-size
post_max_size = 8M


Warning: POST Content-Length of 46980048 bytes exceeds the limit of 8388608 bytes in Unknown on line 0


; Maximum amount of memory a script may consume (128MB)
; http://php.net/memory-limit
memory_limit = 128M


I hope you also restarted your webserver after changing
these values in php.ini??

https://bugs.php.net/bug.php?id=13245


RESTART APACHE

log into wordpress 
click tools -> import 
install the wordpress install plugin
now you will see 2mb changed to 60 MB or the number you want . 

1 comment: