Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Flickrservice error


Go to End


1309 Views

Avatar
breandano

Community Member, 7 Posts

30 April 2009 at 10:49pm

Hi Guys,

I've installed the flickrservice on my live site, and have changed the

function connect($subURL){
$url = $this->constructURL() . $subURL;

to

function connect(){
$url = $this->constructURL() ; within restfulservice.php, as an error was being flagged.

On my dev server, the Flickr module works well, however, on the live server, I am now getting an error

'FATAL ERROR: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set
At line 94 in /var/www/vhosts/muscrai.ie/httpdocs/sapphire/api/RestfulService.php'

according to my hosting providers, Curl has been installed on the server.

Any ideas would be much appreciated!

Breandan