Here’s what I’ve done:
wp-config.php file installed in my WordPress folder added:
define( ‘WP_MEMORY_LIMIT’, ‘995M’ );
define( ‘WP_MAX_MEMORY_LIMIT’, ‘999M’ );
Added to my public_html/php.ini file:
memory_limit = 999M
Getting:
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.
This has to be the BIGGEST bug/obstacle/limitation PHP or hosts or wordpress has!
One can’t backup a site and expect to recover it via XML files if they are larger than 2M? Surely ther has to be a solution for this popular problem?
Any advice? Thanks all 🙂
Or is there a way to break up the XML file into smaller chunks, or can I upload the XML directly into the SQL database using MyPhpAdmin? This is unbelievably frustrating! Thanks again for any advice.
Still looking for a solution, a plug in, anything that can fix this issue. I need to restore my site, I have the XML 312M file and I have no way of importing it? Someone in this universe must have a solution. Anyone? Please? Thank you.
Still looking for a solution, maybe someone can help? Thank you
This must be a problem without a solution