Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 25
  1. #11
    Join Date
    Apr 2009
    Posts
    125
    Plugin Contributions
    0

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

    This error message still exists even when customers use Paypal Express, but as I said, all transactions go smoothly.

  2. #12
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

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

    "Where" does the error exist? Just in logs? Or actually on-screen?
    .

    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. #13
    Join Date
    Apr 2009
    Posts
    125
    Plugin Contributions
    0

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

    Just in log. (/cache/myDEBUG-xxxxxxxxxx-xxxxxx.log)
    I'll upgrade to 1.3.9h later to see if it helps.

  4. #14
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

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

    You can try editing /includes/functions/sessions.php and adding this line as shown, at line 55:
    Code:
            //PHP 5.2.0 bug workaround ...
            if (!class_exists('queryFactory')) require('includes/classes/db/' .DB_TYPE . '/query_factory.php');
            $db = new queryFactory();
    .

    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.

  5. #15
    Join Date
    Apr 2009
    Posts
    125
    Plugin Contributions
    0

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

    Getting worse?

    PHP Warning: require(): open_basedir restriction in effect. File(includes/classes/db/mysql/query_factory.php) is not within the allowed path(s): (......) in /web/includes/functions/sessions.php on line 55

    PHP Warning: require(includes/classes/db/mysql/query_factory.php): failed to open stream: Operation not permitted in /web/includes/functions/sessions.php on line 55

    PHP Fatal error: require(): Failed opening required 'includes/classes/db/mysql/query_factory.php' (include_path='...') in /web/includes/functions/sessions.php on line 55

  6. #16
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

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

    If your store is in the /shop/ folder, then why is it trying to access the /web/ folder?

    Sounds like you've got wrong paths in your configure.php files?
    .

    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.

  7. #17
    Join Date
    Apr 2009
    Posts
    125
    Plugin Contributions
    0

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

    My mistake.

    I have 2 shops, one is under /shop/, and the other is under /web/. Both of them get the same problem, and settings in each configure.php are correct.

    In this case, error messages are:


    PHP Warning: require(): open_basedir restriction in effect. File(includes/classes/db/mysql/query_factory.php) is not within the allowed path(s): (......) in /shop/includes/functions/sessions.php on line 55

    PHP Warning: require(includes/classes/db/mysql/query_factory.php): failed to open stream: Operation not permitted in /shop/includes/functions/sessions.php on line 55

    PHP Fatal error: require(): Failed opening required 'includes/classes/db/mysql/query_factory.php' (include_path='...') in /shop/includes/functions/sessions.php on line 55

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

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

    You removed the "allowed paths". It's hard to help if you don't give the exact details.
    .

    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. #19
    Join Date
    Apr 2009
    Posts
    125
    Plugin Contributions
    0

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

    PHP Warning: require(): open_basedir restriction in effect. File(includes/classes/db/mysql/query_factory.php) is not within the allowed path(s): (/usr/bin/php:/etc:/var/run:/tmp:/var/spool/php:/var/services) in /shop/includes/functions/sessions.php on line 55

    PHP Warning: require(includes/classes/db/mysql/query_factory.php): failed to open stream: Operation not permitted in /shop/includes/functions/sessions.php on line 55

    PHP Fatal error: require(): Failed opening required 'includes/classes/db/mysql/query_factory.php' (include_path='.:/usr/php/lib/php') in /shop/includes/functions/sessions.php on line 55

  10. #20
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

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

    Quote Originally Posted by siliconbug View Post
    PHP Warning: require(): open_basedir restriction in effect. File(includes/classes/db/mysql/query_factory.php) is not within the allowed path(s): (/usr/bin/php:/etc:/var/run:/tmp:/var/spool/php:/var/services) in /shop/includes/functions/sessions.php on line 55
    Evidently your server is misconfigured, specifically disallowing access to your /shop/ folder.
    None of those paths includes your /shop/ or /web/ folders.

    This is a problem you need to report to your hosting company so they can fix the server's PHP configuration.
    .

    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.

 

 
Page 2 of 3 FirstFirst 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

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