We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22303 MODX Staff
    • 10,725 Posts
    PDO is not required and there is a workaround for the problem situation where you have PHP 5.1+ but do not have the PDO_mysql driver available (which is why it is failing here). But you must force xPDO to use an emulated version of PDO (included in xPDO) by setting a constant in each of your index.php entry points (i.e. /index.php, /manager/index.php, /connectors/index.php). Here is the code you’ll uncomment and copy to each one; it’s included in the index.php.
    <?php
    //[OPTIONAL]: for forcing emulated PDO when required native PDO drivers are not available
    define('XPDO_MODE', 2);
    ?>

    I’m looking for a way to detect and automate setting this mode.

    That said, everyone with PHP 5.1 and MySQL in the same environment should absolutely have the mysql PDO driver in their configuration, or request that it be added.
      • 17673
      • 194 Posts

      I cannot connect to ’http://svn.modxcms.com/svn/tattoo/tattoo/branches/0.9.7’ , I’m using svnX on Macos 10.4:

      error message:

      svn: ’http://svn.modxcms.com/svn/tattoo/tattoo/branches/’ is not a working copy.
      svn:’http://svn.modxcms.com/svn/tattoo/tattoo/branches/.svn/entries’ No such file or directory
        ----------------------------------------------------------
        http://www.linkedin.com/in/lucapost/
        http://www.twitter.com/lukwe/
        ----------------------------------------------------------
        • 27708 MODX Staff
        • 2,502 Posts
        Your URL is correct but are you trying to checkout or export you cannot use import (which means to import to a repo) or update (which updates a working copy)? Or are you just trying to browse the repo?
          Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. Blog ✦ Twitter ✦ LinkedIn ✦ GitHub
          • 17673
          • 194 Posts
          I get the error message by adding the url to the svnX ’repositories’ window and clicking on it (before even getting to click the export button);
          same thing happens in the ’Working copies’ window.

          Trying to access just the general http://svn.modxcms.com also fails.


            ----------------------------------------------------------
            http://www.linkedin.com/in/lucapost/
            http://www.twitter.com/lukwe/
            ----------------------------------------------------------
            • 27708 MODX Staff
            • 2,502 Posts
            No idea then. I am on WinXP using Tortoise and it works fine. I have also used the command line svn on Windows no problem. Must be a Mac or svnX issue. sad
              Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. Blog ✦ Twitter ✦ LinkedIn ✦ GitHub
              • 28215
              • 4,149 Posts
              I recommend using SmartSVN for mac. Way better than svnX.
                shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
                • 11041
                • 82 Posts
                Quote from: OpenGeek at Feb 27, 2008, 08:47 AM

                PDO is not required and there is a workaround for the problem situation where you have PHP 5.1+ but do not have the PDO_mysql driver available (which is why it is failing here). But you must force xPDO to use an emulated version of PDO (included in xPDO) by setting a constant in each of your index.php entry points (i.e. /index.php, /manager/index.php, /connectors/index.php). Here is the code you’ll uncomment and copy to each one; it’s included in the index.php.
                <?php
                //[OPTIONAL]: for forcing emulated PDO when required native PDO drivers are not available
                define('XPDO_MODE', 2);
                ?>

                I’m looking for a way to detect and automate setting this mode.

                That said, everyone with PHP 5.1 and MySQL in the same environment should absolutely have the mysql PDO driver in their configuration, or request that it be added.

                Very useful information.

                I have, as you instructed, un commented this now in all 3 index files, however I still receive a completely blank setup page. Something I suppose is telling me this is not meant to be wink lolol.
                  • 17673
                  • 194 Posts
                  same problem with smartSVN; might be some proxy/Lan issue; I’ll try from outside
                    ----------------------------------------------------------
                    http://www.linkedin.com/in/lucapost/
                    http://www.twitter.com/lukwe/
                    ----------------------------------------------------------
                    • 5091
                    • 332 Posts
                    This page no longer available?

                    http://svn.modxcms.com/trac/tattoo/wiki/DevelopmentAndTestingNotes

                    I wanted to reinstall the svn.0.9.7 but forgot the steps, last time I got it working by reading the above page.
                    Thanks!

                      • 16034
                      • 107 Posts
                      Quote from: chinesedream at Mar 01, 2008, 03:02 AM

                      This page no longer available?
                      http://svn.modxcms.com/trac/tattoo/wiki/DevelopmentAndTestingNotes

                      It’s been moved, you can find it here now: http://svn.modxcms.com/docs/display/MODx097/Development+and+Testing+Notes

                      (The answer was actually hidden a page or two back in this thread ;-))

                      Edit: Note to self: Remember to copy an URI when you want to paste it...
                        MODx snippet-glossary 101:
                        Ditto = Content Lister -- Wayfinder == Menu Builder -- Jot = Comment Control