Krlos Posted November 17, 2017 Share Posted November 17, 2017 Hi, I'm having this problem: [06-Nov-2017 16:05:56 America/Santiago] PHP Fatal error: Uncaught Error: Undefined class constant 'MYSQL_ATTR_INIT_COMMAND' in /home/maiposalud/devel.maiposalud.cl/wire/core/WireDatabasePDO.php:137 Stack trace: #0 /home/maiposalud/devel.maiposalud.cl/wire/core/ProcessWire.php(371): ProcessWire\WireDatabasePDO::getInstance(Object(ProcessWire\Config)) #1 /home/maiposalud/devel.maiposalud.cl/wire/core/ProcessWire.php(209): ProcessWire\ProcessWire->load(Object(ProcessWire\Config)) #2 /home/maiposalud/devel.maiposalud.cl/index.php(52): ProcessWire\ProcessWire->__construct(Object(ProcessWire\Config)) #3 {main} thrown in /home/maiposalud/devel.maiposalud.cl/wire/core/WireDatabasePDO.php on line 137 Any ideas? Link to comment Share on other sites More sharing options...
adrian Posted November 17, 2017 Share Posted November 17, 2017 You need to install the PDO driver: https://stackoverflow.com/a/6735730/1524576 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now