-
☆ A M B ☆
- 77 Posts
I tried using the following on my Revolution 2.0.1 installation and it still doesn’t work...
define(’XPDO_MODE’, 2);
Is this XPDO override still available?
No, xPDO is 5.1.1+ only now.
shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect |
github |
splittingred.com
-
☆ A M B ☆
- 77 Posts
I’m running php 5.2.0 - so given that it should work - right? Or no - this command is no longer applicable in Revolution 2 at all?
You shouldn’t have to define anything to run it; xPDO will automatically detect your PHP version.
shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect |
github |
splittingred.com
-
☆ A M B ☆
- 77 Posts
Thanks for your help with this so far. Strangely enough its not - is there a version of modx revolution beta5 that I can try?
I get this when I run the installer: Connecting to mysql server:
MODx requires the pdo_mysql driver when native PDO is being used and it does not appear to be loaded.
When I use a previously installed site I tried to migrate I get this:
Fatal error: Undefined class constant ’MYSQL_ATTR_USE_BUFFERED_QUERY’ in /home/progress/oworks/docs/BB_2011/alpha/core/model/modx/modx.class.php on line 351
Basically, I’m on a version of php5.2 on solaris which doesn’t have PDO for mysql compiled in. Recompiling php on this box might not be an option - thus i’m exploring pdo emulation with xPDO
-
☆ A M B ☆
- 77 Posts
I posted my last reply prior to reading the last post here. So is there a version of revolution I can run without the pdo mysql driver? I’d love to have some of the revolution features - even if its a beta or previous release - for the time being at least.