Project:FlashVideo
Version:6.x-1.5-rc3
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hello,

I get the following errors/warnings when I try to add a new video. The video works, meaning I can play it, but it gets stored locally rather than getting uploaded to S3. Our account works fine (I've uploaded using the Firefox plugin) and I've double checked the bucket name, and both keys.

I used double asterisks (**) to denote text that I replaced.

warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in **path to**/sites/all/modules/flashvideo/plugins/flashvideo_s3/S3.php on line 1256.

warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in **path to**/sites/all/modules/flashvideo/plugins/flashvideo_s3/S3.php on line 1256.

user warning: S3::putBucket(**my-bucket-name**-..-stored_files-finished_video, public-read, ): [6] Couldn't resolve host '**my-bucket-name**-..-stored_files-finished_video.s3.amazonaws.com' in [path to]/sites/all/modules/flashvideo/plugins/flashvideo_s3/S3.php on line 226.

S3::putBucket(): Unable to create bucket (it may already exist and/or be owned by someone else)

warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in **path to**/sites/all/modules/flashvideo/plugins/flashvideo_s3/S3.php on line 1256.

warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in **path to**/sites/all/modules/flashvideo/plugins/flashvideo_s3/S3.php on line 1256.

user warning: S3::putBucket(**my-bucket-name**-..-stored_files-finished_video, public-read, ): [6] Couldn't resolve host '**my-bucket-name**-..-stored_files-finished_video.s3.amazonaws.com' in **path to**/sites/all/modules/flashvideo/plugins/flashvideo_s3/S3.php on line 226.

S3::putBucket(): Unable to create bucket (it may already exist and/or be owned by someone else)

I believe the open_basedir directive is set because we have our download method, under File System settings in the Drupal core, set to Private. I don't think changing the method to Public is an option for us. Also, another item that jumped out at me was the "Couldn't resolve host '**my-bucket-name**-..-stored_files-finished_video.s3.amazonaws.com'... My bucket name is followed by -..-, which doesn't look right to me.

Let me know if you need more info and thanks a lot!

Comments

#1

Component:Miscellaneous» Code

subscribing

#2

subscribing

#3

I am getting this error. I believe this is a duplicate of one that was posted before that you asked the user to @ the command out. They were using SSL. I am not. My file does get uploaded to my server and to Amazon but the conversion fails.

# Conversion failed.
# warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set

#4

subscribing