News
-
Contact
-
Links
-
Warning (2): file_get_contents(http://api.soundcloud.com/users/klopfa/tracks.json?client_id=58YRe15va1SrhGaOFxZrA&offset=0&limit=1&order=created_at) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found [APP/models/album.php, line 170]
Code | Context$offset = ($query['page']-1) * $query['limit'];
$url = sprintf("http://api.soundcloud.com/users/%s/tracks.json?client_id=58YRe15va1SrhGaOFxZrA&offset=%d&limit=%d&order=created_at", $query['username'], $offset, $query['limit']);
$soundcloud_response = json_decode(file_get_contents($url));
$state = "after" $query = array( "username" => "klopfa", "page" => 1, "limit" => 1 ) $results = array() $url = "http://api.soundcloud.com/users/klopfa/tracks.json?client_id=58YRe15va1SrhGaOFxZrA&offset=0&limit=1&order=created_at" $offset = 0 $http_response_header = array( "HTTP/1.1 404 Not Found", "Content-Type: application/json;charset=utf-8", "Content-Length: 48", "Connection: close", "Date: Fri, 13 Apr 2018 15:42:32 GMT", "Access-Control-Expose-Headers: Date", "Access-Control-Allow-Origin: *", "Access-Control-Allow-Headers: Accept, Authorization, Content-Type, Origin", "Access-Control-Allow-Methods: GET, PUT, POST, DELETE", "Cache-Control: private, max-age=0, must-revalidate", "Cache-Control: private, max-age=0", "Server: am/2", "X-Cache: Error from cloudfront", "Via: 1.1 10e95c517e657ad53448fce5195e9cba.cloudfront.net (CloudFront)", "X-Amz-Cf-Id: LsJFwQhltXHyhH2LcKznwme1L10R4mm27Nc3Qv9MYKFfd3CdM-RNHA==" )
file_get_contents - [internal], line ?? Album::_findSoundcloud() - APP/models/album.php, line 170 Album::sideBar() - APP/models/album.php, line 409 include - APP/views/elements/view/albums.ctp, line 4 View::_render() - CORE/cake/libs/view/view.php, line 736 View::element() - CORE/cake/libs/view/view.php, line 397 include - APP/views/elements/view/sidebar.ctp, line 12 View::_render() - CORE/cake/libs/view/view.php, line 736 View::element() - CORE/cake/libs/view/view.php, line 397 include - APP/tmp/cache/views/klopfa_photoalbums.php, line 116 View::renderCache() - CORE/cake/libs/view/view.php, line 541 Dispatcher::cached() - CORE/cake/dispatcher.php, line 543 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 113 [main] - APP/webroot/index.php, line 83
Warning (2): Invalid argument supplied for foreach() [APP/models/album.php, line 171]
Code | Context$site = $this->Site->findById($site_id);
if(!empty($site['Site']['soundcloud'])){
$albums = $this->_findSoundcloud('after', array('username'=>$site['Site']['soundcloud'], 'page'=>1, 'limit'=>$limit), null);
$state = "after" $query = array( "username" => "klopfa", "page" => 1, "limit" => 1 ) $results = array() $url = "http://api.soundcloud.com/users/klopfa/tracks.json?client_id=58YRe15va1SrhGaOFxZrA&offset=0&limit=1&order=created_at" $offset = 0 $http_response_header = array( "HTTP/1.1 404 Not Found", "Content-Type: application/json;charset=utf-8", "Content-Length: 48", "Connection: close", "Date: Fri, 13 Apr 2018 15:42:32 GMT", "Access-Control-Expose-Headers: Date", "Access-Control-Allow-Origin: *", "Access-Control-Allow-Headers: Accept, Authorization, Content-Type, Origin", "Access-Control-Allow-Methods: GET, PUT, POST, DELETE", "Cache-Control: private, max-age=0, must-revalidate", "Cache-Control: private, max-age=0", "Server: am/2", "X-Cache: Error from cloudfront", "Via: 1.1 10e95c517e657ad53448fce5195e9cba.cloudfront.net (CloudFront)", "X-Amz-Cf-Id: LsJFwQhltXHyhH2LcKznwme1L10R4mm27Nc3Qv9MYKFfd3CdM-RNHA==" ) $soundcloud_response = null
Album::_findSoundcloud() - APP/models/album.php, line 171 Album::sideBar() - APP/models/album.php, line 409 include - APP/views/elements/view/albums.ctp, line 4 View::_render() - CORE/cake/libs/view/view.php, line 736 View::element() - CORE/cake/libs/view/view.php, line 397 include - APP/views/elements/view/sidebar.ctp, line 12 View::_render() - CORE/cake/libs/view/view.php, line 736 View::element() - CORE/cake/libs/view/view.php, line 397 include - APP/tmp/cache/views/klopfa_photoalbums.php, line 116 View::renderCache() - CORE/cake/libs/view/view.php, line 541 Dispatcher::cached() - CORE/cake/dispatcher.php, line 543 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 113 [main] - APP/webroot/index.php, line 83
Music