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

Hybrid View

  1. #1
    Join Date
    Mar 2009
    Posts
    221
    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
    69,402
    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.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Mar 2009
    Posts
    221
    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
    69,402
    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.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Mar 2009
    Posts
    221
    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
    69,402
    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.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    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.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    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.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  9. #9
    Join Date
    Mar 2009
    Posts
    221
    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
    69,402
    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.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Option values in attributes controller sort order
    By Congerman in forum Setting Up Categories, Products, Attributes
    Replies: 10
    Last Post: 18 Feb 2014, 01:21 AM
  2. My Attributes Controller Is Not Working Properly
    By jo54iv in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 5 Oct 2012, 01:19 AM
  3. v139h Suddenly my Attributes Controller not working v1.3.9h
    By dre in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 30 Sep 2012, 10:51 PM
  4. v139h Attributes controller not working
    By thelorus in forum Upgrading from 1.3.x to 1.3.9
    Replies: 0
    Last Post: 29 Mar 2012, 04:16 PM
  5. 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR