The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MSSQL and userspice
#2
I'd have to install something similar to test it out. That's actually the reason UserSpice uses pdo instead of mysqli. In THEORY PDO is designed to be a layer between all the queries and whatever database format is being used. I feel like there's a little extra config with sql server that might not be in the init.php.

Since I don't have that environment handy, if you would test this, I think it would work.

Go into classes/DB.php and replace your DB class with this one:

http://pastebin.com/ZVR6T1hw

Try it again. If that doesn't work, try going into line 31 and removing everything except for the ;

I'd REALLY appreciate you reporting back and letting me know if any of this works for you.
  Reply


Messages In This Thread
MSSQL and userspice - by sqluser - 09-06-2016, 06:43 AM
RE: MSSQL and userspice - by ChalitaDK - 03-17-2019, 04:59 PM
MSSQL and userspice - by mudmin - 09-06-2016, 02:31 PM
MSSQL and userspice - by cmo - 09-15-2017, 01:09 PM
MSSQL and userspice - by cmo - 09-15-2017, 01:34 PM
MSSQL and userspice - by mudmin - 09-15-2017, 01:56 PM
MSSQL and userspice - by mudmin - 09-15-2017, 01:59 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)