Re: Image Handler 5 (for v1.5.5) Support Thread
I am doing an upgrade to a site that previously had IH installed - assuming it is "4" - but weirdly enough does not show in the Tools menu - and is not showing in the 1.5.6C tools menu either. (I wanted to give you exact version on live site running zc 1.5.4).
I just glanced through a few admin files in the V 5.1.4 that I installed on the new site to see if I could find the page registration coding so it will show up under the tools menu - can you post it here? THANKS
I am hoping by being able to uninstall and reinstall that the image hover will work on the dev site, as it is not working right now.
Quote:
Originally Posted by
lat9
The most recent version is 5.1.4. Give that a shot to see if your issue(s) have been resolved in that release.
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
stellarweb
I am doing an upgrade to a site that previously had IH installed - assuming it is "4" - but weirdly enough does not show in the Tools menu - and is not showing in the 1.5.6C tools menu either. (I wanted to give you exact version on live site running zc 1.5.4).
I just glanced through a few admin files in the V 5.1.4 that I installed on the new site to see if I could find the page registration coding so it will show up under the tools menu - can you post it here? THANKS
I am hoping by being able to uninstall and reinstall that the image hover will work on the dev site, as it is not working right now.
Judy, what version of Zen Cart were you upgrading from?
The admin-menu addition is performed by IH's /admin/init_includes/init_image_handler.php on an initial installation and/or where the setting IH_RESIZE does not currently exist:
Code:
// -----
// Register the Image Handler tool within the Zen Cart admin menus.
//
if (!zen_page_key_exists('configImageHandler4')) {
zen_register_admin_page('configImageHandler4', 'BOX_TOOLS_IMAGE_HANDLER', 'FILENAME_IMAGE_HANDLER', '', 'tools', 'Y', 14);
}
Re: Image Handler 5 (for v1.5.5) Support Thread
Image handler 5.1.4 running on ZC 1.5.6c, PHP7.3
I'm getting a warning in the log file when logging in to admin.
PHP Warning: Use of undefined constant IH_VERSION - assumed 'IH_VERSION' (this will throw an Error in a future version of PHP) in /Users/steph/Developer/jsc156c/Smock-Lsl-tWirl/includes/languages/english/extra_definitions/image_handler_extra_definitions.php on line 25.
Line 25 is
define('ICON_IMAGE_HANDLER', 'Image Handler ' . IH_VERSION);
What is the correct fix for this as IH_VERSION is a database stored define?
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
strelitzia
Image handler 5.1.4 running on ZC 1.5.6c, PHP7.3
I'm getting a warning in the log file when logging in to admin.
PHP Warning: Use of undefined constant IH_VERSION - assumed 'IH_VERSION' (this will throw an Error in a future version of PHP) in /Users/steph/Developer/jsc156c/Smock-Lsl-tWirl/includes/languages/english/extra_definitions/image_handler_extra_definitions.php on line 25.
Line 25 is
define('ICON_IMAGE_HANDLER', 'Image Handler ' . IH_VERSION);
What is the correct fix for this as IH_VERSION is a database stored define?
Did you upgrade from a previous version of Image Handler, or was this a fresh install? If an upgrade, from what version?
Re: Image Handler 5 (for v1.5.5) Support Thread
Re: Image Handler 5 (for v1.5.5) Support Thread
Is that just one instance of that log or is this occurring each time you refresh the admin screen?
Re: Image Handler 5 (for v1.5.5) Support Thread
I've just submitted IH v5.1.5 for review by the plugin moderators and will post back here when it's available for download.
This release contains the changes associated with the following GitHub issues:
#174: Missing IH_VERSION logged on initial installation
#175: Undefined offset 5 logged on initial installation (missing image-zoom-on-hover description).
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
lat9
Is that just one instance of that log or is this occurring each time you refresh the admin screen?
I actually had four instances of this error. But it doesn't appear to be generating it now.
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
lat9
I've just submitted IH v5.1.5 for review by the plugin moderators and will post back here when it's available for download.
This release contains the changes associated with the following GitHub issues:
#174: Missing IH_VERSION logged on initial installation
#175: Undefined offset 5 logged on initial installation (missing image-zoom-on-hover description).
Now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2169
Re: Image Handler 5 images missing after upgrade from 4 to IH5
Upgraded from v4_3_2 to v_5_1_2 Zen cart upgraded from 1.5.0 to 1.5.6a Template modified sheffield blue
First some background info. The v_4.3.2 version for some reason removed all images from images folder, this I have found no explanation. Now they reside only in bmz_cache folder and with hashed filenames. On old site v.4.3.2 otherwise worked and images got watermarked and resized which is the reason it was installed in the first place.
After upgrade only few images are visible and we currently have 66K of images so this is not a small problem to us. I have tried to upload images to images folder and they still not come visible. Also uploaded old shops bmz_cache folder to 1.5.6a with no luck.
I turned on debugging and get following:
Code:
2019-07-30 16:24:33: (/index.php?main_page=index&cPath=860) __constructor for /homez.517/autodrac/www/images/categories/astinlautaaudiq3.jpg, called by /home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php at line number 106array (
0 =>
array (
'file' => '/home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php',
'line' => 106,
'function' => '__construct',
'class' => 'ih_image',
'type' => '->',
),
)
calculate_size, file does not exist.
resizing is allowed.
get_resized_image(100, 50, , )
calculate_size, file does not exist.
... returning images/categories/astinlautaaudiq3.jpg
2019-07-30 16:24:33: __constructor for /homez.517/autodrac/www/images/topw221keula.jpg, called by /home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php at line number 106array (
0 =>
array (
'file' => '/home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php',
'line' => 106,
'function' => '__construct',
'class' => 'ih_image',
'type' => '->',
),
)
calculate_size, file does not exist.
resizing is allowed.
get_resized_image(100, 50, , )
calculate_size, file does not exist.
... returning images/topw221keula.jpg
2019-07-30 16:24:33: __constructor for /homez.517/autodrac/www/images/categories/aledvaloparitrekisterikilpi.jpg, called by /home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php at line number 106array (
0 =>
array (
'file' => '/home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php',
'line' => 106,
'function' => '__construct',
'class' => 'ih_image',
'type' => '->',
),
)
calculate_size, file does not exist.
resizing is allowed.
get_resized_image(100, 50, , )
calculate_size, file does not exist.
... returning images/categories/aledvaloparitrekisterikilpi.jpg
2019-07-30 16:24:33: __constructor for /homez.517/autodrac/www/images/categories/retwet536556sgtuh.jpg, called by /home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php at line number 106array (
0 =>
array (
'file' => '/home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php',
'line' => 106,
'function' => '__construct',
'class' => 'ih_image',
'type' => '->',
),
)
calculate_size, file does not exist.
resizing is allowed.
get_resized_image(100, 50, , )
calculate_size, file does not exist.
... returning images/categories/retwet536556sgtuh.jpg
2019-07-30 16:24:33: __constructor for /homez.517/autodrac/www/images/categories/apuskurinsuojarosteri.jpg, called by /home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php at line number 106array (
0 =>
array (
'file' => '/home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php',
'line' => 106,
'function' => '__construct',
'class' => 'ih_image',
'type' => '->',
),
)
calculate_size, file does not exist.
resizing is allowed.
get_resized_image(100, 50, , )
calculate_size, file does not exist.
... returning images/categories/apuskurinsuojarosteri.jpg
2019-07-30 16:24:33: __constructor for /homez.517/autodrac/www/images/categories/ertwtgttwrye657w242afg.jpg, called by /home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php at line number 106array (
0 =>
array (
'file' => '/home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php',
'line' => 106,
'function' => '__construct',
'class' => 'ih_image',
'type' => '->',
),
)
calculate_size, file does not exist.
resizing is allowed.
get_resized_image(100, 50, , )
calculate_size, file does not exist.
... returning images/categories/ertwtgttwrye657w242afg.jpg
2019-07-30 16:24:33: __constructor for /homez.517/autodrac/www/images/pixel_trans.gif, called by /home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php at line number 106array (
0 =>
array (
'file' => '/home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php',
'line' => 106,
'function' => '__construct',
'class' => 'ih_image',
'type' => '->',
),
)
calculate_size, file does not exist.
resizing is allowed.
get_resized_image(100, 50, , )
calculate_size, file does not exist.
... returning images/pixel_trans.gif
2019-07-30 16:24:33: __constructor for /homez.517/autodrac/www/images/pixel_trans.gif, called by /home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php at line number 106array (
0 =>
array (
'file' => '/home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php',
'line' => 106,
'function' => '__construct',
'class' => 'ih_image',
'type' => '->',
),
)
calculate_size, file does not exist.
resizing is allowed.
get_resized_image(100, 50, , )
calculate_size, file does not exist.
... returning images/pixel_trans.gif
2019-07-30 16:24:33: __constructor for /homez.517/autodrac/www/images/pixel_trans.gif, called by /home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php at line number 106array (
0 =>
array (
'file' => '/home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php',
'line' => 106,
'function' => '__construct',
'class' => 'ih_image',
'type' => '->',
),
)
calculate_size, file does not exist.
resizing is allowed.
get_resized_image(100, 50, , )
calculate_size, file does not exist.
... returning images/pixel_trans.gif
2019-07-30 16:24:33: __constructor for /homez.517/autodrac/www/images/pixel_trans.gif, called by /home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php at line number 106array (
0 =>
array (
'file' => '/home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php',
'line' => 106,
'function' => '__construct',
'class' => 'ih_image',
'type' => '->',
),
)
calculate_size, file does not exist.
resizing is allowed.
get_resized_image(100, 50, , )
calculate_size, file does not exist.
... returning images/pixel_trans.gif
2019-07-30 16:24:33: __constructor for /homez.517/autodrac/www/images/pixel_trans.gif, called by /home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php at line number 106array (
0 =>
array (
'file' => '/home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php',
'line' => 106,
'function' => '__construct',
'class' => 'ih_image',
'type' => '->',
),
)
calculate_size, file does not exist.
resizing is allowed.
get_resized_image(100, 50, , )
calculate_size, file does not exist.
... returning images/pixel_trans.gif
2019-07-30 16:24:33: __constructor for /homez.517/autodrac/www/images/pixel_trans.gif, called by /home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php at line number 106array (
0 =>
array (
'file' => '/home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php',
'line' => 106,
'function' => '__construct',
'class' => 'ih_image',
'type' => '->',
),
)
calculate_size, file does not exist.
resizing is allowed.
get_resized_image(100, 50, , )
calculate_size, file does not exist.
... returning images/pixel_trans.gif
2019-07-30 16:24:33: __constructor for /homez.517/autodrac/www/images/pixel_trans.gif, called by /home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php at line number 106array (
0 =>
array (
'file' => '/home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php',
'line' => 106,
'function' => '__construct',
'class' => 'ih_image',
'type' => '->',
),
)
calculate_size, file does not exist.
resizing is allowed.
get_resized_image(100, 50, , )
calculate_size, file does not exist.
... returning images/pixel_trans.gif
2019-07-30 16:24:33: __constructor for /homez.517/autodrac/www/images/pixel_trans.gif, called by /home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php at line number 106array (
0 =>
array (
'file' => '/home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php',
'line' => 106,
'function' => '__construct',
'class' => 'ih_image',
'type' => '->',
),
)
calculate_size, file does not exist.
resizing is allowed.
get_resized_image(100, 50, , )
calculate_size, file does not exist.
... returning images/pixel_trans.gif
we are very nervous about this. Every bit of help is highly appreciated.