We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19833
    • 25 Posts
    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.
      • 19833
      • 25 Posts
      The Fatal Error is also happening in the manager. It’s weird because it randomly started to happen.
        • 22303 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?
          • 19833
          • 25 Posts
          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.
            • 22303 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.
              • 19833
              • 25 Posts
              Would it still work if I used eAccelerator or XCache?
                • 22303 MODX Staff
                • 10,725 Posts
                Quote from: mlchai at Nov 05, 2009, 02:43 PM

                Would it still work if I used eAccelerator or XCache?
                As long as the same bug does not occur in the compilations of those extensions you use in your environment. It should work with APC, but it’s apparently broken somehow, i.e. it’s not recognizing multiple classes declared in a single file for some reason.