Wednesday 7 December 2016

php - Open_basedir restriction oddness

I'm having a problem with move_uploaded_file in PHP, with the returned error message telling me that the open_basedir restriction is in place (which I've set) and that on the path I'm attempting to write to is not within the allowed paths, but it is (and is clearly displayed on the error message).




Has anyone come across this before?



Edit:



Sorry, the error message might help!:




Unhandled Error (/var/www/vhosts/(myhost)/libs/imanager.php, 226): 2,
'...move_uploaded_file() [function.move-uploaded-file]:
open_basedir restriction in effect.

File(/var/www/vhosts/(myhost)/httpdocs/tributes/images/precrop/1317227884228.jpg)
is not within the allowed path(s):
(/var/www/vhosts/(myhost)/httpdocs/tributes/images/precrop/:/tmp)...'


No comments:

Post a Comment

c++ - Does curly brackets matter for empty constructor?

Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...