Answer the question
In order to leave comments, you need to log in
Can't connect CodeIgniter to MSSQL server?
I'm trying to set up the application so that it works from a poppy, I kind of followed the guide and it seems that everything worked, at least it finds MSSQL in phpinfo.
mssql
MSSQL Support enabled
Active Persistent Links 0
Active Links 0
Library version FreeTDS
But the application does not work and gives an error, I am not very familiar with CodeIgniter myself, I went through the starting tutorial, tried to google, but did not get a clear answer to the current problem.
Here is the error code
[Thu Aug 06 09:42:54.251630 2015] [:error] [pid 23456] [client 192.168.15.166:59689] PHP 1. {main}() /Library/WebServer/Documents/Websites/cdclink/index.php:0
[Thu Aug 06 09:42:54.251643 2015] [:error] [pid 23456] [client 192.168.15.166:59689] PHP 2. require_once() /Library/WebServer/Documents/Websites/cdclink/index.php:202
[Thu Aug 06 09:42:54.251656 2015] [:error] [pid 23456] [client 192.168.15.166:59689] PHP 3. CI_Controller->__construct() /Library/WebServer/Documents/Websites/cdclink/system/core/CodeIgniter.php:308
[Thu Aug 06 09:42:54.251670 2015] [:error] [pid 23456] [client 192.168.15.166:59689] PHP 4. CI_Loader->initialize() /Library/WebServer/Documents/Websites/cdclink/system/core/Controller.php:51
[Thu Aug 06 09:42:54.251684 2015] [:error] [pid 23456] [client 192.168.15.166:59689] PHP 5. CI_Loader->_ci_autoloader() /Library/WebServer/Documents/Websites/cdclink/system/core/Loader.php:152
[Thu Aug 06 09:42:54.251723 2015] [:error] [pid 23456] [client 192.168.15.166:59689] PHP 6. CI_Loader->database() /Library/WebServer/Documents/Websites/cdclink/system/core/Loader.php:1171
[Thu Aug 06 09:42:54.251734 2015] [:error] [pid 23456] [client 192.168.15.166:59689] PHP 7. DB() /Library/WebServer/Documents/Websites/cdclink/system/core/Loader.php:346
[Thu Aug 06 09:42:54.251749 2015] [:error] [pid 23456] [client 192.168.15.166:59689] PHP 8. CI_DB_driver->initialize() /Library/WebServer/Documents/Websites/cdclink/system/database/DB.php:148
[Thu Aug 06 09:42:54.251761 2015] [:error] [pid 23456] [client 192.168.15.166:59689] PHP 9. CI_DB_sqlsrv_driver->db_pconnect() /Library/WebServer/Documents/Websites/cdclink/system/database/DB_driver.php:115
[Thu Aug 06 09:42:54.251773 2015] [:error] [pid 23456] [client 192.168.15.166:59689] PHP 10. CI_DB_sqlsrv_driver->db_connect() /Library/WebServer/Documents/Websites/cdclink/system/database/drivers/sqlsrv/sqlsrv_driver.php:89
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question