tang35
Forum Replies Created
-
Forum: Plugins
In reply to: [My Movie Database] Not good language descriptionHi,
yes you’re right I found the solution by modifying the file :
/plugins/my-movie-database/core/myMovieDatabase.jsquery = “?api_key=” + theMovieDb.common.api_key + “&language=fr-FR”;
you had to put 2 times FR for it to work…
see you.
Forum: Plugins
In reply to: [My Movie Database] Uncaught ReferenceError: mmdbmovie__t is not definedHi,
It’s OK now 🙂
I modified the ligne 192, of the file
wp-content/plugins/my-movie-database/core/TemplateFiles.php
with the option http 1.1Before:
public static function getJsonFileContents($path, $filename) {
return file_get_contents(self::getPrivateFile($path, $filename));
}After:
public static function getJsonFileContents($path, $filename) {
return file_get_contents(self::getPrivateFile($path, $filename), false, stream_context_create(array(‘http’ => array(‘protocol_version’ => 1.1,))));
}If it can help someone else ^^
Forum: Plugins
In reply to: [My Movie Database] Uncaught ReferenceError: mmdbmovie__t is not definedHi,
it seems that the problem comes from my internet host, which blocks the http 1.0 protocol used by the file_get_contents request
I am looking for a workaround with the option $contextBut for now, i can’t do it 🙁