Page 1 of 3 123 LastLast
Results 1 to 10 of 25
  1. #1
    Join Date
    Apr 2009
    Posts
    47
    Plugin Contributions
    0

    Default Class 'queryFactory' not found on v1.3.9f

    My system is upgraded from v1.3.8a to v1.3.9f on a php v5.3.2 server, and I keep receveing such error message when a new order comes in:

    PHP Fatal error: Class 'queryFactory' not found in /shop/includes/functions/sessions.php on line 55

    $db = new queryFactory();
    $db->connect(DB_SERVER, DB_SERVER_USERNAME, DB_SERVER_PASSWORD, DB_DATABASE, USE_PCONNECT, false);

    Most posts I've found are related to an old version of ZenCart on php v5.2+, and I don't know how to fix on v1.3.9f

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Class 'queryFactory' not found on v1.3.9f

    Evidently you're missing an important file from your site: /includes/classes/db/mysql/query_factory.php
    And, if you're missing that file, that almost certainly means you're also missing several others.

    THE MOST COMMON cause of "not found" errors, is that a required file is missing from the server, or is damaged. And that's often a result of using weak FTP programs or experiencing timeouts while uploading via FTP.

    Double-check every file to make sure it uploaded properly.
    .

    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.

  3. #3
    Join Date
    Apr 2009
    Posts
    47
    Plugin Contributions
    0

    Default Re: Class 'queryFactory' not found on v1.3.9f

    Thanks,
    /includes/classes/db/mysql/query_factory.php is there, and I'll upload again to see if it helps.
    Last edited by siliconbug; 11 Oct 2010 at 08:22 AM.

  4. #4
    Join Date
    Apr 2009
    Posts
    47
    Plugin Contributions
    0

    Default Re: Class 'queryFactory' not found on v1.3.9f

    Problem exists...and I notice that it only happens when a customer uses paypal to finish the order. I'll upload payment modules again to see if it helps.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Class 'queryFactory' not found on v1.3.9f

    Quote Originally Posted by siliconbug View Post
    I keep receveing such error message when a new order comes in:

    PHP Fatal error: Class 'queryFactory' not found in /shop/includes/functions/sessions.php on line 55
    Um, what do you mean by "keep receiving"? How exactly are you "receiving" those messages?
    Quote Originally Posted by siliconbug View Post
    I notice that it only happens when a customer uses paypal to finish the order.
    Which PayPal module, and why?
    If you're using "Website Payments Standard", why? Using Express Checkout is much more reliable, and less prone to errors.
    .

    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.

  6. #6
    Join Date
    Apr 2009
    Posts
    47
    Plugin Contributions
    0

    Default Re: Class 'queryFactory' not found on v1.3.9f

    When a customer places an order and pays via Paypal (Standard), the error message will be generated.

    However, the payment still goes through, and the order is completed.

    I'll switch to Paypal Express and keep watching.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Class 'queryFactory' not found on v1.3.9f

    "generated" ... as in "displayed on the screen"? if so, where on the screen?
    or do you mean "delivered to you in an envelope by the postman"?
    or something else?
    .

    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.

  8. #8
    Join Date
    Apr 2009
    Posts
    47
    Plugin Contributions
    0

    Default Re: Class 'queryFactory' not found on v1.3.9f

    The error message is generated by enable_error_logging.php

    My paypal account shows I get the money, and the admin page of ZenCart shows the order details correctly. (Maybe there's something I miss)

  9. #9
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Class 'queryFactory' not found on v1.3.9f

    So it's not actually hurting any transactions or breaking any customer interactions on the site?

    Has it persisted with Express Checkout? (I expect it will *not* continue after switching to the EC module, which is more contemporary and fits better into the flow of checkout).
    .

    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.

  10. #10
    Join Date
    Apr 2009
    Posts
    47
    Plugin Contributions
    0

    Default Re: Class 'queryFactory' not found on v1.3.9f

    No, all transactions still runs smoothly.

    BTW, I also notice that I get that same error message when I run Google base feeder v1.8.2 (hit the "confirm" button in the page to generate a new XML file).

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v151 Class 'tableBlock' not found
    By Sean Maher in forum Upgrading to 1.5.x
    Replies: 4
    Last Post: 13 Jul 2013, 01:45 AM
  2. Replies: 3
    Last Post: 29 Aug 2012, 02:57 PM
  3. Fatal error: Class 'queryFactory' not found
    By petecbs in forum General Questions
    Replies: 1
    Last Post: 16 Aug 2011, 07:08 PM
  4. Class 'queryFactory' not found
    By gperina in forum Installing on a Windows Server
    Replies: 4
    Last Post: 15 Aug 2007, 04:17 PM

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