Thank you for the suggestion. I typically do renaming with bash shell scripting.
Thank you for the suggestion. I typically do renaming with bash shell scripting.
Go to the IH GitHub repository's "releases" page (https://github.com/DivaVocals/zen_Im...ndler/releases) and click the link for the download of v5.1.3; update the files that have been changed.
Please forgive me but I am asking about how you fixed this issue:
UNDEFINED CONSTANT ERROR Image Handler 5 (for v1.5.6a)
ERROR#1
[22-Apr-2019 20:52:29 America/Chicago] Request URI: /XXX-p-3.html, IP address: 5.9.XX.XX
#1 include(/home/shrimps/public_html/includes/functions/extra_functions/functions_bmz_image_handler.php) called at [/home/shrimps/public_html/includes/modules/extra_functions.php:44]
#2 include(/home/shrimps/public_html/includes/modules/extra_functions.php) called at [/home/shrimps/public_html/includes/init_includes/init_general_funcs.php:42]
#3 require(/home/shrimps/public_html/includes/init_includes/init_general_funcs.php) called at [/home/shrimps/public_html/includes/autoload_func.php:48]
#4 require(/home/shrimps/public_html/includes/autoload_func.php) called at [/home/shrimps/public_html/includes/application_top.php:170]
#5 require(/home/shrimps/public_html/includes/application_top.php) called at [/home/shrimps/public_html/index.php:26]
--> PHP Warning: Use of undefined constant IH_VERSION - assumed 'IH_VERSION' (this will throw an Error in a future version of PHP) in /home/shrimps/public_html/includes/functions/extra_functions/functions_bmz_image_handler.php on line 16.
I do not see any additional IH_VERSION or changes to the IH_VERSION in this file. Thank you!
Can you tell me where IH_VERSION is set? Thank you!
It's set in the plugin's installation script, /YOUR_ADMIN/includes/init_includes/init_image_handler.php, around line 237:
Are you sure you've copied all the required files?Code:// ----- // On an initial install or an upgrade from an IH-version that (er) didn't record an 'IH_VERSION', // create a configuration element that displays the plugin's current version and set that definition // for follow-on upgrade processing. // if (!defined('IH_VERSION')) { $db->Execute( "INSERT INTO " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added, use_function, set_function) VALUES ('IH version', 'IH_VERSION', '" . IH_CURRENT_VERSION . "', 'Displays the currently-installed version of <em>Image Handler</em>.', $cgi, 1000, now(), NULL, 'trim(')" ); define('IH_VERSION', (defined('IH_RESIZE')) ? '?.?.?' : '0.0.0'); }
Hello,
I just unzipped the github download and did nothing else but browse the directory.... one of the files appears to be named incorrectly?
I looked in this directory on the unzip:
Thank you! I think I noticed an issue with that release.... /includes/functions/extra_functions/functions_bmz_image_handler.ph instead of .php ????
Thank you!
Oh sorry, my "invisible" bar was cutting off the last "p"
Bookmarks