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

Hybrid View

  1. #1
    Join Date
    Mar 2009
    Location
    Seattle, WA
    Posts
    212
    Plugin Contributions
    1

    Default [Done v1.5.0] Attributes Controller Update Sort not working

    ZC v1.3.9h
    PHP v5.2.14

    In Attributes Controller, the "Update Sort to default order" button takes me back out to the admin index page and does not update the sort order on the product.

    Any ideas what could be causing this behavior?

    I haven't used the update sort to default order in attributes controller since running 1.3.8a.

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,677
    Plugin Contributions
    6

    Default Re: Attributes Controller Update Sort not working

    Check that you have the current file:
    /admin/attributes_controller.php

    loaded on the server ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  3. #3
    Join Date
    Mar 2009
    Location
    Seattle, WA
    Posts
    212
    Plugin Contributions
    1

    Default Re: Attributes Controller Update Sort not working

    It's present and I checked /admin/attributes_controller.php against the file in the 1.3.9h zip (and compared with winmerge) and it's the same:

    @version $Id: attributes_controller.php 17888 2010-10-08 21:06:31Z wilt $

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,677
    Plugin Contributions
    6

    Default Re: Attributes Controller Update Sort not working

    Then I would have to suggest you check all files in the:
    /admin

    and confirm that they are all identical ...

    If you have any customizations, make sure that your customizations have been merged correctly into the current version ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  5. #5
    Join Date
    Mar 2009
    Location
    Seattle, WA
    Posts
    212
    Plugin Contributions
    1

    Default Re: Attributes Controller Update Sort not working

    I just ran a winmerge on the \admin folder and sub-directories... Here are the files that are different than the 1.3.9h zip:

    \admin\includes\languages\english\extra_definitions\editors_list (CKeditor v3.4 contribution overwrote this file)

    \admin\includes\languages\english.php (I added dimensions for HEADER_LOGO_IMAGE and specified different image filename)

    \admin\includes\modules\category_product_listing.php (Image Handler v2.0 Rev 8c overwrote this file w/ 1 additional line - all other lines match current version)


    Could any of those files cause the attribute controller update sort button to malfunction?
    Last edited by Crunch; 9 Nov 2010 at 07:39 PM.

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,677
    Plugin Contributions
    6

    Default Re: Attributes Controller Update Sort not working

    None of those sound like a probable issue ...

    Can you see if post #6 in:
    http://www.zen-cart.com/forum/showthread.php?t=153143

    helps to resolve this issue ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,677
    Plugin Contributions
    6

    Default Re: Attributes Controller Update Sort not working

    Good news! I reproduced this error!!

    Bad news ... I don't have the solution yet ...

    But let me move this to the Bug Reports and I will work out a fix on this ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,677
    Plugin Contributions
    6

    Default Re: Attributes Controller Update Sort not working

    Edit the file:
    /admin/attributes_controller.php

    and change the line around 188:
    Code:
          case ('update_product'):
    to read:
    Code:
          case ('update_attribute_sort'):
    then change the line around 756:
    Code:
                <td class="smallText" align="center"><?php echo '<a href="' . zen_href_link(FILENAME_ATTRIBUTES_CONTROLLER, '&action=update_product' . '&products_filter=' . $products_filter . '&current_category_id=' . $current_category_id) . '">' . zen_image_button('button_update_sort.gif', IMAGE_UPDATE_SORT) . '<br />' . TEXT_ATTRIBUTES_UPDATE_SORT_ORDER . '</a>'; ?></td>
    to read:
    Code:
                <td class="smallText" align="center"><?php echo '<a href="' . zen_href_link(FILENAME_ATTRIBUTES_CONTROLLER, '&action=update_attribute_sort' . '&products_filter=' . $products_filter . '&current_category_id=' . $current_category_id) . '">' . zen_image_button('button_update_sort.gif', IMAGE_UPDATE_SORT) . '<br />' . TEXT_ATTRIBUTES_UPDATE_SORT_ORDER . '</a>'; ?></td>
    Does this work for you now for the Update Sort Order?
    Last edited by Ajeh; 23 Dec 2010 at 01:54 AM. Reason: change to better variables
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  9. #9
    Join Date
    Mar 2009
    Location
    Seattle, WA
    Posts
    212
    Plugin Contributions
    1

    Default Re: Attributes Controller Update Sort not working

    It appears that those edits worked! It no longer kicks me back out to the admin index and there is a message at the top stating, "Successful Attribute Sort Order Update for ID# 1234 product name"

    Thank you - I will be sending you some coffee and donuts.

  10. #10
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,677
    Plugin Contributions
    6

    Default Re: Attributes Controller Update Sort not working

    Thanks for the update that this works for you ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Changing sort order of products in attributes controller
    By way10c in forum Setting Up Categories, Products, Attributes
    Replies: 9
    Last Post: 9 Nov 2011, 12:21 AM
  2. Option Value Sort Order - Attributes Controller Page Only
    By dranet in forum Setting Up Categories, Products, Attributes
    Replies: 11
    Last Post: 4 Aug 2011, 04:10 AM
  3. Update to attributes.php not working
    By CascianoLtd in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 30 Jun 2009, 05:05 AM
  4. Attributes controller not working correctly
    By darkswan in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 28 Jun 2006, 05:07 AM

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
  •