We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1441
    • 61 Posts
    Hey - Trying to compile a bleeding-edge (beta-5) build from the MODx Revolution 2 and having trouble...

    When running ’transport.core.php’ I first get an error about the absence of xpdo classes.

    Warning: require_once(/Applications/XAMPP/xamppfiles/htdocs/beta5/core/xpdo/xpdo.class.php) [function.require-once]: failed to open stream: No such file or directory in /Applications/XAMPP/xamppfiles/htdocs/beta5/_build/transport.core.php on line 29
    
    Fatal error: require_once() [function.require]: Failed opening required '/Applications/XAMPP/xamppfiles/htdocs/beta5/core/xpdo/xpdo.class.php' (include_path='.:/Applications/xampp/xamppfiles/lib/php:/Applications/xampp/xamppfiles/lib/php/pear') in /Applications/XAMPP/xamppfiles/htdocs/beta5/_build/transport.core.php on line 29


    NO PROB. Downloaded from http://www.xpdo.org/download-beta.html and placed those in /core/xpdo

    THEN I get an error to the effect of
    Fatal error: Undefined class constant 'OPT_TABLE_PREFIX' in /Applications/XAMPP/xamppfiles/htdocs/beta5/_build/transport.core.php on line 54


    I’m new at the whole SVN thing - but any ideas?

    php v. 5.3.0
    mysql 5.1.37
    Apache 2.2.12
    XAMPP on MAC OS 10.6
      • 28215
      • 4,149 Posts
      What directory exactly did you svn checkout?
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 1441
        • 61 Posts
          • 28215
          • 4,149 Posts
          Can you verify the file: /Applications/XAMPP/xamppfiles/htdocs/beta5/core/xpdo/xpdo.class.php exists after you do a fresh checkout? If it doesnt, your SVN checkout messed up.
            shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
            • 1441
            • 61 Posts
            That was it. My SVN system was horked up.

            Here’s what I did on OSx to get SVN working fairly painlessly...


            And the fun commenced from there. Checkout now working properly. (Won’t say what I was doing before because I’m to embarrassed to do so...and I’m still not quite sure.)