Wordpress import error

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 by post_max_size being defined as smaller than upload_max_filesize in php.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.

Topic php.ini memory import Wordpress

Category Web


thank you everyone who give their precious time to this question, lastly I solve this problem by myself... I think this error is because of memory limit.

And I have no access to my php.ini file. So I created my own php.ini file with the following in it and added to my wp-admin folder.

memory_limit = 128M

and now its work for me !!

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.