Zen Cart Logo
Forums / Installing on a Linux/Unix Server / Class 'queryFactory' not found on v1.3.9f

Class 'queryFactory' not found on v1.3.9f

Views: 8,311

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

siliconbug

Zen Follower

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

Class 'queryFactory' not found on v1.3.9f

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

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

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:
125
Plugin Contributions:
0

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

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,513
Plugin Contributions:
176

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

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?

5 Jan 2012, 11:02 AM
#25
siliconbug avatar

siliconbug

Zen Follower

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

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

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: