So after a fresh install of the beta 4 of modx revolution, there are a few major errors I seem to be getting.
1. In the manager, when I try and preview any document it’ll open up a blank window with no URL.
2. On every document, I’m getting this error:
Fatal error: Class ’xPDOCriteria’ not found in /var/www/catface.net/html/core/xpdo/om/xpdoobject.class.php on line 1291
php-cgi -v:
PHP 5.2.11-1 with Suhosin-Patch 0.9.7 (cgi-fcgi) (built: Sep 20 2009 11:39:56)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
with Suhosin v0.9.29, Copyright (c) 2007, by SektionEins GmbH
I’m using lighttpd on Debian Linux.
The Fatal Error is also happening in the manager. It’s weird because it randomly started to happen.
-
MODX Staff
- 10,725 Posts
I’ve seen this happen in a few versions with APC or eAccelerator enabled. Is this consistent with your environment?
Yes, I have APC enabled. Is there a way to make it so that I can keep APC installed? I’d really like to have some sort of caching system in place.
-
MODX Staff
- 10,725 Posts
This appears to be a bug in APC and the specific compilation of PHP you have. It works in previous releases of PHP. We’ll look into workarounds, but if you want to get it working on that configuration, you’ll have to disable APC for that site. We use eAccelerator with many 5.2.x releases prior to 5.2.10 and have had no significant problems with it.
Would it still work if I used eAccelerator or XCache?