[Warning] curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set GET /foto-s/ Line 103 in /home/dirk/domains/meifeest.com/public_html/sapphire/api/RestfulService.php Source 94 95 } else { 96 $ch = curl_init(); 97 $timeout = 5; 98 $useragent = "SilverStripe/2.2"; 99 curl_setopt($ch, CURLOPT_URL, $url); 100 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 101 curl_setopt($ch, CURLOPT_USERAGENT, $useragent); 102 curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout); 103 curl_setopt($ch, CURLOPT_FOLLOWLOCATION,1); 104 curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $method); 105 106 // Add headers 107 if($this->customHeaders) { 108 $headers = array_merge((array)$this->customHeaders, (array)$headers); 109 } Trace * curl_setopt(Resource id #130,52,1) Line 103 of RestfulService.php * RestfulService->request() Line 60 of RestfulService.php * RestfulService->connect() Line 98 of FlickrService.php * FlickrService->User(meifeest) Line 65 of FlickrService.php * FlickrService->getPhotos(,meifeest,12,1,interestingness-desc) Line 38 of FlickrWidget.php * FlickrWidget->Photos() * call_user_func_array(Array,Array) Line 319 of ViewableData.php * ViewableData->obj(Photos) Line 7 of .cache.home.dirk.domains.meifeest.com.public_html.flickrservice-v0.2.templates.FlickrWidget.ss * include(/home/dirk/domains/meifeest.com/public_html/silverstripe-cache/.cache.home.dirk.domains.meifeest.com.public_html.flickrservice-v0.2.templates.FlickrWidget.ss) Line 354 of SSViewer.php * SSViewer->process(FlickrWidget) Line 774 of ViewableData.php * ViewableData->renderWith(FlickrWidget) Line 37 of Widget.php * Widget->Content() * call_user_func_array(Array,Array) Line 409 of ViewableData.php * ViewableData->XML_val(Content,,1) Line 12 of .cache.home.dirk.domains.meifeest.com.public_html.sapphire.templates.WidgetHolder.ss * include(/home/dirk/domains/meifeest.com/public_html/silverstripe-cache/.cache.home.dirk.domains.meifeest.com.public_html.sapphire.templates.WidgetHolder.ss) Line 354 of SSViewer.php * SSViewer->process(FlickrWidget) Line 774 of ViewableData.php * ViewableData->renderWith(WidgetHolder) Line 33 of Widget.php * Widget->WidgetHolder() * call_user_func_array(Array,Array) Line 409 of ViewableData.php * ViewableData->XML_val(WidgetHolder,,1) Line 11 of .cache.home.dirk.domains.meifeest.com.public_html.sapphire.templates.WidgetArea.ss * include(/home/dirk/domains/meifeest.com/public_html/silverstripe-cache/.cache.home.dirk.domains.meifeest.com.public_html.sapphire.templates.WidgetArea.ss) Line 354 of SSViewer.php * SSViewer->process(WidgetArea) Line 774 of ViewableData.php * ViewableData->renderWith(WidgetArea) Line 22 of WidgetArea.php * WidgetArea->forTemplate() Line 425 of ViewableData.php * ViewableData->XML_val(Sidebar,,1) Line 158 of .cache.home.dirk.domains.meifeest.com.public_html.themes.nature.templates.Layout.Page.ss * include(/home/dirk/domains/meifeest.com/public_html/silverstripe-cache/.cache.home.dirk.domains.meifeest.com.public_html.themes.nature.templates.Layout.Page.ss) Line 354 of SSViewer.php * SSViewer->process(Page_Controller) Line 346 of SSViewer.php * SSViewer->process(Page_Controller) Line 175 of Controller.php * Controller->handleAction(HTTPRequest) Line 107 of RequestHandler.php * RequestHandler->handleRequest(HTTPRequest) Line 122 of Controller.php * Controller->handleRequest(HTTPRequest) Line 28 of ModelAsController.php * ModelAsController->handleRequest(HTTPRequest) Line 277 of Director.php * Director::handleRequest(HTTPRequest,Session) Line 121 of Director.php * Director::direct(foto-s/) Line 115 of main.php