CodeIgniter Forums
CodeIgniter\system\database\DB.php call to missing \pdo\ directory ... - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: CodeIgniter\system\database\DB.php call to missing \pdo\ directory ... (/showthread.php?tid=14363)



CodeIgniter\system\database\DB.php call to missing \pdo\ directory ... - El Forum - 12-30-2008

[eluser]mpc[/eluser]
The following error:

Code:
Fatal error: require_once() [function.require]: Failed opening required '../CodeIgniter/system/database/drivers/pdo/pdo_driver.php' (include_path='.;C:\xampp\php\pear\') in C:\xampp\CodeIgniter\system\database\DB.php on line 129

... seems to be caused by DB.php calling a non-existent pdo_driver.php file in an, also, non-existent directory ... /database/pdo/

This code used to work, using a previous CodeIgniter version. I discovered this by setting up a fresh local notebook development environment, using the latest CodeIgniter version 1.7.0 (at this writing).