Results 1 to 9 of 9
  1. #1
    Join Date
    Jul 2005
    Posts
    114
    Plugin Contributions
    0

    Default [duplicate] query_factory.php

    Hello,

    Zencart fresh install : 1.3.5
    upgrade : 1.3.5 > 1.3.6
    upgrade : 1.3.5 > 1.3.7

    Worked for months and now there is a problem

    Here is the problem :

    http://moeroshop.net/db-problem.jpg

    I believe it's a bug because I didn't touch any setup of my shop nor items, nothing and it do this (more thant 1 hour now).

    What is its problem ?

    Line 114 query_factory.php :

    while (list($key, $value) = each($zp_result_array[0])) {

    thank you
    Last edited by Kodam; 17 May 2007 at 07:09 PM.

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: query_factory.php

    Do a search in the Developer's Tool Kit on the first input box with nothing selected in the dropdown for:
    EXPECTED_PRODUCTS_SORT
    EXPECTED_PRODUCTS_FIELD
    MAX_DISPLAY_UPCOMING_PRODUCTS

    Does it locate all of these settings?

    What are their values?
    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!]
    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
    Jul 2005
    Posts
    114
    Plugin Contributions
    0

    Default Re: query_factory.php

    Here is the results :

    Key: EXPECTED_PRODUCTS_SORT
    Title: Expected Sort Order
    Description: This is the sort order used in the expected products box.
    Value: desc
    Group: ID#1 My Store

    Key: EXPECTED_PRODUCTS_FIELD
    Title: Expected Sort Field
    Description: The column to sort by in the expected products box.
    Value: date_expected
    Group: ID#1 My Store

    Key: MAX_DISPLAY_UPCOMING_PRODUCTS
    Title: Upcoming Products
    Description: Number of 'upcoming' products to display
    Value: 10
    Group: ID#3 Maximum Values

  4. #4
    Join Date
    Jul 2005
    Posts
    114
    Plugin Contributions
    0

    Default Re: query_factory.php

    It seems that the flat rate shipping option is causing this problem.
    I deactivated it and it works.

  5. #5
    Join Date
    Jun 2003
    Location
    Newcastle UK
    Posts
    2,930
    Plugin Contributions
    4

    Default Re: query_factory.php

    Hi,

    Can you post what sql cacheing method you are using. You can find the setting in your includes/configure.php file.

    e.g.

    define('SQL_CACHE_METHOD', 'database');

  6. #6
    Join Date
    Jul 2005
    Posts
    114
    Plugin Contributions
    0

    Default Re: query_factory.php

    Here my cacheing method :

    define('SQL_CACHE_METHOD', 'database');

    with further investigation dhl airborn module installed and put on false was causing trouble if another shipping method like flat rate or shipping by item is activated. I uninstalled this dhl and all back to normal.

  7. #7
    Join Date
    Jun 2003
    Location
    Newcastle UK
    Posts
    2,930
    Plugin Contributions
    4

    Default Re: query_factory.php

    Hi,

    Can you post a link to where you got the DHL Airborne module from, as it is not a default ZC shipping method

    I'm having trouble duplicating the problem, and trying to set up a site similar to yours, in hopes of reproducing the problem

  8. #8
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: query_factory.php

    1. What is your PHP version?
    2. And your MySQL version?
    3. What is your PHP setting for Magic Quotes ? (ie: Admin->Tools->Server Info-> search the screen for "magic_quotes_runtime" ... on or off ?)
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: query_factory.php

    This previously-reported bug appears to be the same issue, and the fix should resolve your problem too:
    http://www.zen-cart.com/forum/showthread.php?t=56436
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Replies: 12
    Last Post: 17 Mar 2014, 11:10 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