If this is your first visit, check our documentation. To post, register or login.
Forums / Installing Zen Cart / Installing on a Linux/Unix Server / Class 'queryFactory' not found on v1.3.9f

Class 'queryFactory' not found on v1.3.9f

Started by siliconbug on 11 Oct 2010, 6:56 AM · Views: 8,323

Results 21 to 25 of 25
10 Nov 2010, 5:14 AM
#21
siliconbug avatar

siliconbug

Zen Follower

Join Date:
Apr 2009
Posts:
126
Plugin Contributions:
0

Post #21 by siliconbug

An interesting solution?

(Apache v2.2.16 & php v5.3.2)

I remove this line you told me before:
if (!class_exists('queryFactory')) require('includes/classes/db/' .DB_TYPE . '/query_factory.php');

and disable php cache.

Now everything works fine, no more error messages.

3 Dec 2011, 2:32 PM
#22
marco_b avatar

marco_b

New Zenner

Join Date:
Dec 2006
Location:
Australia
Posts:
94
Plugin Contributions:
0

Post #22 by marco_b

So were these problems caused by enabling the php op-code cache?

I'm getting similar errors and the cart as a whole seems functional. I'll have to look into it further tomorrow.

hmmmmm.....

5 Jan 2012, 10:53 AM
#23
siliconbug avatar

siliconbug

Zen Follower

Join Date:
Apr 2009
Posts:
126
Plugin Contributions:
0

Post #23 by siliconbug

I got this error if I enable APC (php cache).

I've tried this suggestion

http://www.zen-cart.com/forum/showthread.php?t=141644

and then got another error

PHP Fatal error: Class 'queryFactoryResult' not found in /web/includes/classes/db/mysql/query_factory.php on line 188

5 Jan 2012, 10:58 AM
#24
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #24 by drbyte

siliconbug:

I got this error if I enable APC (php cache).
What specific problem are you attempting to solve by using APC in the first place? Perhaps your server is underpowered?

.
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 Jan 2012, 11:02 AM
#25
siliconbug avatar

siliconbug

Zen Follower

Join Date:
Apr 2009
Posts:
126
Plugin Contributions:
0

Post #25 by siliconbug

I'm fine without apc so far.

Just read some posts and test newer version of apc again to see if they can work together.:cool: