PDOException Object
(
[message:protected] => SQLSTATE[IMSSP]: This extension requires the Microsoft ODBC Driver for SQL Server to communicate with SQL Server. Access the following URL to download the ODBC Driver for SQL Server for x64: https://go.microsoft.com/fwlink/?LinkId=163712
[string:Exception:private] =>
[code:protected] => IMSSP
[file:protected] => /home/webitool/ebilet.webitool.com/libs/lib_db.php
[line:protected] => 26
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /home/webitool/ebilet.webitool.com/libs/lib_db.php
[line] => 26
[function] => __construct
[class] => PDO
[type] => ->
)
[1] => Array
(
[file] => /home/webitool/ebilet.webitool.com/libs/lib_db.php
[line] => 48
[function] => openDB
[class] => Database
[type] => ::
)
[2] => Array
(
[file] => /home/webitool/ebilet.webitool.com/libs/lib_db.php
[line] => 238
[function] => getFromDatabase
[class] => Database
[type] => ::
)
[3] => Array
(
[file] => /home/webitool/ebilet.webitool.com/libs/lib_site.php
[line] => 184
[function] => getFromDatabase
)
[4] => Array
(
[file] => /home/webitool/ebilet.webitool.com/index.php
[line] => 2
[args] => Array
(
[0] => /home/webitool/ebilet.webitool.com/libs/lib_site.php
)
[function] => require_once
)
)
[previous:Exception:private] =>
[errorInfo] => Array
(
[0] => IMSSP
[1] => -1
[2] => This extension requires the Microsoft ODBC Driver for SQL Server to communicate with SQL Server. Access the following URL to download the ODBC Driver for SQL Server for x64: https://go.microsoft.com/fwlink/?LinkId=163712
)
)
Fatal error: Uncaught Error: Call to a member function prepare() on null in /home/webitool/ebilet.webitool.com/libs/lib_db.php:52
Stack trace:
#0 /home/webitool/ebilet.webitool.com/libs/lib_db.php(238): Database::getFromDatabase()
#1 /home/webitool/ebilet.webitool.com/libs/lib_site.php(184): getFromDatabase()
#2 /home/webitool/ebilet.webitool.com/index.php(2): require_once('/home/webitool/...')
#3 {main}
thrown in /home/webitool/ebilet.webitool.com/libs/lib_db.php on line 52