Reputation: 172
Firstly I installed Wordpress, then I generate an XML file for a blog (akashujjwal.wordpress.com) tranfer by using the export tool. And when I try to import this XML file to an installed Wordpress then I face this error:
Import WordPress
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 does this happen?
Upvotes: 0
Views: 1646
Reputation: 51
The error basically tells you what to do.
Make sure the file isnt empty, make sure uploads arent disabled in your php,ini file.
Or as it states, the problem could be post_max_size
being defined as smaller than upload_max_filesize
in php.ini.
Upvotes: 1