Hi Mazi,
I switched from driver 'mssql_n' to 'odbc_mssql'. Bottomline is that it still not solved (all) my problems or that it introduced new errors.
Installation of an odbc driver on Linux is quite an experience. I use Freetds and the php-odbc module. I installed a system DSN by configure freetds.conf, odbc.ini and odbcinst.ini.
To get Limesurvey recognize the system DSN on Linux, you need to adapt common.php as is written somewhere else on this forum. (line 160 should be
Code:
case "odbc_mssql": $dbhost="$databaselocation";
)
Directly after login in limesurvey admin section, you get a blank page. After completely debugging limesurvey till the specific query that gave problems, I noticed in the freetds logging that the query/action somehow was canceled. Some searching on the Internet learned me that I needed to upgrade my freetds driver from version 0.64 to 0.82. After this I was able to login and do the same stuff as with the mssql_n driver.
One point seems to be solved now; mandatory questions are validated again after survey activation.
While importing the specific survey I still get the same error that my tmp folder has not enough permissions. I think I do a complete debugging of limesurvey for this problem too.
When copying the specific survey I got a different error now:
Code:
Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 11209: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xC4 0x3F 0x64 0x65 in /var/www/html/limesurvey/admin/importsurvey.php on line 1232
Warning: simplexml_load_string() [function.simplexml-load-string]: <answer><![CDATA[Ni�?de]]></answer> in /var/www/html/limesurvey/admin/importsurvey.php on line 1232
Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /var/www/html/limesurvey/admin/importsurvey.php on line 1232
Notice: Trying to get property of non-object in /var/www/html/limesurvey/admin/importsurvey.php on line 1235
This is not a valid LimeSurvey survey structure XML file.
This seems to be a charset problem now with the current driver.
Any advise?