Error: pdo extension not found #15
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Same here. [Tue Nov 22 11:33:47.448021 2022] [php:notice] [pid 9663] [client xxxx:57738] PHP Notice: pdo extension not found. in /var/www/html/porter/src/Database/DbFactory.php on line 42, referer: http://xxxxx/porter/index.php [Tue Nov 22 11:33:47.448078 2022] [php:error] [pid 9663] [client xxxxxx:57738] PHP Fatal error: Uncaught Error: Class "\Porter\Database\pdoDb" not found in /var/www/html/porter/src/Database/DbFactory.php:45\nStack trace:\n#0 /var/www/html/porter/src/ExportModel.php(652): Porter\Database\DbFactory->getInstance()\n#1 /var/www/html/porter/src/ExportModel.php(498): Porter\ExportModel->executeQuery()\n#2 /var/www/html/porter/src/ExportModel.php(458): Porter\ExportModel->query()\n#3 /var/www/html/porter/src/Controller.php(25): Porter\ExportModel->setCharacterSet()\n#4 /var/www/html/porter/src/Controller.php(106): Porter\Controller::doExport()\n#5 /var/www/html/porter/index.php(12): Porter\Controller::run()\n#6 {main}\n thrown in /var/www/html/porter/src/Database/DbFactory.php on line 45, referer: http://xxxx/porter/index.php php -i | grep PDO From cli: usr@localhost:/var/www/html/porter# ./bin/porter |
Beta Was this translation helpful? Give feedback.
-
There's a simple fix:
That will get you past that step, unfortunately there seems to be other issues I'm hitting past that. |
Beta Was this translation helpful? Give feedback.
-
I did a bit of research since I haven't had this issue myself. It appears this is an autoloader case-sensitivity issue. While class names are case-insensitive sometimes unloaded classes won't be found. Thanks for the pull request, this will be in the next version. |
Beta Was this translation helpful? Give feedback.
There's a simple fix:
That will get you past that step, unfortunately there seems to be other issues I'm hitting past that.