View Single Post
  #29  
Old 18th November 2017, 01:08
LeeHowarth LeeHowarth is offline
TT
 
Join Date: Nov 2008
Posts: 100
Default
Quote:
Originally Posted by nexthd View Post
Hello!

I have added this mod but it gave me this error:

Warning: file_get_contents(http://www.omdbapi.com/?i=tt2980516&...tomatoes=false) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden in /membri/*****/backend/IMDB.class.php on line 53

how can I fix it? the url is correct.

this is the line in IMDB.class
Code:
         private function _request($id)
          {                                       
                  $_data = file_get_contents( $this->_getLocation($id) );                                 
                  return $this->_parse($_data);
          }
thanks in advance.

The issue is you now need an api key, this can only be obtained by donating to them, go read their site...
Reply With Quote