I am having a problem with move_uploaded_filein PHP, with an returned error message telling me that the open_basedir restriction is in place (which I set) and that the path I am trying to write is not in valid paths, but it (and is clearly displayed in the error message).
Has anyone come across this before?
Edit:
Sorry, error message may help !:
Unhandled error (/var/www/vhosts/(myhost)/libs/imanager.php, 226): 2, '... move_uploaded_file () [function.move-uploaded-file]: open_basedir. The file (/ var / www / virtual domains /(MyHost)/httpdocs/tributes/images/precrop/1317227884228.jpg) is not within the valid path (s): (/ var / www / virtual domains / (myhost) / httpdocs / tributes / images / precrop /: / TMP) ...
source
share