Page 54 of 169 FirstFirst ... 444525354555664104154 ... LastLast
Results 531 to 540 of 1685
  1. #531
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Merging Files

    Quote Originally Posted by niccol View Post
    Some files that IH modifies are core files. This means that IH overwrites the existing files that Zen uses. If your site has no modifications to these files then there are no problems. If your installation has existing modifications to you files then you will have to carefully merge the existing modifications with the modifications that IH makes. There are a number of ways of approaching this.

    As always the best recommendation is to do this on a development version of your site. If you are serious about running your store it is always worth having a second version of the store so that you can experiment on that first. I know that this seems like a lot of work but it really is worth it and does not actually take that much time.

    =======================

    Route 1

    This works for installations that have no modifications.

    Just install IH and it will work. If your admin is in a language other than english then read this thread for instructions.
    =======================

    Route 2

    This works well if you know that you have files to merge and is a good option if you don't know if you have merges to do.

    Install as normal. The installer will create backups of any files it overwrites. So, just go for it. Then check your site. If everything is working well then you are good to go and you didn't need to do merges.

    If problems have been created it probably means that you have merges to do. So, you can look on the server and find the backup versions of the files that have been created. Download the backup version (this will have your previous modifications). Download the active version ( this will have the IH modifications) . Merge these two files and upload the result as the active file.


    =======================

    Route 3

    This is the way to go if you know that you have merges to do.

    Read Diva's post above and see which IH files are equivilant to which Zen files. It is not a complex pattern! Then merge your modifications into the appropriate file in the IH installation files.

    For instance if you have existing modifications in
    /YOUR_ADMIN/includes/modules/category_product_listing.php

    merge them with the installation file
    /YOUR_ADMIN/includes/modules/category_product_listing_IH4.php

    Then install as normal.

    =======================

    What happens during install is this:

    • The files are uploaded to the 'wrong' place.
    • A backup of your existing files is created
    • Then your files are overwritten


    The logic is based on the fact that less experienced users have been known to upload files and overwrite existing file modifications. And those modifications may or may not be correctly backed up. There is potentially no recovery from this. Creating a backup before overwrite means that recovery is possible. However, to allow files to be backed up the IH files cannot be uploaded into the 'right' place because that is potentially destructive. So, they are put in an alternate position and then moved into the right place once the backup has been created.
    Nick if you don't mind I would like to use this nearly verbatim in the readme docs..

    Though there ALREADY is information in the docs that cover file merging (including the table I posted), it does appear that for some there is a bit of uncertainty about how to go about this..
    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.

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

    Default Re: Merging Files

    of course

  3. #533
    Join Date
    Mar 2006
    Posts
    283
    Plugin Contributions
    0

    Default Re: Merging Files

    zc 1.5.0
    We have an automation script that populates our store from a remote feed. It brings in 1 image per product from the remote server and puts them in a directoy ( we define which directory). These images are about 500 x 500 and about 75k.

    Can image handler help automatically create the smaller image of this? I notice my page load times are large because images are being scaled instead of using actually smaller images for the thumbs.

    Thank you
    22 stores and counting! Ive been zenned.

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

    Default Re: Merging Files

    @makenoiz

    yes.

  5. #535
    Join Date
    Mar 2006
    Posts
    283
    Plugin Contributions
    0

    Default Re: Merging Files

    Great... will install tonite!
    22 stores and counting! Ive been zenned.

  6. #536
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default IH4 SQL problem

    Hi Guys,

    I've just been doing an upgrade to a Zen 1.3.7 site to V1.5.1, and have run into a problem I've not experienced before even though I've done many of these.

    The problem is with when I install IH4 I can no longer log into the admin of the site. Greeted with 'an error occurred please refresh the page'.

    The log files reveal:

    [20-Feb-2013 00:36:53] PHP Fatal error: 1064:You have an error in your SQL syntax; check the manual that corresponds to
    your MySQL server version for the right syntax to use near ' 1001, now(), now(), NULL,
    'zen_cfg_select_option(array(''yes'',''no''),')' at line 1 :: INSERT INTO zen_configuration (configuration_id,
    configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id,
    sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'IH resize images', 'IH_RESIZE',
    'no', 'Select either -no- which is old Zen-Cart behaviour or -yes- to activate automatic resizing and caching of images.
    --Note: If you select -no-, all of the Image Handler specific image settings will be unavailable including: image filetype
    selection, background colors, compression, image hover, and watermarking-- If you want to use ImageMagick you have to
    specify the location of the <strong>convert</strong> binary in <em>includes/extra_configures/bmz_image_handler_conf.php
    </em>.', , 1001, now(), now(), NULL, 'zen_cfg_select_option(array(''yes'',''no''),') in
    /home/spotty/public_html_dev/includes/classes/db/mysql/query_factory.php on line 120

    Any ideas what would cause this? Its been bugging me for several hours and need to call it a night. Hopefully with some fresh ideas in the morning.


    Cheers
    Rod

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

    Default Re: IH4 SQL problem

    It is the installer not finding the configuration group id for whatever reason.

    Find this bit of code in your_admin/includes/init_includes/init_image_handler.php

    Code:
        /* Find Config ID of Images */
        $sql = "SELECT configuration_group_id FROM ".TABLE_CONFIGURATION_GROUP." WHERE configuration_group_title='".BOX_CONFIGURATION_IMAGES."' LIMIT 1";
        $result = $db->Execute($sql);
            $im_configuration_id = $result->fields['configuration_group_id'];
    And override it by adding this directly after it.

    Code:
    $im_configuration_id = '4';
    Probably '4' is the configuration id of your images menu item but you could check that before hand if you are feeling perky.

  8. #538
    Join Date
    Feb 2013
    Posts
    19
    Plugin Contributions
    0

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

    I just downloaded Image Handler 4 (latest version posted), and I'm trying to heed the warning to "read everything" (as I always do). I'm unable, though, to open anything other than the main readme page. When I click on the links (such as Install/Uninstall and Configuration), no files open. I searched the forums here, and I searched online to see if the installation and configuration instructions had been posted elsewhere, but I've had no luck.

    I'm sure I'm just doing something silly that's keeping the readme links from working, but danged if I can figure it out. I would appreciate any direction.

    LuneKeltkar

  9. #539
    Join Date
    Jul 2011
    Posts
    17
    Plugin Contributions
    0

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

    Hey everyone,

    I installed zencart 1.5.1 and the latest version of image handler.
    The installation went smooth but Then I got this Message: No Image Handler information found.
    I have plenty of categories and products but for some reason once I select one of those I am send back to the main Image handler page (../..?page=manager).

    Does anyone know what is happening?

  10. #540
    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

    Quote Originally Posted by LuneKeltkar View Post
    I just downloaded Image Handler 4 (latest version posted), and I'm trying to heed the warning to "read everything" (as I always do). I'm unable, though, to open anything other than the main readme page. When I click on the links (such as Install/Uninstall and Configuration), no files open. I searched the forums here, and I searched online to see if the installation and configuration instructions had been posted elsewhere, but I've had no luck.

    I'm sure I'm just doing something silly that's keeping the readme links from working, but danged if I can figure it out. I would appreciate any direction.

    LuneKeltkar
    Yeah.. trying UNZIPPING the file.. You can't read the readme form a zip archive..
    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.

 

 

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: 592
    Last Post: 12 Apr 2024, 09:06 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