Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2009
    Posts
    11
    Plugin Contributions
    0

    Default [Done v1.3.9e] Additional Product Images increases dramaticaly parse time

    Hi. I an using 1.3.9.c. New installation on shared Red hat server.
    Site is a bookstore. more than 29000 acticve products, more than 59000 in the database. 65000 pictures in images folder.

    I had parse time when shop was displaying product information from 25 to 45 seconds. After I have commented tpl_modules_additional_images.php parse time is 0.7sec.

    I dont need this module (have only 1 picture of a book) but I thing that i should report it.

    Peter

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

    Default Re: Additional Product Images increases dramaticaly parse time

    Thanks for the update ... on how you handled this ...

    I am looking at the code and this could probably utilize the switch setting in the Catalog ... Product Types ... EDIT LAYOUT ...
    Show Product Additional Images
    Display Additional Images on Product Info 0= off 1= on
    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
    Aug 2009
    Posts
    11
    Plugin Contributions
    0

    Default Re: Additional Product Images increases dramaticaly parse time

    Quote Originally Posted by Ajeh View Post
    Thanks for the update ... on how you handled this ...

    I am looking at the code and this could probably utilize the switch setting in the Catalog ... Product Types ... EDIT LAYOUT ...
    Hi,
    You are definitely right, but using correct switch doesn't change the problem (module is too slow - 20sec to parse ).

    Thanks
    Peter

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

    Default Re: Additional Product Images increases dramaticaly parse time

    Edit the file:
    /includes/modules/additional_images.php

    And change the line on 19 to:
    Code:
    if ($products_image != '' && $flag_show_product_info_additional_images != 0) {
    Does it listen to that switch better and speed things up?
    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
    Jun 2007
    Posts
    982
    Plugin Contributions
    0

    Default Re: Additional Product Images increases dramaticaly parse time

    Quote Originally Posted by Ajeh View Post
    Edit the file:
    /includes/modules/additional_images.php

    And change the line on 19 to:
    Code:
    if ($products_image != '' && $flag_show_product_info_additional_images != 0) {
    Does it listen to that switch better and speed things up?

    I didn't make the above change because I wouldn't know whether it sped it up or not but if you can include this change if it does speed things up into the "E" version that would be awesome.

    My "perception" is that things have speed up with setting additional pictures to 0.

    Thanks!

    Shrimp

 

 

Similar Threads

  1. special price that automaticaly increases over time?
    By altvali in forum Setting Up Specials and SaleMaker
    Replies: 0
    Last Post: 8 Mar 2010, 10:16 AM
  2. Replies: 4
    Last Post: 30 Apr 2009, 03:01 AM
  3. Parse Time/Query Time comparison/help?
    By Randolph Hoppe in forum Upgrading from 1.2 to 1.3.x
    Replies: 5
    Last Post: 30 Oct 2006, 06:21 AM
  4. Replies: 4
    Last Post: 29 Sep 2006, 02:24 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
  •