I am trying to setup a fresh install to test OpenCart for a project.
During setup, I get this error.
Undefined constant PDO::MYSQL_ATTR_INIT_COMMAND: in C:\OpenCart\system\library\db\pdo.php on line 37
Windows 10
IIS with PHP(ver 8.3.2, module list attached)
MySQL (v 8.0.36)
OpenCart (v4.0.2.3)
Also, only mPDO shows up as a DbDriver. I was expecting a MySQLi option per the docs.
Please advise on how to troubleshoot this.
If MySQLi extension does not show up on the list, then it might be something with your virtual server that may require configuration to load the library prior to install OC.mnoreke wrote: ↑Sun Feb 04, 2024 4:03 amI am trying to setup a fresh install to test OpenCart for a project.
During setup, I get this error.
Undefined constant PDO::MYSQL_ATTR_INIT_COMMAND: in C:\OpenCart\system\library\db\pdo.php on line 37
Windows 10
IIS with PHP(ver 8.3.2, module list attached)
MySQL (v 8.0.36)
OpenCart (v4.0.2.3)
Also, only mPDO shows up as a DbDriver. I was expecting a MySQLi option per the docs.
Please advise on how to troubleshoot this.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 3 guests