I'm getting persistent errors with installing FileField which stem, I think, from the open_basedir restrictions on my server - the permitted directories ought to be sufficient, but I'm guesisng they're not - can anyone suggest what directories should be opened to allow FileField to operate?
These are the warnings, with the domain removed, natch:
* warning: main() [function.main]: open_basedir restriction in effect. File(/field_file.inc) is not within the allowed path(s): (/var/www/vhosts/***.com/httpdocs:/tmp) in /var/www/vhosts/***.com/httpdocs/sites/all/modules/filefield/filefield.install on line 11.
* warning: main(field_file.inc) [function.main]: failed to open stream: Operation not permitted in /var/www/vhosts/***.com/httpdocs/sites/all/modules/filefield/filefield.install on line 11.
* warning: main() [function.include]: Failed opening 'field_file.inc' for inclusion (include_path='.:') in /var/www/vhosts/***.com/httpdocs/sites/all/modules/filefield/filefield.install on line 11.
Comments
Comment #1
quicksketchI'm not familiar enough with open_basedir to make a recommendation here. After a month with no responses I'm closing this issue, sorry an adequate solution could not be provided.
Comment #2
b777 commentedFor anyone that finds this, it has to due with your sever settings. I was able to fix with a php setting that I set in my 'sites/default/settings.php' file.
ini_set('open_basedir', '/var/www/vhosts/**(my domain)**/httpdocs/');