Hi --
I cannot create containers because of this warning:
warning: curl_setopt_array() [function.curl-setopt-array]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/wpvids/domains/example.com/public_html/sites/all/modules/storage_api/services/s3/storage_s3.module on line 127.
Here is the code in question:
$ch = curl_init('http://' . $bucket . 's3.amazonaws.com' . $object_name);
curl_setopt_array($ch, $curl_options);
$transfer = curl_exec($ch);
$result += curl_getinfo($ch);
curl_close($ch);
This is from the .info file:
; $Id: storage_api.info,v 1.2.4.2 2009/04/29 20:09:03 jbrown Exp $
name = Storage API
description = "Storage module."
package = Storage
dependencies[] = mimedetect
core = 6.x
php = 5.0
I am pulling out my hair. I would appreciate any advice!
Thanks --
Missy.
Comments
Comment #1
jbrown commentedPlease check your configuration. safe_mode is not suported by drupal.
Also check open_basedir.
Comment #2
visualfox commentedIf you are using plesk this article should help you with disabling open_basedir
http://blog.serverbuddies.com/disable-open_basedir-in-plesk/
Comment #3
jbrown commentedComment #4
salvisI don't really want to disable open_basedir because I think it's a valuable security feature.
Can this not be made compatible with open_basedir?
For me it's Local Storage and video transcoding resulting in
Comment #5
perignon commentedI am a new co-maintainer for Storage_API. Drupal 6 is coming toward end of life as soon as D8 is released which should be by the end of 2014. Due to that, I am going to be closing all 6.x issues as it's a hurdle too far to overcome with the amount of issues in the queue against this module.