All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Low Reorder 2.1.1: Cannot clear cache

ChunJacy 2 Apr 2013 07:00 problem, complete

Hi

Please kindly provide me solution as soon as possible.

Now I facing an issues that cannot clear cache if the category is link with NO items.

How can I clear cache?? The clear cache checkbox only appear when the linked category had entry.

Thanks

Replies

  1. Low 2 Apr 2013 07:03

    Not sure if I follow. Can you post a screenshot of what is happening?

    Also note that, if you need to clear cache, you can always do that in the CP under Tools -> Data -> Clear Caching.

  2. ChunJacy 2 Apr 2013 10:24

    Hi Low

    In low reorder set, I had defined a category, I cannot clear cache when category got no item. When is no item, how can I clear cache.



    But in the database, it still keep old records which is wrong...

  3. Low 2 Apr 2013 10:31

    Don't worry about seeing entry IDs in the database that don't match the Reorder Set. If you think that 'Clear cache' removes those entry IDs, then you're mistaken. The 'Clear Cache' option only clears native EE cache, as explained here: http://ellislab.com/expressionengine/...

    Are you seeing wrong entries on the front-end of your site for that set?

  4. ChunJacy 2 Apr 2013 11:05

    Ya..my front end...show those wrong entries..If can have "clear cache" button, the issues will be solved.

    The clear cache button that I refer is in low reorder.

  5. Low 2 Apr 2013 11:26

    You can clear cache by under Tools -> Data -> Clear Caching.

    That does exactly the same as the clear cache checkbox.

  6. ChunJacy 2 Apr 2013 15:22

    ok...maybe I should ask this way..

    how can I update the existing "sort order", because when the category got no item...the "save" button is disappear.

    I need update the "sort order" field to empty too.

  7. Low 2 Apr 2013 15:31

    Again, you shouldn't be concerned about what's in the database. If you're seeing entries being generated by the low_reorder:entries tag, but there shouldn't be any, we need to debug that. The entry IDs under sort_order should be filtered by the Entries tag anyway, so maybe there's something wrong with that.

    What is the template code you're using that is generating the wrong entries?

    If you want a quick fix, then use a manual query. Something like

    UPDATE exp_low_reorder_orders SET sort_order = ''  WHERE set_id = 'SET_ID' AND cat_id = '0';


    ...where SET_ID is the correct set_id.

  8. ChunJacy 3 Apr 2013 04:41

    ok, thank you for your reply.

    Because I was reading from database to process the data, so face this issues

  9. Low 3 Apr 2013 06:32

    Ah, well, if you're accessing the DB directly, then use the query above to empty it out.

    But know that that is not supported -- use the low_reorder:entries tag where you can.