首先我安装了Wordpress,然后使用导出工具为博客(akashujjwal.wordpress.com)传输生成XML文件。当我尝试将此XML文件导入已安装的Wordpress时,我遇到了这个错误:
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.
为什么会这样?
答案 0 :(得分:1)
错误基本上告诉你该怎么做。
确保文件 不 为空,请确保在php,ini文件中禁用 不 。
或者如其所述,问题可能是post_max_size
被定义为小于 php.ini 中的upload_max_filesize
。