the open_basedir warning is telling you that there is a restriction set in place. I assume you are trying to upload a file with your PHP script. This means that you are probably trying to copy of file from the upload_tmp_dir to somewhere else, but since open_basedir is in effect, you are restricted from doing this.
Using move_uploaded_file() to get around this, as it has more reach and more security than using a file_copy.
The other error will probably clear up once you do this.