Community Support for OpenDocMan (Deprecated)
Fatal error: Class 'PDO' - Printable Version

+- Community Support for OpenDocMan (Deprecated) (https://forum.opendocman.com)
+-- Forum: OpenDocMan Community Discussion (https://forum.opendocman.com/forum-5.html)
+--- Forum: OpenDocMan Support - Community Based (https://forum.opendocman.com/forum-6.html)
+--- Thread: Fatal error: Class 'PDO' (/thread-755.html)



Fatal error: Class 'PDO' - chrisleroy - 11-27-2014

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.


RE: Fatal error: Class 'PDO' - dibugg - 12-22-2014

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


RE: Fatal error: Class 'PDO' - adminla - 01-10-2015

(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.