Page 7 of 169 FirstFirst ... 567891757107 ... LastLast
Results 61 to 70 of 1685
  1. #61
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,566
    Plugin Contributions
    30

    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: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

  2. #62

    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

  3. #63

    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

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

    Default Re: Image Handler 4 (for v1.5.x) Support Thread




    All of what she said just above this post..
    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. #65
    Join Date
    Dec 2007
    Posts
    74
    Plugin Contributions
    0

    Default Re: Install/Uninstall process and "backups"

    Quote Originally Posted by ScriptJunkie View Post
    The same rules apply here as have always applied - always make backups of files that you change.
    Sometimes I get the impression that the word "backup" for some people means a lot of work... When it's actually quit easy if you just have to deal with some files. Just copy/rename them from eg. my_file.php to my_file_ORIGINAL.bak or something like that and leave it in the server/folder. Than you always have a backup and you always know where to find it. Works great for me.

    And from what I have seen and understand, this is what the auto-installer is exactly doing the same when files get overwritten

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

    Default Re: Image Handler 4 (for v1.5.x) Support Thread

    Precisely, the installer just does what a human being would do if they were doing the install.
    -- it finds the current template and does that appropriate renaming
    -- if it is going to overwrite a file then it creates a separate version of the overwritten file on the server with a different name.
    -- it runs some sql statements that used to be run when you clicked 'install' ( it needs to do this without a 'install' button because of the changes in the structure of 1.5)

    The uninstaller is a bit different in that reverting to versions of core files is hard to manage when subsequent changes have been made. There is some discussion about how best to do this. Until Zen has a proper plugin architecture then this is going to be an issue. I am not speaking out of turn here because I know that the developers, more than anyone, know that this is needed and are working on it.

    In most cases the uninstaller will work just fine. In cases where there have been other changes to those three core files then some thought may be necessary. In this case we are effectively talking about lightbox mods that interact with IH so have basically created a 'joint' package with IH. Removing a section of that 'joint' package is always going to be a bit interesting. Kind of like making a chocolate chip cookie and then taking the chips out without messing with the rest of the cookie.

  7. #67
    Join Date
    Aug 2005
    Location
    Australia
    Posts
    110
    Plugin Contributions
    1

    Default Re: Image Handler 4 (for v1.5.x) Support Thread

    Hi Guys,

    I get this in the message stack....
    Code:
     Image Handler files all exist in correct positions in the directory structure. 
     CORE FILE OVERWRITE : /hsphere/local/home/wctest/test-waycool.com.au/backoffice/includes/modules/category_product_listing.php was NOT overwritten. 
     CORE FILE OVERWRITE : /hsphere/local/home/wctest/test-waycool.com.au/includes/modules/pages/popup_image/header_php.php was NOT overwritten. 
     CORE FILE OVERWRITE : /hsphere/local/home/wctest/test-waycool.com.au/includes/modules/pages/popup_image_additional/header_php.php was NOT overwritten. 
     TEMPLATE FILE CREATE : /hsphere/local/home/wctest/test-waycool.com.au/includes/modules/strong/additional_images.phpwas NOT created. 
     TEMPLATE FILE CREATE : /hsphere/local/home/wctest/test-waycool.com.au/includes/modules/strong/main_product_image.phpwas NOT created. 
     TEMPLATE FILE CREATE : /hsphere/local/home/wctest/test-waycool.com.au/includes/templates/strong/css/style_imagehover.csswas NOT created. 
     TEMPLATE FILE CREATE : /hsphere/local/home/wctest/test-waycool.com.au/includes/templates/strong/jscript/jscript_imagehover.jswas NOT created. 
     TEMPLATE FILE CREATE : /hsphere/local/home/wctest/test-waycool.com.au/includes/templates/strong/popup_image_additional/tpl_main_page.phpwas NOT created. 
     The auto-loader YOURADMIN/includes/auto_loaders/config.image_handler.php has not been deleted. For Image Handler to work you must delete this file manually. 
     Image Handler has been successfully installed
    I think I followed the instructions but I can't find reference to these errors in the readme. I think I need to manually do stuff that the auto installer missed???
    Cheers all,

    Gruntre69

    WayCool
    Zen is Way Cool too!

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

    Default Re: Image Handler 4 (for v1.5.x) Support Thread

    @gruntree
    Yes, in principle. I would really like to see the site if that is possible. Can you message me with the URL?
    And I'll talk you through how to get this to work.

  9. #69
    Join Date
    Aug 2005
    Location
    Australia
    Posts
    110
    Plugin Contributions
    1

    Default Re: Image Handler 4 (for v1.5.x) Support Thread

    I've just tried to do an uninstall and get the following. But I'll PM you the site details.

    I tried unistalling and I get more message stack errors.
    Makes me think there is some permission or cofig problem because the installer doesn't appear to be working...
    Code:
     ROLLBACK : /hsphere/local/home/wctest/test-waycool.com.au/backoffice/includes/modules/category_product_listing.php was NOT rolled back.  
     ROLLBACK : /hsphere/local/home/wctest/test-waycool.com.au/includes/modules/pages/popup_image/header_php.php was NOT rolled back.  
     ROLLBACK : /hsphere/local/home/wctest/test-waycool.com.au/includes/modules/pages/popup_image_additional/header_php.php was NOT rolled back.  
     not deleted - /hsphere/local/home/wctest/test-waycool.com.au/bmz_cache/.htaccess 
     not deleted - /hsphere/local/home/wctest/test-waycool.com.au/includes/classes/bmz_gif_info.class.php 
     not deleted - /hsphere/local/home/wctest/test-waycool.com.au/includes/classes/bmz_image_handler.class.php 
     not deleted - /hsphere/local/home/wctest/test-waycool.com.au/includes/extra_configures/bmz_image_handler_conf.php 
     not deleted - /hsphere/local/home/wctest/test-waycool.com.au/includes/extra_configures/bmz_io_conf.php 
     not deleted - /hsphere/local/home/wctest/test-waycool.com.au/includes/functions/extra_functions/functions_bmz_image_handler.php 
     not deleted - /hsphere/local/home/wctest/test-waycool.com.au/includes/functions/extra_functions/functions_bmz_io.php 
     not deleted - /hsphere/local/home/wctest/test-waycool.com.au/backoffice/image_handler.php 
     not deleted - /hsphere/local/home/wctest/test-waycool.com.au/backoffice/includes/ih_manager.php 
     not deleted - /hsphere/local/home/wctest/test-waycool.com.au/backoffice/includes/init_includes/init_image_handler.php 
     not deleted - /hsphere/local/home/wctest/test-waycool.com.au/backoffice/images/checkpattern.gif 
     not deleted - /hsphere/local/home/wctest/test-waycool.com.au/backoffice/images/icon_image_handler.gif 
     not deleted - /hsphere/local/home/wctest/test-waycool.com.au/backoffice/images/ih-test.gif 
     not deleted - /hsphere/local/home/wctest/test-waycool.com.au/backoffice/images/ih-test.jpg 
     not deleted - /hsphere/local/home/wctest/test-waycool.com.au/backoffice/images/ih-test.png 
     not deleted - /hsphere/local/home/wctest/test-waycool.com.au/backoffice/includes/extra_configures/bmz_image_handler_conf.php 
     not deleted - /hsphere/local/home/wctest/test-waycool.com.au/backoffice/includes/extra_configures/bmz_io_conf.php 
     not deleted - /hsphere/local/home/wctest/test-waycool.com.au/backoffice/includes/extra_datafiles/image_handler.php 
     not deleted - /hsphere/local/home/wctest/test-waycool.com.au/backoffice/includes/functions/extra_functions/functions_bmz_image_handler.php 
     not deleted - /hsphere/local/home/wctest/test-waycool.com.au/backoffice/includes/functions/extra_functions/functions_bmz_io.php 
     not deleted - /hsphere/local/home/wctest/test-waycool.com.au/backoffice/includes/languages/english/extra_definitions/bmz_image_handler.php 
     not deleted - /hsphere/local/home/wctest/test-waycool.com.au/backoffice/includes/languages/english/extra_definitions/bmz_language_admin.php 
     not deleted - /hsphere/local/home/wctest/test-waycool.com.au/backoffice/includes/modules/category_product_listing.DEFAULT.php.bak 
     not deleted - /hsphere/local/home/wctest/test-waycool.com.au/includes/modules/pages/popup_image/header_php.DEFAULT.php.bak 
     not deleted - /hsphere/local/home/wctest/test-waycool.com.au/includes/modules/pages/popup_image_additional/header_php.DEFAULT.php.bak 
     not deleted - /hsphere/local/home/wctest/test-waycool.com.au/includes/modules/IH_INSTALL/additional_images.php 
     not deleted - /hsphere/local/home/wctest/test-waycool.com.au/includes/modules/IH_INSTALL/main_product_image.php 
     not deleted - /hsphere/local/home/wctest/test-waycool.com.au/includes/templates/IH_INSTALL/css/style_imagehover.css 
     not deleted - /hsphere/local/home/wctest/test-waycool.com.au/includes/templates/IH_INSTALL/css/style_imagehover.css 
     not deleted - /hsphere/local/home/wctest/test-waycool.com.au/includes/templates/IH_INSTALL/jscript/jscript_imagehover.js 
     not deleted - /hsphere/local/home/wctest/test-waycool.com.au/includes/templates/IH_INSTALL/jscript/jscript_imagehover.js 
     not deleted - /hsphere/local/home/wctest/test-waycool.com.au/includes/templates/IH_INSTALL/popup_image_additional/tpl_main_page.php 
     Image Handler has been uninstalled. 
     Image Handler creates back up versions of certain files when it is installed before overwriting them. These files have been left in position for reference. They may be deleted but will not effect the functioning of the shop if you leave them in place.
    I'm working on a test version of this site which is pretty much a newly launched 1.5 install
    Cheers all,

    Gruntre69

    WayCool
    Zen is Way Cool too!

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

    Default Re: Image Handler 4 (for v1.5.x) Support Thread

    I have emailed you. Once we sort this out then I'll post again with a solution.

 

 
Page 7 of 169 FirstFirst ... 567891757107 ... LastLast

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: 582
    Last Post: 18 Feb 2024, 07:53 PM
  2. Attribute image replaces main product image on select [Support Thread]
    By exoticcorpse in forum All Other Contributions/Addons
    Replies: 158
    Last Post: 24 Aug 2020, 05:07 PM
  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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR