Results 1 to 10 of 1688

Hybrid View

  1. #1
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Image Handler 4 Support Thread

    @stuff4toys
    that's what we like to hear :-)

    @diva
    Ha ha! you are right. The template files get cleaned up. One 'dumbass idiot point' for me.

    So, the way to re-install is definitely to re-install the whole thing!

  2. #2
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Image Handler 4 Support Thread

    Quote Originally Posted by niccol View Post
    @diva
    Ha ha! you are right. The template files get cleaned up. One 'dumbass idiot point' for me.

    So, the way to re-install is definitely to re-install the whole thing!
    'dumbass idiot' are the last words I'd use to describe you!!
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  3. #3
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,824
    Plugin Contributions
    31

    Default Uninistalling/removing IH3 database entries from an upgraded 1.5

    I only use IH for resizing and watermarks and upgraded to 1.5 without bothering to implement the admin side. Works fine.

    So, if there is no admin page (which contains the IH3 install/uninstall control) how do you uninstall IH3 prior to IH4.?

    Answer: with this script, pasted and run in Admin->Install SQL Patches:
    Code:
    DELETE FROM configuration WHERE 
    configuration_key = 'LARGE_IMAGE_MAX_WIDTH' OR 
    configuration_key = 'LARGE_IMAGE_MAX_HEIGHT' OR 
    configuration_key = 'SMALL_IMAGE_FILETYPE' OR 
    configuration_key = 'SMALL_IMAGE_BACKGROUND' OR 
    configuration_key = 'WATERMARK_SMALL_IMAGES' OR
    configuration_key = 'ZOOM_SMALL_IMAGES' OR 
    configuration_key = 'ZOOM_IMAGE_SIZE' OR 
    configuration_key = 'SMALL_IMAGE_HOTZONE' OR 
    configuration_key = 'SMALL_IMAGE_QUALITY' OR 
    configuration_key = 'MEDIUM_IMAGE_FILETYPE' OR 
    configuration_key = 'MEDIUM_IMAGE_BACKGROUND' OR 
    configuration_key = 'WATERMARK_MEDIUM_IMAGES' OR 
    configuration_key = 'ZOOM_MEDIUM_IMAGES' OR 
    configuration_key = 'MEDIUM_IMAGE_HOTZONE' OR 
    configuration_key = 'MEDIUM_IMAGE_QUALITY' OR 
    configuration_key = 'LARGE_IMAGE_FILETYPE' OR 
    configuration_key = 'LARGE_IMAGE_BACKGROUND' OR 
    configuration_key = 'WATERMARK_LARGE_IMAGES' OR 
    configuration_key = 'LARGE_IMAGE_QUALITY' OR 
    configuration_key = 'WATERMARK_GRAVITY' OR 
    configuration_key = 'ZOOM_GRAVITY' OR 
    configuration_key = 'IH_RESIZE' OR 
    configuration_key = 'SHOW_UPLOADED_IMAGES';
    Maybe this should be in the readme too!
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  4. #4
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Uninistalling/removing IH3 database entries from an upgraded 1.5

    Actually if you look at the my post just above to niccol, the auto-install is supposed to take care of this (removing old deprecated IH image settings and properly registering the IH4 menu).. The part of the aut-installer which removes the deprecated image settings is not working right now when you are installing over a previous version of Image Handler and niccol has generously offered to take a looksee to see why that might be.. The auto-installer does install the IH4 menu just fine when you are installing over a previous version of Image Handler.

    For now I'd rather leave this tip in the support thread until we can get the auto-installer working. In the meantime if it becomes an issue for folks I can refer them to your thread..

    Quote Originally Posted by torvista View Post
    I only use IH for resizing and watermarks and upgraded to 1.5 without bothering to implement the admin side. Works fine.

    So, if there is no admin page (which contains the IH3 install/uninstall control) how do you uninstall IH3 prior to IH4.?

    Answer: with this script, pasted and run in Admin->Install SQL Patches:


    Maybe this should be in the readme too!
    Last edited by DivaVocals; 11 Apr 2012 at 11:03 PM.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  5. #5
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,824
    Plugin Contributions
    31

    Default Re: Uninistalling/removing IH3 database entries from an upgraded 1.5

    the auto-install is supposed to take care of this (removing old deprecated IH image settings and properly registering the IH4 menu)
    The instructions say
    You MUST do a complete uninstall of the hacked up version of Image Handler3
    I found no mention that the IH4 installer cleans up old db entries.
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  6. #6
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,824
    Plugin Contributions
    31

    Default Install/Uninstall process and "backups"

    Just to clarify/please confirm:

    1) the install process copies the mod files into the site, overwriting the original files and making no backups.
    2) the uninstall process copies vanilla 1.5 files into the site.
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  7. #7

    Default Re: Install/Uninstall process and "backups"

    Quote Originally Posted by torvista View Post
    Just to clarify/please confirm:

    1) the install process copies the mod files into the site, overwriting the original files and making no backups.
    2) the uninstall process copies vanilla 1.5 files into the site.
    1. False

    2. False


    The IH4 auto-install process installs IH4 mod files to the cart. Some of those mod files overwrite core files. The auto installer automatically makes backups of those files, which it restores during uninstall.

    Regarding Installation - As stated clearly in the readme install instructions...if you or another mod has made any changes to those files (and it lists what those files are), then you must merge those changes into their IH4 counterparts prior to uploading/installing IH4.

    In other words, when you install, the auto-installer makes backups of the exact file you have in place at the time of the install, but will not incorporate any changes you've made into it's new IH version. You have to do that manually just as you've always had to do.

    Regarding Uninstall - As stated clearly in the readme uninstall instructions...if you or another mod has made any changes to those files since the time that IH4 was installed, then you'll need to make a copy of those changes and put them back in to the file(s) after uninstall.

    In other words, the uninstaller will restore the original file you had in place at the time of install. This would only be a vanilla file if the file was vanilla to begin with at the time of install. Further, if you've made changes since, you will need to manually add those changes back into the file after uninstall just as you've always had to.

    For example, if you're using both IH4 and Zen Lightbox, you would need to reinstall the Zen Lightbox version of the file these two mods share after uninstalling IH4. (This is also in the readme).

    The only thing that has changed with the auto-installer is that the install/uninstall process is done for you (i.e. file are overwritten and the SQL is automatically installed). Everything you used to do manually (file merges and actual uploading) you still will have to do for yourself.

    The same rules apply here as have always applied - always make backups of files that you change.




    -
    Go that extra mile, you never know what's at the end of the road

    Empowerment Sanctuary

  8. #8

    Default Re: Image Handler 4 Support Thread

    the auto-install is supposed to take care of this (removing old deprecated IH image settings and properly registering the IH4 menu)
    The instructions say

    You MUST do a complete uninstall of the hacked up version of Image Handler3
    I found no mention that the IH4 installer cleans up old db entries.
    The first quote from Diva refers to situations where folks install IH4 into a zc150 store that contains remnants of really old (thus the reference to "deprecated") versions of IH. Sometimes when folks upgrade from an earlier version of ZC, they forget to uninstall their outdated mods first, or do partial uninstalls and miss some of the files, and that is what she was referring to there.


    The second quote, from the IH4 instructions, refers to a hacked up and totally unsupported version of IH3 (vs. deprecated code from fully supported previous versions of IH).

    This instruction was included in the readme so that folks who chose to randomly edit IH3 to make it work with ZC150 without regard to full functionality and/or security would be able to upgrade to IH4 without issue.

    Hope that clears it up for you
    Go that extra mile, you never know what's at the end of the road

    Empowerment Sanctuary

 

 

Similar Threads

  1. v158 Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread
    By lat9 in forum All Other Contributions/Addons
    Replies: 749
    Last Post: 20 May 2026, 03:47 PM
  2. Attribute image replaces main product image on select [Support Thread]
    By exoticcorpse in forum All Other Contributions/Addons
    Replies: 176
    Last Post: 14 Dec 2025, 12:55 AM
  3. v139h Image Handler 3 Support Thread (for ZC v1.3.9)
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 1095
    Last Post: 2 Oct 2017, 12:42 PM
  4. v138a Image Handler 2 (for ZC v1.3.8 ONLY) Support
    By timkroeger in forum All Other Contributions/Addons
    Replies: 7098
    Last Post: 12 Oct 2014, 03:48 AM
  5. Image Handler Support Please
    By nadinesky in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 30 Sep 2013, 03:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg