Community Support for OpenDocMan (Deprecated)

Full Version: Fatal error: Class 'PDO'
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This is the first time I have installed opendocman on a website. The site is an IIS Webserver with PHP and MYSQL on top.

I really cannot work out why I am getting the following error:

Fatal error: Class 'PDO' not found in Z:\Websites\Company\docs.oneonone.edu.au\odm-init.php on line 37

From what I can see you need to have these extensions turned on:

extension=php_pdo.dll
extension=php_pdo_mssql.dll

I am open to any advice on how to fix this.
i have installed it on a virtual server WHM and under Cpanel and have selm Error. may let me know as you found the bug. thanks
(11-27-2014, 08:01 PM)chrisleroy Wrote: [ -> ]This is the first time I have installed opendocman on a website. The site is an IIS Webserver with PHP and MYSQL on top.
I really cannot work out why I am getting the following error:
Fatal error: Class 'PDO' not found in Z:\Websites\Company\docs.oneonone.edu.au\odm-init.php on line 37
From what I can see you need to have these extensions turned on:
extension=php_pdo.dll
extension=php_pdo_mssql.dll
I am open to any advice on how to fix this.

php_pdo_mssql is not the same as php_pdo_mysql. Also, you need to verify the php has loaded the extension by doing "php -i" or adding "phpinfo();" to a test file.