When trying to upload a new image to a post, I get this error message:
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/tmp/phpxLwELu) is not within the allowed path(s): (/home/slenton:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/slenton/public_html/blog/wp-includes/functions.php on line 2425
544
However, if I go to the media library, the image I tried to upload got there successfully, and if I click show, I can then add the caption, alternate text, choose the position in the post, etc. and then "insert into post." This successfully puts it into the post. But why am I getting this error message?