Page 87 of 169 FirstFirst ... 3777858687888997137 ... LastLast
Results 861 to 870 of 1688
  1. #861
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

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

    Quote Originally Posted by jeffiec View Post
    Hey there,
    having some issues in the admin being able to enable/disable products from category page, I have read throuhg all of the posts i can find, ensured that the code in category_product_listing.php were correct:
    Code:
    if ($products->fields['products_status'] == '1') {
            echo zen_draw_form('setflag_products', FILENAME_CATEGORIES, 'action=setflag&pID=' . $products->fields['products_id'] . '&cPath=' . $cPath . (isset($_GET['page']) ? '&page=' . $_GET['page'] : '') . ((isset($_GET['search']) && !empty($_GET['search'])) ? '&search=' . $_GET['search'] : ''));?>
            <input type="image" src="<?php echo DIR_WS_IMAGES ?>icon_green_on.gif" title="<?php echo IMAGE_ICON_STATUS_ON; ?>" />
            <input type="hidden" name="flag" value="0" />
            </form>
    <?php
          } else {
            echo zen_draw_form('setflag_products', FILENAME_CATEGORIES, 'action=setflag&pID=' . $products->fields['products_id'] . '&cPath=' . $cPath . (isset($_GET['page']) ? '&page=' . $_GET['page'] : '') . ((isset($_GET['search']) && !empty($_GET['search'])) ? '&search=' . $_GET['search'] : ''));?>
            <input type="image" src="<?php echo DIR_WS_IMAGES ?>icon_red_on.gif" title="<?php echo IMAGE_ICON_STATUS_OFF; ?>"/>
            <input type="hidden" name="flag" value="1" />
            </form>
    and categories.php:
    Code:
    if ( isset($_GET['flag']) && ($_GET['flag'] == '0') || ($_GET['flag'] == '1') ) {
            if (isset($_GET['pID'])) {
              zen_set_product_status($_GET['pID'], $_GET['flag']);
            }
          }
    and still cant turn them on or off, checked for error logs, none, check for console errors, none.

    Anything im missing here?
    ZC 1.51
    IMH 4
    Realize you said ZC1.5.1, but that is reminiscent of ZC1.5 and not necessarily related to IH4. When did this begin happening? Upgrade?

  2. #862
    Join Date
    Jun 2009
    Posts
    86
    Plugin Contributions
    0

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

    no, i don't really know when it started, but i didn't do any upgrades, any searches for products not turning on or off, has pointed me to IH, it was the last mod installed according to the guy who built the site, but not too sure, im just trying to fix it lol.
    However viewing the page in page source shows this:
    <form name="setflag_products" action="http://mysite.com/my_secret_admin/categories.php?action=setflag&pID=98&cPath=3&page=1" method="post">

    I saw someone else asking should the change all posts to gets?
    could that be?

  3. #863
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

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

    Quote Originally Posted by jeffiec View Post
    no, i don't really know when it started, but i didn't do any upgrades, any searches for products not turning on or off, has pointed me to IH, it was the last mod installed according to the guy who built the site, but not too sure, im just trying to fix it lol.
    And it would help if we knew WHICH version on IH4 you are running.. sounds like an old version.. and if you search this thread for category_product_listing.php the fix is posted..
    Quote Originally Posted by jeffiec View Post
    However viewing the page in page source shows this:
    <form name="setflag_products" action="http://mysite.com/my_secret_admin/categories.php?action=setflag&pID=98&cPath=3&page=1" method="post">

    I saw someone else asking should the change all posts to gets?
    could that be?
    NO..
    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.

  4. #864
    Join Date
    Jun 2009
    Posts
    86
    Plugin Contributions
    0

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

    4.2, what would be the best way to upgrade, in the instructions, it only talks about if you have installed ih3?

  5. #865
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

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

    Quote Originally Posted by jeffiec View Post
    4.2, what would be the best way to upgrade, in the instructions, it only talks about if you have installed ih3?
    The way I have done it in the past, is to download (or have) both the old and new versions, compare the two to see if there are files that get deleted from the old (usually haven't seen that happen.), then once determined and made a list of which should go, compare the new and existing files to see what changes need to be made. Merge the changes into the new set of files. Delete any files previously identified and pretty much at the same time upload the entire package (so that the auto installer can do it's thing which includes making backup copies of what was to be replaced, just-in-case). But, a backup of existing files is made/available as part of any routine update.

  6. #866
    Join Date
    Jun 2009
    Posts
    86
    Plugin Contributions
    0

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

    ok, uninstalled 4.2, installed 4.3.1, still cant enable/disable, this just isn't my day.
    so any searches on not being able to enable/disable from category page, brings up all about IH$, since im up to the latest and greatest and everyone else seems to be working, what else can be the issue? i have made no mods to the admin side.
    Any help appreciated.
    Jeff
    Last edited by jeffiec; 10 Sep 2013 at 03:58 PM.

  7. #867
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

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

    Quote Originally Posted by jeffiec View Post
    ok, uninstalled 4.2, installed 4.3.1, still cant enable/disable, this just isn't my day.
    so any searches on not being able to enable/disable from category page, brings up all about IH$, since im up to the latest and greatest and everyone else seems to be working, what else can be the issue? i have made no mods to the admin side.
    Any help appreciated.
    Jeff
    It would surprise me that the content of the following link hasn't been incorporated in an update since it was made, so first I would suggest if not done already to clear your cache and temporary files (or anything else to "refresh" your browser) while not logged into your admin, if you haven't already. If that still doesn't resolve your issue, see this link: http://www.zen-cart.com/showthread.p...hp#post1117504

    The content of that link addresses the issue you are describing with the red/green button not working in the file category_product_listing.php that I went ahead and searched for seeing that you still were having an issue. If unable to still resolve, please seek paid help to address your problem, as you said, others aren't experiencing this with the updated version(s). Btw, there is some updates posted a few pages back that I have not verified as incorporated to the downloads associated with the additional_images functionality.

  8. #868
    Join Date
    Jun 2009
    Posts
    86
    Plugin Contributions
    0

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

    Quote Originally Posted by mc12345678 View Post
    It would surprise me that the content of the following link hasn't been incorporated in an update since it was made, so first I would suggest if not done already to clear your cache and temporary files (or anything else to "refresh" your browser) while not logged into your admin, if you haven't already. If that still doesn't resolve your issue, see this link: http://www.zen-cart.com/showthread.p...hp#post1117504

    The content of that link addresses the issue you are describing with the red/green button not working in the file category_product_listing.php that I went ahead and searched for seeing that you still were having an issue. If unable to still resolve, please seek paid help to address your problem, as you said, others aren't experiencing this with the updated version(s). Btw, there is some updates posted a few pages back that I have not verified as incorporated to the downloads associated with the additional_images functionality.
    Not sure I fully understand what you are saying, have cleared all temp files and the link you posted matches what that file already has, remember, I uninstalled and re-installed to 4.3.1 IH is working fine.

    Telling someone they need to pay for help can be taken a few ways, i will for arguments sake, take it in a neutral way.

    So what you are saying is instead of sharing ideas, with fellow coders, is not the way to go? I should just go out and hire someone who will no doubt do the same thing, unless it's deva herself? And like i said, i don't even think IH is the issue, however, most of the searches so far, have pointed at IH, that's why I am asking if someone knew of another add-on i could look at or java.

  9. #869
    Join Date
    Jun 2009
    Posts
    86
    Plugin Contributions
    0

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

    Ok, little trouble shooting and putting a trap in 'setflag' function of categories.php,
    print '<script type="text/javascript">';
    print 'alert("im in the case"'. $_GET['flag'] . ')';
    print '</script>';
    I get the popup, but $_GET['flag'] is empty?
    Just looking for clues.
    Jeff

  10. #870
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

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

    Quote Originally Posted by jeffiec View Post
    Ok, little trouble shooting and putting a trap in 'setflag' function of categories.php,
    print '<script type="text/javascript">';
    print 'alert("im in the case"'. $_GET['flag'] . ')';
    print '</script>';
    I get the popup, but $_GET['flag'] is empty?
    Just looking for clues.
    Jeff
    The code you posted looks like Zen Cart 1.3.x code... Possibly Zen Cart was upgraded from a previous version and something was missed when merging files... Or maybe some older code was merged into your "/admin/categories.php" by mistake when installing a plugin...

    The code from Zen Cart 1.5.1 for "/admin/categories.php" (note the parts in red):
    Code:
    case 'setflag':
    
          if ( isset($_POST['flag']) && ($_POST['flag'] == '0') || ($_POST['flag'] == '1') ) {
            if (isset($_GET['pID'])) {
              zen_set_product_status($_GET['pID'], $_POST['flag']);
            }
          }
    
          zen_redirect(zen_href_link(FILENAME_CATEGORIES, 'cPath=' . $_GET['cPath'] . '&pID=' . $_GET['pID'] . (isset($_GET['page']) ? '&page=' . $_GET['page'] : '') . ((isset($_GET['search']) && !empty($_GET['search'])) ? '&search=' . $_GET['search'] : '')));
          break;
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

 

 

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: 711
    Last Post: 10 May 2025, 02:13 PM
  2. Attribute image replaces main product image on select [Support Thread]
    By exoticcorpse in forum All Other Contributions/Addons
    Replies: 160
    Last Post: 28 Oct 2024, 10:50 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