Firstly I installed WordPress on my site, then I generate a XML file for my blog (akasujjwal.wordpress.com) transfer by using export tool. And when I try to import this XML file to the installed WordPress then I face this error:
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 bypost_max_size
being defined as smaller thanupload_max_filesize
inphp.ini
.
Why did this occur and is there any solutions for this?
I was trying to install WordPress on a site at a free host. During this I faced this error. And I was unable to install WordPress.
php.ini
. You will have to addmemory_limit = 128M
to increase PHP memory limit.