Importing content after WordPress installation
-
After installing on new server I tried uploading (importing) the XML that I exported using WordPress export feature in tools. I’m getting the following 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.”I contacted my host and they had me do the following:
added (changed) the wp-config.php installed in my WordPress folder the following lines:define( ‘WP_MEMORY_LIMIT’, ‘995M’ );
define( ‘WP_MAX_MEMORY_LIMIT’, ‘999M’ );Added to my public_html/php.ini file:
memory_limit = 999MI’m still getting the same error.
The file is 300M
Maybe importing the XML file form the local server can resolve this issue? I don’t see a way of doing that? I’m really stuck and was hopping someone would be kind enough to offer suggestions.
Thanks in advance 🙂
The topic ‘Importing content after WordPress installation’ is closed to new replies.