admin管理员组

文章数量:1314320

First time I faced this problem & trying to find out solution but it seems to me that it happens very few and that is why no more solution has been found like this & that is why I am here.

WordPress Import Message:

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.

I am getting above message when trying to import a previously imported file like the bellow image. Could you please tell me how to solve this?

I already tried to find the solution by googling but could not yet?

First time I faced this problem & trying to find out solution but it seems to me that it happens very few and that is why no more solution has been found like this & that is why I am here.

WordPress Import Message:

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.

I am getting above message when trying to import a previously imported file like the bellow image. Could you please tell me how to solve this?

I already tried to find the solution by googling but could not yet?

Share Improve this question edited Feb 19, 2017 at 18:48 Arsalan Mithani 5534 silver badges15 bronze badges asked Feb 19, 2017 at 15:27 ShihabShihab 1341 gold badge3 silver badges11 bronze badges 4
  • 1 the error itself states the problem, did you checked upload_max_filesize? are you working on local server like xampp etc? – Arsalan Mithani Commented Feb 19, 2017 at 16:52
  • yes, i am working in localhost but i exported the file from live server. but where is the file size declaration? -thanks – Shihab Commented Feb 19, 2017 at 16:56
  • learn how to google : See this, tell me one more thing how much space is left in your dirve where you've installed local server? – Arsalan Mithani Commented Feb 19, 2017 at 17:02
  • i added my answer below with a brief – Arsalan Mithani Commented Feb 19, 2017 at 17:25
Add a comment  | 

2 Answers 2

Reset to default 3

You need to increase the upload limit in your php.ini.

To increase the maximum upload file size, open your php.ini file in the "xampp/php/php.ini" directory. search for upload_max_filesize and increase the value like :

upload_max_filesize = 128M

In order to fix this problem, you need to navigate into your cpanel and change the PHP functions to increase the size.

Source: https://www.youtube/watch?v=lGJrlvV_vQ4

本文标签: WordPress Import shows an error when uploading previously exported xml file