I moved a domain from one server to another. The site is working just fine with the exception of doing any updates to core or plugins.
When I try to update, I get an error:
Warning: touch() [function.touch]: Unable to create file /home/xxxx/public_html/wp-content/uploads/all-in-one-webmaster.tmp because No such file or directory in /home/xxxx/public_html/wp-admin/includes/file.php on line 179 Warning: unlink(/home/xxxx/public_html/wp-content/uploads/all-in-one-webmaster.tmp) [function.unlink]: No such file or directory in /home/xxxx/public_html/wp-admin/includes/file.php on line 503 Download failed. Destination directory for file streaming does not exist or is not writable.
Clearly WP is trying to upload to a directory using the old server structure and not the one new. I went into the database and updated the upload_path to the new structure but that doesn't seem to do anything.
How can I fix this?