Spotted these php errors.

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/domain.com/httpdocs/sites/all/modules/media_mover/contrib/mm_s3/S3.php on line 1176.

Comments

arthurf’s picture

Assigned: Unassigned » arthurf
Status: Active » Postponed (maintainer needs more info)

Hi-

Looks like this is your php.ini setup. open_basedir is a security setting to prevent PHP from executing/reading/writing things outside of the web root. safe_mode is similar- any chance you can turn these items off?

Here is information on both safe_mode and open_basedir: http://www.php.net/features.safe-mode
Depending on your Apache setup, you maybe able to make the changes in .htaccess, otherwise you probably need to make the fix in php.ini or httpd.conf.

I will add this information to the readme

iaminawe’s picture

Version: 6.x-1.0-alpha3 » 6.x-1.x-dev

Hi Arthur

I am consistently receiving this error and it seems to be preventing files moved to S3 from being correctly linked back to the cck field they came from

Initially this full workflow seemed to work fine for me and then I started receiving this error and have been battling to find out what could be causing it.

Safe mode is off and the hosts of my managed dedicated server do not allow open_basedir to be turned off for security reasons. You can view my phpinfo here http://www.designindaba.com/phpinfo.php

Do you have any suggestions for resolving this under these circumstances?

The issue began for me in beta2 and still happens with the latest dev version.

Thanks
Gregg

missym’s picture

subscribe

arthurf’s picture

This thread is pretty old- MissyM you are still getting this error?

marcomatic’s picture

I received this same error yesterday on my server. Commenting out the open_basedir directive in my apache conf file for the particular site bypassed the problem.