Page 1 of 2 12 LastLast
Results 1 to 10 of 1688

Hybrid View

  1. #1
    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

  2. #2
    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.

  3. #3
    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!

  4. #4
    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.

  5. #5
    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!

  6. #6
    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.

  7. #7
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,246
    Plugin Contributions
    58

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

    Installing this module some issues have come to light. I was hoping these could be addressed.

    1. The very fact that this module installs/writes files and installer functions/files are not removed post successful installation is not secure.

    I would think that anyone installing this module could certainly and more safely run an SQL patch.

    2. The creating of filenames which have no associated function, such as .bak is a vulnerability and PCI fail.

    There is no need for this as certainly we do not want to be overwriting existing template files anyhow. Detailed merging instructions should likely be included in the place of the "installer"

    Additionally, this thread is not listed in the documentation and should be added, as the instructions for using the installer are quite complicated.... More so than just installing the module without it would be.

    I find it troubling that once installed even, deletion of these .bak files disables the module.

    I am not trying to beat anyone up, but clearly this module is something shop owners need and always have needed... However, it makes no sense to take PCI certified software and in one shot make it vulnerable and PCI fail.

    I would be willing to help out as I can, but I lack the GD/IMageMagick skills to port this to 1.5.0.

    ~Melanie
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  8. #8
    Join Date
    May 2009
    Posts
    222
    Plugin Contributions
    1

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

    Since installing image handler 4 the scrips i had in common/tpl_main_page.php are no longer working. They are still there in the files but its like image handler 4 is preventing them from displaying - any ideas?

  9. #9
    Join Date
    Jan 2012
    Posts
    1
    Plugin Contributions
    0

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

    Hello everybody,
    I am having the same problem that had gruntre69. ( http://www.zen-cart.com/showthread.p...-Thread/page7)
    gruntre69 say that solved the problem with rolled back version of Nicol. Could someone help me too with this please ?

    thank you

  10. #10
    Join Date
    Jul 2007
    Posts
    53
    Plugin Contributions
    0

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

    Quote Originally Posted by gruntre69 View Post
    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???
    Zencart v1.5.0, CKEditor, Zen LightBox

    Hi all, I was getting the same issue and after reading through the entire thread I didn't find the answer. So, a little detective work was in order. Fortunately, php will give you the answer. Notice the errors that are being reported. ie. "CORE FILE OVERWRITE : /hsphere/local/home/wctest/test-waycool.com.au/includes/modules/pages/popup_image_additional/header_php.php was NOT overwritten." First thing that comes to mind is permissions. So I deleted the offending file along with the file ending with -IH and renamed the backup that IH created back to the original file name then change the permissions to read, write, execute (777). You have to delete "YOURADMIN/includes/auto_loaders/config.image_handler.php" and then reload. It may take several times but you will know it worked when the only error you get is, "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."

    I then up loaded and replaced my original Lightbox file that IH had over written. However, this gave me an error on my product pages, " WARNING: An Error occurred, please refresh the page and try again." OK, back to detective work again. Replaced it again with the file that came with IH and now it works. I also have the IH image in the Categories/Products page. Testing now and will follow up if further issues arise.

 

 
Page 1 of 2 12 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: 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