Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    May 2007
    Posts
    99
    Plugin Contributions
    0

    Default Re: Performance issues with large category

    Hi RodG,
    If you have them, would you care to share the file(s)/ line number to start at and save me a bit of research time? I need to do something to fix this issue, and I'd rather do it the right way assuming it's not going to take too long. Assuming I have the time to implement a proper fix I'd be happy to pass my code along.

  2. #2
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Performance issues with large category

    G'day C,

    > Hi RodG,
    > If you have them, would you care to share the file(s)/ line number
    > to start at and save me a bit of research time?

    Sure. The 'offending' file is
    /admin/includes/functions/general.php

    The offending function is:
    zen_draw_products_pull_down() it is located around line 243

    It seems that I DID get to implement a very crude fix, BUT I never actually got to deploy it for some reason (this was over 6 months ago).

    Looking at the code, what I did was to add a check on the number of products read from the database, and if it was over 1000 it re-ran the same query but this time with a LIMIT 1000 restriction.
    I can't remember if there was a reason why I didn't simply limit the query to 1000 items in the first place.

    Hope this is of some little help.

    Cheers
    Rod

 

 

Similar Threads

  1. v150 Strange performance issues
    By joem83 in forum General Questions
    Replies: 4
    Last Post: 19 Sep 2012, 02:54 PM
  2. v139h Performance Issues on site with many products
    By totalsam in forum Setting Up Categories, Products, Attributes
    Replies: 19
    Last Post: 8 Mar 2012, 09:27 AM
  3. Replies: 9
    Last Post: 22 Mar 2007, 07:44 PM
  4. Performance / Speed Issues
    By websightdesign in forum General Questions
    Replies: 1
    Last Post: 20 Dec 2006, 05:57 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