Results 1 to 10 of 7098

Hybrid View

  1. #1
    Join Date
    Dec 2006
    Posts
    53
    Plugin Contributions
    0

    Default Fatal error: Call to undefined function: bmz_needs_update()

    Hi everyone. I can't wait to get this mod working. Could you lend a helping hand?

    Code:
    Fatal error: Call to undefined function: bmz_needs_update() in /home/worldne/public_html/admin/image_handler.php on line 482
    I'm geting this error when I click on Admin in the menu for IH2. I think I need to get in there in order to install the mod, right?

    Thanks in advance.

  2. #2
    Join Date
    Dec 2006
    Posts
    53
    Plugin Contributions
    0

    Default Merging popup_image_additional/tpl_main_page.php

    I'm having trouble undersanding how to merge this file into my custom template.

    Could someone tell me how to merge this:

    Code:
     
    <body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>>
     
    <?php
      if (SHOW_BANNERS_GROUP_SET1 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET1)) {
        if ($banner->RecordCount() > 0) {
    ?>
    <div id="bannerOne" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
    <?php
        }
      }
    ?>
    <?php
     /**
      * prepares and displays header output
      *
      */
      require($template->get_template_dir('tpl_header.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_header.php');?>
    <div id="mainWrapper">
    with this:

    Code:
    <body id="popupAdditionalImage" class="centeredContent" onLoad="resize();">
    <div>
    <?php
    // $products_values->fields['products_image']
      echo '<a href="javascript:window.close()">' . zen_image($_GET['products_image_large_additional'], $products_values->fields['products_name'] . ' ' . TEXT_CLOSE_WINDOW) . '</a>';
    ?>
    </div>
    </body>
    It seems everyone else has got this figured out. I must be getting old.

  3. #3
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: Fatal error: Call to undefined function: bmz_needs_update()

    Quote Originally Posted by Kansai_mike View Post
    Hi everyone. I can't wait to get this mod working. Could you lend a helping hand?

    Code:
    Fatal error: Call to undefined function: bmz_needs_update() in /home/worldne/public_html/admin/image_handler.php on line 482
    I'm geting this error when I click on Admin in the menu for IH2. I think I need to get in there in order to install the mod, right?

    Thanks in advance.
    You shouldn't need to. I recommend you start again by re-uploading the IH2 files and double check that you've followed the installation instructions to the letter.

    I'm having trouble undersanding how to merge this file into my custom template.
    It's a while since I was last "inside" the IH2 mod, but as far as I recall, you don't need to "merge" code in the way your suggesting; however, some files do need to be placed in your overrides system.
    Last edited by Ryk; 16 Dec 2006 at 10:20 AM.
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

  4. #4
    Join Date
    Dec 2006
    Posts
    53
    Plugin Contributions
    0

    Default Re: Image Handler 2 Support

    OK. It works. So far.

    Here's what I did.

    I reverted everything back to the beginning and then reuploaded all of the files again.

    Then I simply added the CSS file to my CSS folder in my custom template directory, I had merged them before. I did the same for the additional popups image directory where I just uploded the directory instead of adding the code to my main template.

    Thanks for your help Ryk. Just needed the push.

  5. #5
    Join Date
    Nov 2003
    Posts
    111
    Plugin Contributions
    0

    Default Re: Image Handler 2 Support

    Well I've gone through most of the pages about IH and I'm still a bit confused. I'm just about finished my upgrade from 1.2. I've tested with just a few images and IH seems fine. Since I was using the previous version of IH I have all those medium, large, original folders and files. I'd like to clean this up with only what's necessary for the new version. So does anyone know if the following will work.

    After installing IH 2 upload all of the files in the original folder and still keeping it in the original folder. Go to IH2 admin and run "Scan for old IH 0.x and 1.x original images". I should then be done and all small, medium and large images should run from bmz cache. This way I'm not uploading all the old medium and large images. Anybody know if I got it right?

  6. #6
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: Image Handler 2 Support

    Quote Originally Posted by 13moons View Post
    Well I've gone through most of the pages about IH and I'm still a bit confused. I'm just about finished my upgrade from 1.2. I've tested with just a few images and IH seems fine. Since I was using the previous version of IH I have all those medium, large, original folders and files. I'd like to clean this up with only what's necessary for the new version. So does anyone know if the following will work.

    After installing IH 2 upload all of the files in the original folder and still keeping it in the original folder. Go to IH2 admin and run "Scan for old IH 0.x and 1.x original images". I should then be done and all small, medium and large images should run from bmz cache. This way I'm not uploading all the old medium and large images. Anybody know if I got it right?
    Thats whats meant to happen..
    However backup your images first as each time I have tried this with 1.3.6 it deleted all the files in the original directory and none ended up in the images directory. I ended up having to restore the files and then manually copying the files from the images/original to images.
    Also before it will cache the images you will have to delete them from the medium and large directories. If you leave them there these images will be used instead.

  7. #7
    Join Date
    Nov 2003
    Posts
    111
    Plugin Contributions
    0

    Default Re: Image Handler 2 Support

    Thanks gilby. When I do it I'll post the results. Hopefully it'll be positive!

  8. #8
    Join Date
    Jul 2005
    Posts
    36
    Plugin Contributions
    0

    Default Re: Image Handler 2 Support

    Does someone have Image Handler and Tabbed products working together? My images won't zoom as soon as I placed the jscript for Tabbed Products Lite

 

 

Similar Threads

  1. v150 Image Handler 4 (for v1.5.x) Support Thread
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 1687
    Last Post: 17 Nov 2024, 07:26 PM
  2. 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
  3. Image Handler Support Please
    By nadinesky in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 30 Sep 2013, 03:47 PM
  4. Image handler only covers part of screen
    By shaneburton in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 14 May 2009, 07:15 PM
  5. Is Image Handler the only way to go?
    By wwwursa in forum Installing on a Windows Server
    Replies: 2
    Last Post: 23 Dec 2007, 09:22 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