(2019-01-04, 10:54 PM)v_2 Wrote: (2019-01-04, 09:40 PM)Dexxa Wrote: Good addon, But sadly its not working :-( i uploaded it to my site and theres nothing that shows up on the admin plugins page to install it?
upload: imdbmovietag.php to your
inc/plugins folder
in the zip package it was uploaded in plugin folder ( notice the missing S )
you also have to make a COPY of imdbmovietag.lang.php
save it as movietag.lang.php and upload it to INC/LANGUAGES/ENGLISH folder
/inc/languages/english/admin/movietag.lang.php folder also
---------------- error if using PHP 5.x ----------------------
The following warnings occurred:
Warning [2] curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set - Line: 147 - File: inc/plugins/imdbmovietag.php PHP 5.5.38 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/plugins/imdbmovietag.php 147 curl_setopt
/inc/plugins/imdbmovietag.php 312 get_movie_data
[PHP] {closure}
/inc/plugins/imdbmovietag.php 312 preg_replace_callback
/inc/class_plugins.php 142 imdbmovietag_start
/inc/class_parser.php 126 pluginSystem->run_hooks
/inc/functions_post.php 774 postParser->parse_message
/showthread.php 1114 build_postbit
Warning [2] curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set - Line: 264 - File: inc/plugins/imdbmovietag.php PHP 5.5.38 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/plugins/imdbmovietag.php 264 curl_setopt
/inc/plugins/imdbmovietag.php 312 get_movie_data
[PHP] {closure}
/inc/plugins/imdbmovietag.php 312 preg_replace_callback
/inc/class_plugins.php 142 imdbmovietag_start
/inc/class_parser.php 126 pluginSystem->run_hooks
/inc/functions_post.php 774 postParser->parse_message
/showthread.php 1114 build_postbit
Warning [2] curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set - Line: 264 - File: inc/plugins/imdbmovietag.php PHP 5.5.38 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/plugins/imdbmovietag.php 264 curl_setopt
/inc/plugins/imdbmovietag.php 312 get_movie_data
[PHP] {closure}
/inc/plugins/imdbmovietag.php 312 preg_replace_callback
/inc/class_plugins.php 142 imdbmovietag_start
/inc/class_parser.php 126 pluginSystem->run_hooks
/inc/functions_post.php 774 postParser->parse_message
/showthread.php 1114 build_postbit
Warning [2] curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set - Line: 264 - File: inc/plugins/imdbmovietag.php PHP 5.5.38 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/plugins/imdbmovietag.php 264 curl_setopt
/inc/plugins/imdbmovietag.php 312 get_movie_data
[PHP] {closure}
/inc/plugins/imdbmovietag.php 312 preg_replace_callback
/inc/class_plugins.php 142 imdbmovietag_start
/inc/class_parser.php 126 pluginSystem->run_hooks
/inc/functions_post.php 774 postParser->parse_message
/showthread.php 1114 build_postbit
Warning [2] curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set - Line: 147 - File: inc/plugins/imdbmovietag.php PHP 5.5.38 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/plugins/imdbmovietag.php 147 curl_setopt
/inc/plugins/imdbmovietag.php 312 get_movie_data
[PHP] {closure}
/inc/plugins/imdbmovietag.php 312 preg_replace_callback
/inc/class_plugins.php 142 imdbmovietag_start
/inc/class_parser.php 126 pluginSystem->run_hooks
/inc/functions_post.php 774 postParser->parse_message
/showthread.php 1114 build_postbit
Warning [2] curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set - Line: 264 - File: inc/plugins/imdbmovietag.php PHP 5.5.38 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/plugins/imdbmovietag.php 264 curl_setopt
/inc/plugins/imdbmovietag.php 312 get_movie_data
[PHP] {closure}
/inc/plugins/imdbmovietag.php 312 preg_replace_callback
/inc/class_plugins.php 142 imdbmovietag_start
/inc/class_parser.php 126 pluginSystem->run_hooks
/inc/functions_post.php 774 postParser->parse_message
/showthread.php 1114 build_postbit
Warning [2] curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set - Line: 264 - File: inc/plugins/imdbmovietag.php PHP 5.5.38 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/plugins/imdbmovietag.php 264 curl_setopt
/inc/plugins/imdbmovietag.php 312 get_movie_data
[PHP] {closure}
/inc/plugins/imdbmovietag.php 312 preg_replace_callback
/inc/class_plugins.php 142 imdbmovietag_start
/inc/class_parser.php 126 pluginSystem->run_hooks
/inc/functions_post.php 774 postParser->parse_message
/showthread.php 1114 build_postbit
Warning [2] curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set - Line: 264 - File: inc/plugins/imdbmovietag.php PHP 5.5.38 (Linux)
NO ERRORS when using PHP version 7.0
-- update --- errors -----
see attachment-image
The SIZE - BB CODE appears around the movie Title ( 1 )
There's those 3 Blank boxes on the right (2)
You should have a folder IMDB in the /images folder and under it it should be a another one for actors. Check if you have permission to write to that folders. Normally the plugin should create the folders and give the permissions.
I will upload a new version of the plugin to get rid of the 'lang file issue'. The rest should work without any issues.
(2019-01-04, 10:54 PM)v_2 Wrote:
---------------- error if using PHP 5.x ----------------------
The following warnings occurred:
Warning [2] curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set - Line: 147 - File: inc/plugins/imdbmovietag.php PHP 5.5.38 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/plugins/imdbmovietag.php 147 curl_setopt
/inc/plugins/imdbmovietag.php 312 get_movie_data
[PHP] {closure}
/inc/plugins/imdbmovietag.php 312 preg_replace_callback
/inc/class_plugins.php 142 imdbmovietag_start
/inc/class_parser.php 126 pluginSystem->run_hooks
/inc/functions_post.php 774 postParser->parse_message
/showthread.php 1114 build_postbit
Warning [2] curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set - Line: 264 - File: inc/plugins/imdbmovietag.php PHP 5.5.38 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/plugins/imdbmovietag.php 264 curl_setopt
/inc/plugins/imdbmovietag.php 312 get_movie_data
[PHP] {closure}
/inc/plugins/imdbmovietag.php 312 preg_replace_callback
/inc/class_plugins.php 142 imdbmovietag_start
/inc/class_parser.php 126 pluginSystem->run_hooks
/inc/functions_post.php 774 postParser->parse_message
/showthread.php 1114 build_postbit
Warning [2] curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set - Line: 264 - File: inc/plugins/imdbmovietag.php PHP 5.5.38 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/plugins/imdbmovietag.php 264 curl_setopt
/inc/plugins/imdbmovietag.php 312 get_movie_data
[PHP] {closure}
/inc/plugins/imdbmovietag.php 312 preg_replace_callback
/inc/class_plugins.php 142 imdbmovietag_start
/inc/class_parser.php 126 pluginSystem->run_hooks
/inc/functions_post.php 774 postParser->parse_message
/showthread.php 1114 build_postbit
Warning [2] curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set - Line: 264 - File: inc/plugins/imdbmovietag.php PHP 5.5.38 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/plugins/imdbmovietag.php 264 curl_setopt
/inc/plugins/imdbmovietag.php 312 get_movie_data
[PHP] {closure}
/inc/plugins/imdbmovietag.php 312 preg_replace_callback
/inc/class_plugins.php 142 imdbmovietag_start
/inc/class_parser.php 126 pluginSystem->run_hooks
/inc/functions_post.php 774 postParser->parse_message
/showthread.php 1114 build_postbit
Warning [2] curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set - Line: 147 - File: inc/plugins/imdbmovietag.php PHP 5.5.38 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/plugins/imdbmovietag.php 147 curl_setopt
/inc/plugins/imdbmovietag.php 312 get_movie_data
[PHP] {closure}
/inc/plugins/imdbmovietag.php 312 preg_replace_callback
/inc/class_plugins.php 142 imdbmovietag_start
/inc/class_parser.php 126 pluginSystem->run_hooks
/inc/functions_post.php 774 postParser->parse_message
/showthread.php 1114 build_postbit
Warning [2] curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set - Line: 264 - File: inc/plugins/imdbmovietag.php PHP 5.5.38 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/plugins/imdbmovietag.php 264 curl_setopt
/inc/plugins/imdbmovietag.php 312 get_movie_data
[PHP] {closure}
/inc/plugins/imdbmovietag.php 312 preg_replace_callback
/inc/class_plugins.php 142 imdbmovietag_start
/inc/class_parser.php 126 pluginSystem->run_hooks
/inc/functions_post.php 774 postParser->parse_message
/showthread.php 1114 build_postbit
Warning [2] curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set - Line: 264 - File: inc/plugins/imdbmovietag.php PHP 5.5.38 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/plugins/imdbmovietag.php 264 curl_setopt
/inc/plugins/imdbmovietag.php 312 get_movie_data
[PHP] {closure}
/inc/plugins/imdbmovietag.php 312 preg_replace_callback
/inc/class_plugins.php 142 imdbmovietag_start
/inc/class_parser.php 126 pluginSystem->run_hooks
/inc/functions_post.php 774 postParser->parse_message
/showthread.php 1114 build_postbit
Warning [2] curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set - Line: 264 - File: inc/plugins/imdbmovietag.php PHP 5.5.38 (Linux)
NO ERRORS when using PHP version 7.0
-- update --- errors -----
see attachment-image
The SIZE - BB CODE appears around the movie Title ( 1 )
There's those 3 Blank boxes on the right (2)
For php 5.x you should install curl sometimes you get only the php 7 version.
the command line is (here for php5.6):
sudo apt-get install php5.6-curl
You also can modify your php.ini to
safe_mode = Off
and delete the open_base_dir
It shouldn't be needed this is the first time when I encounter this kind of errors and I am using the plugin on at least 3 different servers providers. plus one on my own home server.
The new build is out.
- renamed the plugin folder to plugins
- changed all .lang file instances to imdbmovietag.lang.php.
- I haven't added anything related to the php version as it will work with any version if it has curl properly installed.
- I can change the way the IMDB site is parsed (use a different function to parse the site) , but this way is the optimal option.
The new version is 2.1