Local Community

Import xml data failed with the message "Missing a temporary folder"

I have written one post in my empty local website. I export it with the export function of the tools menu.
I have the deleted the post and then I have imported it with import function.
I have always the same error “Missing a temporary folder”.
I have added in the wp-config.php this line:

define(‘WP_TEMP_DIR’, dirname(FILE) . ‘/wp-content/temp/’);
and I have created the temp folder. There is no effect.
Coud you help me to use the import/export function

Hello there! By chance are you on Windows and trying to configure a site with Apache? If so then you may be running into this recent bug: Unable to upload media files on Windows when using Apache - #12 by austinwendt