Page 164 of 169 FirstFirst ... 64114154162163164165166 ... LastLast
Results 1,631 to 1,640 of 1685
  1. #1631
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,660
    Plugin Contributions
    11

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

    @cubmanky:

    in includes/classes/navigation_history.php, lines 32-34 change as follows:

    PHP Code:
    //from
      
    function add_current_page() {
        global 
    $request_type$cPath;
        
    $get_vars "";
    //to
      
    function add_current_page() {
        global 
    $request_type$cPath;
        
    $get_vars = array(); 
    lets us know if that fixes it!

    best.
    author of square Webpay. called the savior by the chief bottle washer...
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    available for hire.

  2. #1632
    Join Date
    Jan 2014
    Posts
    216
    Plugin Contributions
    0

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

    Someone pointed out that I was using a .JPG and changed it to lower case and it worked.

  3. #1633
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,660
    Plugin Contributions
    11

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

    Quote Originally Posted by cubmanky View Post
    Someone pointed out that I was using a .JPG and changed it to lower case and it worked.
    that may be true, but it has nothing to do with the error message that you have posted.

    you have an illegal string offset.

    my guess is that you are running php7 on a v154 site. which is not recommended. see:

    https://www.zen-cart.com/content.php...o-run-zen-cart

    php7 handles strings/arrays differently than earlier versions.

    the ZC team addressed these issues in ZC v155.

    you can try running php5.6 and it could address all of the issues you are having. else you can update, or you can try my fix.

    if you are currently running less than php7, and still experiencing these issues, i will crawl back into the hole from whence i entered....
    author of square Webpay. called the savior by the chief bottle washer...
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    available for hire.

  4. #1634
    Join Date
    Jan 2018
    Posts
    165
    Plugin Contributions
    4

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

    I think this is from this mod; I get the following error:

    Cannot use string offset as an array

    PHP Code:
    End Image Handler changes 2 of 2
            $image_regular 
    zen_image($products_image_medium$products_ar['products_name'], $width$height'class="adt-img"');
            
    $large_link zen_href_link(FILENAME_POPUP_IMAGE_ADDITIONAL'pID=' $products_id '&pic=' $i '&products_image_large_additional=' $products_image_medium'SSL');
            
    $script_link '<a href="'.$product_link.'" title="' $products_ar['products_name'] . '">' $image_regular .'</a>';
            
    // List Box array generation:
            
    $list_box_contents[$row][$col] = array('params' => 'class="item "''text' => array("imglink"=>$script_link"img"=>$image_regular));
            
    $col ++;
            if (
    $col > (IMAGES_AUTO_ADDED -1)) {
              
    $col 0;
              
    $row ++;
            } 

  5. #1635
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,366
    Plugin Contributions
    87

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

    Quote Originally Posted by tmccaff View Post
    I think this is from this mod; I get the following error:

    Cannot use string offset as an array

    PHP Code:
    End Image Handler changes 2 of 2
            $image_regular 
    zen_image($products_image_medium$products_ar['products_name'], $width$height'class="adt-img"');
            
    $large_link zen_href_link(FILENAME_POPUP_IMAGE_ADDITIONAL'pID=' $products_id '&pic=' $i '&products_image_large_additional=' $products_image_medium'SSL');
            
    $script_link '<a href="'.$product_link.'" title="' $products_ar['products_name'] . '">' $image_regular .'</a>';
            
    // List Box array generation:
            
    $list_box_contents[$row][$col] = array('params' => 'class="item "''text' => array("imglink"=>$script_link"img"=>$image_regular));
            
    $col ++;
            if (
    $col > (IMAGES_AUTO_ADDED -1)) {
              
    $col 0;
              
    $row ++;
            } 
    ... and which version might you be using?

    Please post the entire log that you received.
    Last edited by lat9; 10 Feb 2018 at 01:26 PM. Reason: Asked for log

  6. #1636

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

    Does this plug in work seamlessly with Attribute image? https://www.zen-cart.com/downloads.php?do=file&id=699
    Thanks
    Case Badges by Techiant

  7. #1637
    Join Date
    Apr 2015
    Location
    United States
    Posts
    144
    Plugin Contributions
    0

    Default Re: Image Handler 4 Support Thread

    Image Handler puts images in the bmz_cache directory.
    Putting the images in this directory causes problems when I signed up for CDN service to improve the site loading time. The CDN caches all files in the images directory but not the bmz_cache directory. Although the images are visible on the server the large images on the product pages do not appear with the CDN active.

    To eliminate this problem should I copy all the files in the bmz_cache directory to the images directory or is there another work around for this problem.

  8. #1638
    Join Date
    Nov 2006
    Location
    Sydney, Australia
    Posts
    458
    Plugin Contributions
    1

    Default Re: Image Handler 4 Support Thread

    Hi,
    Just did a fresh instal of 1.55f, then installed correctly the IH 4, all is well when I add one photo.
    But when I add multiple images, it ads them fine on the admin side, but on the store front the product page description turns blank, once I remove the additional images they description and name etc come back.
    No weird characters in file name, the extension is lowercase .jpg, the names are photo, photo_01, photo_02 etc.., Not sure of the issue, again this is a fresh install with no other mod installed.
    I really hope someone can help, been working on this a while now and am too tired so I asking for help.
    *Zen Cart eCommerce Solution - Putting the Dream of Owning an Online Business within reach of anyone!

  9. #1639
    Join Date
    Jul 2012
    Posts
    16,710
    Plugin Contributions
    17

    Default Re: Image Handler 4 Support Thread

    Quote Originally Posted by rlexyd View Post
    Hi,
    Just did a fresh instal of 1.55f, then installed correctly the IH 4, all is well when I add one photo.
    But when I add multiple images, it ads them fine on the admin side, but on the store front the product page description turns blank, once I remove the additional images they description and name etc come back.
    No weird characters in file name, the extension is lowercase .jpg, the names are photo, photo_01, photo_02 etc.., Not sure of the issue, again this is a fresh install with no other mod installed.
    I really hope someone can help, been working on this a while now and am too tired so I asking for help.
    Two things. While not exactly a cause, there is now an IH5 that was designed to integrate "better" with ZC 1.5.5. The other and more related to this issue is that at least with IH4 and more specifically the compression software it accesses, if the overall picture resolution were too high then the problem you have described would occur: namely the blank screen(s) which on occasion would affect the admin as well when trying to access the IH4 image tool with the same problem file. The issue was seen with the image on its own or as an added image meaning that it wasn't as if it took more than one image to see the problem.

    Unfortunately the solution when using IH4 tended to be to down size the image a little before storing it on the site and then the software could address it more appropriately. I can't say that a magic dimension was ever found at least for my system, but I would often change the resolution to a maximum of like 1024 in say the vertical direction then page through new product after adding the image(s) to see if there were any issues.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  10. #1640
    Join Date
    Nov 2006
    Location
    Sydney, Australia
    Posts
    458
    Plugin Contributions
    1

    Default Re: Image Handler 4 Support Thread

    Hi mc,

    Thanks for your help :)
    I for some reason did not actually notice the IH5 in the plugins that's why I installed IH4
    I now uninstalled IH4 and Installed IH5 and it's working great now, I can see additional images with no issues! (p.s: images were low res as well.)
    [the only noticeable change is the IH5 doesn't seem to show Medium Photos, only Small & Large]
    I have installed (fual_slimbox_v2_1_0a), and it works great together
    Again, thank you for your help!
    *Zen Cart eCommerce Solution - Putting the Dream of Owning an Online Business within reach of anyone!

 

 

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