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
Thanks