Hi,
I've just moved a site form one server to another and have now started getting the following errors when uploading new videos. The full warning is;
* warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /var/www/vhosts/sitename.com/httpdocs/sites/all/modules/flashvideo/plugins/flashvideo_s3/S3.php on line 1256.
Extra info...I'm using SSL, and have created both a vhost.conf as well as a vhost_ssl.conf for certain open_basedir settings as is required for my server. Safe mode is also OFF.
Oh, and this warning is repeated 5 times for one upload.
Has anyone come across this before or have an idea what I may have missed?
Many thanks :)
Comments
Comment #1
attheshow commentedComment #2
travist commentedI have seen this issue before, but have noticed that it only is caused on certain server configurations. Have you tried figuring out what the open_basedir is set too?
One thing you can do is just comment out this line. The line that says...
This line isn't completely necessary to make the module work, so I would just recommend commenting out this line for your installation and see if that works...
If it does, then I will investigate further to see what is causing this command to fail.
Hope this helps.
Travis.
Comment #3
axel pressbutton commentedSorry for the delay in getting back to you Travis...
I've commented out line 1256 in /sites/all/modules/flashvideo/plugins/flashvideo_s3/s3.php and no longer get the error mentioned above.
The videos still aren't showing but i also noticed that prior to, and after commenting out that line also get the following error;