Hi guys,
Got a problem when trying to remove packages from within the manager - the errors below are shown (I have substituted the real domain with mydomain.com)
PHP warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/www/vhosts/mydomain.com/htdocs/core/packages/autofolders-0.1-beta1.transport.zip) is not within the allowed path(s): (/var/www/vhosts/mydomain.com/httpdocs/:/tmp/)
Could not load transport package.
Finding package with signature: autofolders-0.1-beta1
Package found. Preparing to uninstall.
Target directory is either not a directory or writable: /var/www/vhosts/mydomain.com/htdocs/core/packages/
Target directory is either not a directory or writable: /var/www/vhosts/mydomain.com/htdocs/core/packages/
PHP warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/www/vhosts/mydomain.com/htdocs/core/packages/autofolders-0.1-beta1.transport.zip) is not within the allowed path(s): (/var/www/vhosts/mydomain.com/httpdocs/:/tmp/)
Could not transfer package autofolders-0.1-beta1.transport.zip to /var/www/vhosts/mydomain.com/htdocs/core/packages/.
Could not transfer package autofolders-0.1-beta1.transport.zip to /var/www/vhosts/mydomain.com/htdocs/core/packages/.
PHP warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/var/www/vhosts/mydomain.com/htdocs/core/packages/) is not within the allowed path(s): (/var/www/vhosts/mydomain.com/httpdocs/:/tmp/)
PHP warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/var/www/vhosts/mydomain.com/htdocs/core/packages/) is not within the allowed path(s): (/var/www/vhosts/mydomain.com/httpdocs/:/tmp/)
From what I can see the problem lies in the fact that it is looking at the path ’/var/www/vhosts/mydomain.com/htdocs’ - this is not a real path on my hosting server (CentOS 5) - the real path is for eg. /var/www/vhosts/mydomain.com/httpdocs/core/packages. I am not sure where the htdocs path is being set and by what.
Can anyone shed any light on how to correct this.
Many Thanks.
Den.