Skip to content

CURLOPT_FOLLOWLOCATION problem #7

@yoyoy

Description

@yoyoy

Bonjour,
j'essaye d'utiliser ce code
$res = $dm->media->info(array('id' => $video->dmId, 'fields' => array('id','meta.title', 'embed_url','frame_ratio','assets.jpeg_thumbnail_source.stream_url','assets.jpeg_thumbnail_small.stream_url','assets.jpeg_thumbnail_medium.stream_url','assets.jpeg_thumbnail_large.stream_url','assets.source.duration', 'created', 'meta.title' ) ));

en local tout est OK
mais une fois en ligne j'ai ce message

Warning: curl_setopt_array(): CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /var/www/vhosts/xxx.com/xxxx/includes/dmcloud/CloudKey.php on line 229

que puis-je faire ?
merci


hello,
I use this code
$res = $dm->media->info(array('id' => $video->dmId, 'fields' => array('id','meta.title', 'embed_url','frame_ratio','assets.jpeg_thumbnail_source.stream_url','assets.jpeg_thumbnail_small.stream_url','assets.jpeg_thumbnail_medium.stream_url','assets.jpeg_thumbnail_large.stream_url','assets.source.duration', 'created', 'meta.title' ) ));

when i work on localhost all si right
but online this is an error message

Warning: curl_setopt_array(): CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /var/www/vhosts/xxx.com/xxxx/includes/dmcloud/CloudKey.php on line 229

what can i do ?
thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions