Is anyone else getting a "open_basedir restriction in effect" when they are uploading a video, in my case a FLV video? The video uploads fine, but the error is always shown. The filename that is causing the error is my domain name, not an actual file and it errors saying that the file is not within the allowed path(s).
I've already double checked my paths in File System and File Manager - everything looks correct. Anybody got any other ideas?
Comments
Comment #1
fax8 commentedare you using php in safe_mode ?
Comment #2
vm commentedclosing for lack of follow up
Comment #3
Anonymous (not verified) commentedsince I upgraded from 6.x.4.x I have following error when I try to save new Transcoders parameters in /admin/settings/video/transcoders.
warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/usr/bin/ffmpeg) is not within the allowed path(s): (/var/www/vhosts/snowpedia.it/httpdocs:/tmp) in /var/www/vhosts/snowpedia.it/httpdocs/sites/all/modules/video/transcoders/video_localcommand.inc on line 554.
The file /usr/bin/ffmpeg does not exist.
warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/usr/bin/qt-faststart) is not within the allowed path(s): (/var/www/vhosts/snowpedia.it/httpdocs:/tmp) in /var/www/vhosts/snowpedia.it/httpdocs/sites/all/modules/video/transcoders/video_localcommand.inc on line 563.
The file /usr/bin/qt-faststart does not exist.
warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/usr/bin/flvtool2) is not within the allowed path(s): (/var/www/vhosts/snowpedia.it/httpdocs:/tmp) in /var/www/vhosts/snowpedia.it/httpdocs/sites/all/modules/video/transcoders/video_localcommand.inc on line 569.
The file /usr/bin/flvtool2 does not exist.
Comment #4
Jorrit commentedPlease do not reuse very old issues. The chances that your issue has any relation to an issue of three years old in another version are very slim.
What version did you use before you upgraded? What version did you upgrade to? Do you have any control over the PHP settings on your host?
Comment #5
Anonymous (not verified) commentedComment #6
Anonymous (not verified) commentedciao Jorrit, sorry for reopening.
I upgraded from 6.x-4.11 to Video 6.x-5.1. Regarding PHP settings I can just put data into .htacces file.
thanks in advance
Comment #7
Jorrit commentedDid you use FlvTool and/or qt-faststart before you upgraded?
Only if you use PHP 5.3 or newer, you can add /usr/bin to the open_basedir variable in .htaccess.
Comment #8
Anonymous (not verified) commentedI was using qt-faststart before upgrading. I'm actually using PHP Version 5.3.6.
Comment #9
Jorrit commentedHave you tried overriding the open_basedir variable?
Comment #10
Anonymous (not verified) commentedproblem solved, the issue magically disappeared. thanks for your support
Comment #11
Jorrit commentedOK, great.