admin管理员组

文章数量:1122846

Firstly I installed WordPress on my site, then I generate a XML file for my blog (akasujjwal.wordpress) 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.

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.

Share Improve this question edited Dec 21, 2014 at 20:36 Sven 3,6641 gold badge34 silver badges48 bronze badges asked Dec 21, 2014 at 19:35 akash ujjwalakash ujjwal 1115 bronze badges 3
  • Explain what exactly you wanted to do and what you did. Then only add code or error messages. File an edit to your question and add more details. – Robert hue Commented Dec 21, 2014 at 19:41
  • You will need to increase memory limit in php.ini. You will have to add memory_limit = 128M to increase PHP memory limit. – Robert hue Commented Dec 21, 2014 at 19:49
  • thank for you reply sir. But may i know where i'll get php.ini file on hosting site. – akash ujjwal Commented Dec 21, 2014 at 20:01
Add a comment  | 

1 Answer 1

Reset to default 0

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 !!

本文标签: memoryWordpress import error