Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Apr 2009
    Posts
    149
    Plugin Contributions
    0

    Default PHP Fatal error: Class 'queryFactoryResult' not found

    Hi I moved server over the last few days and am getting this error when using the debug error-logging too

    [05-Nov-2009 16:33:16] PHP Fatal error: Class 'queryFactoryResult' not found in /usr/local/pem/vhosts/118405/webspace/siteapps/9461/htdocs/includes/classes/db/mysql/query_factory.php on line 331
    [05-Nov-2009 16:33:16] PHP Fatal error: Class 'queryFactoryResult' not found in /usr/local/pem/vhosts/118405/webspace/siteapps/9461/htdocs/includes/classes/db/mysql/query_factory.php on line 331


    Could anyone tell me what might be causing this? Is it something wrong with that php file or might it be something to do with the server?

    Thanks.

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

    Default Re: PHP Fatal error: Class 'queryFactoryResult' not found

    Sounds like your /includes/classes/db/mysql/query_factory.php file must be damaged, since that's the file that normally contains the class it's saying cannot be found.
    .

    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
    149
    Plugin Contributions
    0

    Default Re: PHP Fatal error: Class 'queryFactoryResult' not found

    ok thanks, so if I just overwrite the one in there with the file in the latest download of zencart it shouldn't cause any problems?

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

    Default Re: PHP Fatal error: Class 'queryFactoryResult' not found

    If you're using v1.3.8a on your site presently, then it would be logical to use the original version of that file from the original v1.3.8a zip, yes.
    If you've done any customizing to that file, then simply replacing it may break something else if there's a dependency somewhere. But I can't tell what you might have done to your own site.
    .

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

    Default Re: PHP Fatal error: Class 'queryFactoryResult' not found

    alright this is now the error if anyone can shed light on it

    [05-Nov-2009 17:36:17] PHP Warning: ereg(): REG_BADPAT in /usr/local/pem/vhosts/118405/webspace/siteapps/9461/htdocs/includes/classes/db/mysql/query_factory.php on line 353
    [05-Nov-2009 17:36:17] PHP Warning: ereg(): REG_BADPAT in /usr/local/pem/vhosts/118405/webspace/siteapps/9461/htdocs/includes/classes/db/mysql/query_factory.php on line 353
    [05-Nov-2009 17:36:17] PHP Warning: ereg(): REG_BADPAT in /usr/local/pem/vhosts/118405/webspace/siteapps/9461/htdocs/includes/classes/db/mysql/query_factory.php on line 353
    [05-Nov-2009 17:36:17] PHP Warning: ereg(): REG_BADPAT in /usr/local/pem/vhosts/118405/webspace/siteapps/9461/htdocs/includes/classes/db/mysql/query_factory.php on line 353
    [05-Nov-2009 17:36:17] PHP Warning: ereg(): REG_BADPAT in /usr/local/pem/vhosts/118405/webspace/siteapps/9461/htdocs/includes/classes/db/mysql/query_factory.php on line 353
    [05-Nov-2009 17:36:17] PHP Warning: ereg(): REG_BADPAT in /usr/local/pem/vhosts/118405/webspace/siteapps/9461/htdocs/includes/classes/db/mysql/query_factory.php on line 353
    [05-Nov-2009 17:36:17] PHP Warning: ereg(): REG_BADPAT in /usr/local/pem/vhosts/118405/webspace/siteapps/9461/htdocs/includes/classes/db/mysql/query_factory.php on line 353
    [05-Nov-2009 17:36:17] PHP Warning: ereg(): REG_BADPAT in /usr/local/pem/vhosts/118405/webspace/siteapps/9461/htdocs/includes/classes/db/mysql/query_factory.php on line 353

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

    Default Re: PHP Fatal error: Class 'queryFactoryResult' not found

    Sounds like you've likely got numerous damaged files on your server.
    Whether hacked or not, I suggest treating it as though you've been hacked, and do a thorough file-by-file evaluation of your entire site, fixing any damaged files, removing rogue files, etc, until you're certain your site is clean and all files are not damaged.
    http://www.zen-cart.com/wiki/index.p...ing_From_Hacks
    .

    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. v154 PHP Fatal error: Class 'QueryCache' not found
    By smarmyclothes in forum Upgrading to 1.5.x
    Replies: 5
    Last Post: 20 Sep 2015, 05:21 PM
  2. PHP Fatal error: Class 'SHA' not found - addon payment module
    By wirefram in forum Addon Payment Modules
    Replies: 0
    Last Post: 30 Oct 2011, 05:59 PM
  3. Help - PHP Fatal error: Class 'order' not found
    By Sevenhelmets in forum Managing Customers and Orders
    Replies: 3
    Last Post: 15 Jan 2011, 04:27 AM
  4. PHP Fatal error: Class 'order' not found
    By 7and2suited in forum General Questions
    Replies: 3
    Last Post: 28 Apr 2009, 06:54 AM

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