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
    Well do they correspond with you accessing the MODx manager interface?
      • 7455
      • 2,204 Posts
      yes when I login I get the first 3
        follow me on twitter: @dimmy01
        • 22303 MODX Staff
        • 10,725 Posts
        Quote from: Dimmy at Sep 08, 2008, 02:28 PM

        yes when I login I get the first 3
        Yeah, I would suggest not using Revolution with PHP 5.1.6 at this time (at least not in native PDO mode). TBH, as I alluded to earlier, there are a lot of PDO bugs in the 5.1.x series, so I would again suggest trying it with 5.2.x or running it in the PDO emulation mode. In order to try this mode for now, just find the three config.core.php files, one for each context deployment location, and add the following line:
        define('XPDO_MODE', 2);

        In a default install, these files would be located at:
        {MODX_BASE_PATH}config.core.php
        {MODX_BASE_PATH}connectors/config.core.php
        {MODX_BASE_PATH}manager/config.core.php
          • 7455
          • 2,204 Posts
          ok now it looks like its working

          its still slow but that is because its an Alpha I think and not all the files etc are compressed and optimised yet?
          maybe there could be a conditional in the files like if php version is pre 5.2 that add define stuff.

          I think that there will be lots more people that have older versions running, and a small check like that wil save a lot of post in the forums and complains how the old was so much better etc.


          Dimmy
            follow me on twitter: @dimmy01
            • 22303 MODX Staff
            • 10,725 Posts
            Quote from: Dimmy at Sep 09, 2008, 01:54 AM

            ok now it looks like its working

            its still slow but that is because its an Alpha I think and not all the files etc are compressed and optimised yet?
            maybe there could be a conditional in the files like if php version is pre 5.2 that add define stuff.

            I think that there will be lots more people that have older versions running, and a small check like that wil save a lot of post in the forums and complains how the old was so much better etc.
            There’s no way to check; if PDO is enabled I have to assume you are running in a PDO-capable environment. 5.1.6 will work in most cases, but in your particular configuration, there are bugs in the PDO drivers. I cannot detect those or predict which ones will break the manager. We’ll make an option to force it in the install if the user identifies there are problems with their PDO environment.

            There may be a lot of people hosting their stuff on older PHP, but in general, most folks are working with PHP 5.2+ now, and, in most cases 5.1.x will not cause those problems. It’s just some particular combinations that we’ll have to work through folks environments with, like yours. Hopefully we can help them improve their environment along the way.

            Also, realize, by setting that mode, you are limited to a subset of PDO functionality anyway, and our support for non-PDO environments and the latter releases of PHP 4 is limited and will be going away as we progress anyway.