open_basedir restriction in effect.
Basically, I have multiple sub domains that I want to be able to access an image folder on the root domain. When uploading an image, I get
Warning: move_uploaded_file() [function.move-uploaded-file]: open_basedir restriction in effect. File(/var/www/vhosts/domain/domain.com/httpdocs/profilepics/2693031320888645.JPG) is not within the allowed path(s): (/var/www/vhosts/domain/domain.com/httpdocs/subdomains/ns) in /var/www/vhosts/domain/domain.com/httpdocs/subdomains/ns/includes/classes/common.inc.php on line 176
I have checked:
and I have no idea what line of open_basedir you mean when editing the apache template because there are 4 lines containing "open_basedir."Even though, I tried with removing all for and I still got the error. I also tried editing the php.ini file and I still got the error even after syncing domains.
Got any ideas?