It appears that the config parameter databaseport isn't being used for databasetype = 'odbc_mssql'. I changed line 121 of limesurvey/common.php to this:
| Code: |
case "odbc_mssql": $dbport="Driver={SQL Server};Server=$databaselocation,$databaseport;Database=".$databasename;
|
from this:
| Code: |
case "odbc_mssql": $dbport="Driver={SQL Server};Server=$databaselocation;Database=".$databasename;
|
and it is now working. (I am using LimeSurvey 1.71 .) I don't know whether or not this is the best fix - I'm not proficient in PHP.