Warning (2): file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 [APP/Controller/Component/FacebookPhotosComponent.php, line 34]
public function getAlbums() { $url = 'https://graph.facebook.com/POWROF/albums?fields=name,cover_photo,updated_time&access_token='.$this->app_id.'|'.$this->app_secret; $resp = file_get_contents($url);
file_get_contents - [internal], line ??
FacebookPhotosComponent::getAlbums() - APP/Controller/Component/FacebookPhotosComponent.php, line 34
FrontController::galeria() - APP/Controller/FrontController.php, line 2234
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118
Warning (2): file_get_contents(https://graph.facebook.com/POWROF/albums?fields=name,cover_photo,updated_time&access_token=1097727266956263|6acadb482f21a54e5189a8da34987516) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found [APP/Controller/Component/FacebookPhotosComponent.php, line 34]
public function getAlbums() { $url = 'https://graph.facebook.com/POWROF/albums?fields=name,cover_photo,updated_time&access_token='.$this->app_id.'|'.$this->app_secret; $resp = file_get_contents($url);
file_get_contents - [internal], line ??
FacebookPhotosComponent::getAlbums() - APP/Controller/Component/FacebookPhotosComponent.php, line 34
FrontController::galeria() - APP/Controller/FrontController.php, line 2234
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118
Notice (8): Trying to get property of non-object [APP/Controller/Component/FacebookPhotosComponent.php, line 36]
FacebookPhotosComponent::getAlbums() - APP/Controller/Component/FacebookPhotosComponent.php, line 36
FrontController::galeria() - APP/Controller/FrontController.php, line 2234
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118
Warning (2): Invalid argument supplied for foreach() [APP/Controller/FrontController.php, line 2242]
FrontController::galeria() - APP/Controller/FrontController.php, line 2242
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118