FATAL ERROR: Missing argument 1 for RestfulService::connect(), called in /var/www/www.leggerestrutture.it/youtubeservice-v0.1/code/YoutubeService.php on line 51 and defined
At line 68 in /var/www/www.leggerestrutture.it/sapphire/api/RestfulService.php
RestfulService->connect()
line 51 of YoutubeService.php
YoutubeService->getVideosFeed(videos,Array,10,1,updated)
line 138 of YoutubeService.php
YoutubeService->getVideosUploadedByUser(miiprod,10,1,updated)
line 61 of YoutubeGallery.php
YoutubeGallery->YoutubeVideos()
call_user_func_array(Array,Array)
line 177 of Object.php
Object->__call(YoutubeVideos,Array)
YoutubeGallery_Controller->YoutubeVideos()
line 105 of YoutubeGallery.php
YoutubeGallery_Controller->Content()
call_user_func_array(Array,Array)
line 404 of ViewableData.php
ViewableData->XML_val(Content,,1)
line 17 of .cache.var.www.www.leggerestrutture.it.themes.earthling.templates.Layout.Page.ss
include(/var/www/www.leggerestrutture.it/silverstripe-cache/.cache.var.www.www.leggerestrutture.it.themes.earthling.templates.Layout.Page.ss)
line 197 of SSViewer.php
SSViewer->process(YoutubeGallery_Controller)
line 189 of SSViewer.php
SSViewer->process(YoutubeGallery_Controller)
line 296 of Controller.php
Controller->defaultAction(index,Array)
line 267 of Controller.php
Controller->run(Array)
line 22 of ModelAsController.php
ModelAsController->run(Array)
line 104 of Director.php
Director::direct(video-2/)
line 158 of main.php
FATAL ERROR: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set
At line 90 in /var/www/www.leggerestrutture.it/sapphire/api/RestfulService.php
curl_setopt(Resource id #125,52,1)
line 90 of RestfulService.php
RestfulService->connect()
line 51 of YoutubeService.php
YoutubeService->getVideosFeed(videos,Array,10,1,updated)
line 138 of YoutubeService.php
YoutubeService->getVideosUploadedByUser(miiprod,10,1,updated)
line 61 of YoutubeGallery.php
YoutubeGallery->YoutubeVideos()
call_user_func_array(Array,Array)
line 177 of Object.php
Object->__call(YoutubeVideos,Array)
YoutubeGallery_Controller->YoutubeVideos()
line 105 of YoutubeGallery.php
YoutubeGallery_Controller->Content()
call_user_func_array(Array,Array)
line 404 of ViewableData.php
ViewableData->XML_val(Content,,1)
line 17 of .cache.var.www.www.leggerestrutture.it.themes.earthling.templates.Layout.Page.ss
include(/var/www/www.leggerestrutture.it/silverstripe-cache/.cache.var.www.www.leggerestrutture.it.themes.earthling.templates.Layout.Page.ss)
line 197 of SSViewer.php
SSViewer->process(YoutubeGallery_Controller)
line 189 of SSViewer.php
SSViewer->process(YoutubeGallery_Controller)
line 296 of Controller.php
Controller->defaultAction(index,Array)
line 267 of Controller.php
Controller->run(Array)
line 22 of ModelAsController.php
ModelAsController->run(Array)
line 104 of Director.php
Director::direct(video-2/)
line 158 of main.php
http://gdata.youtube.com/feeds/videos?author=miiprod&max-results=10&start-index=1&orderby=updated
/var/www/www.leggerestrutture.it/silverstripe-cache
9cb944e267a7bf1380e4f558581f3af9
/var/www/www.leggerestrutture.it/silverstripe-cache/9cb944e267a7bf1380e4f558581f3af9
5
SilverStripe/2.2