View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
19050 | Bug reports | Question editor | public | 2023-08-25 10:08 | 2024-09-03 17:48 |
Reporter | zufolo441 | Assigned To | c_schmitz | ||
Priority | normal | Severity | block | ||
Status | closed | Resolution | fixed | ||
Product Version | 6.2.x | ||||
Summary | 19050: Unable to add new question when DB is MSSQL | ||||
Description | Hi, when I try to create a new question, I obtain a 404 error. Please see attachments. | ||||
Steps To Reproduce | Steps to reproduceadd a question and save it Expected resultquestion created. Actual result404 error | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 10 | ||||
Complete LimeSurvey version number (& build) | 6.2.4 | ||||
I will donate to the project if issue is resolved | Yes | ||||
Browser | Firefox 116 | ||||
Database type & version | Microsoft SQL Server 2012 (SP3-GDR) (KB4019092) - 11.0.6251.0 (X64) | ||||
Server OS (if known) | Debian 12 | ||||
Webserver software & version (if known) | nginx + php-fpm | ||||
PHP Version | 8.2 | ||||
We currently don't have the internal resources to debug MSSQL. Your best bet is to yourself write a pull request that fixes it. |
|
Strange : questionIs is added. |
|
Hi, I solved by replacing dblib driver with MS SQL ODBC, version 17.6 . Newer versions aren't able to connect to SQL Server 2012 without encryption. |
|
Hi, Denis: i checked DB and question hasn't been added. I tried to edit existing question, but changed were not saved. But, this survey was imported from lss file without problems. Now I try yo use ODBC instead of dblib. thanks to everyone! |
|
meanwhile, trying to activate survey, I found an ortographic error in two files: ..and in SurveyActivator is missing the declaration: |
|
Oh it's the redirect after the creation, Then : there are an hidden issue when create. Our system didn't check if it's really created after redirect. Can you test with debug with 2 ? About MS SQL ODBC and encryption : add |
|
Hi, for encryption: the problem is related to our servers: we have an old 2012 version, and I cannot upgrade it. it works only with a version of ODBC that doesn't force encryption to TLS 1.2. for MSSQL driver: using ODBC instead of dblib (in debian enabled by installing package php8.2_sybase) it seems to work. |
|
On one instance set |
|
Hi, Denis, |
|
It's not the purpose, just to find a way. seems mssql accept TrustedServerCertificate only on IIS. Maybe some other way oin linux to get the good certificate OR accept any certificate. But it's not related to this issue ... |
|
I read elsewehere that SQL Server 2012 doesn't support TLS 1.2 and it causes problems with all OSes with OpenSSL v3... |
|
Great that the problem is solved. Please, can you leave some conclusions to add to doc? |
|
If i don't make error : problem is NOT really solved
But : hard to reproduce since need a server with DBlib driver @zufolo441 : can you test with same server, with dblib and LimeSurvey 5 ? |
|
Hi, require_once(DIR . '/../helpers/admin/activate_helper.php'); declaration somewhere in file. There is an ortographic error in function name too. regarding dblib, my opinion is that the problem is more OS/PHP/library related. There are problems with DDL: LS is unable to create tables. In this moment I cannot do tests because I have only that server, I'm the only linux admin in a Microsoft-ed organization :-) so, I couldn't use PGSQL as I usually did. |
|
I think compare LS5 against LS6 can be really intersiting If it work on LS3 : it can woirk on LS5 and LS6 ;) |
|
This issue should be fixed with fixes for 19578 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2023-08-25 10:08 | zufolo441 | New Issue | |
2023-08-25 10:08 | zufolo441 | File Added: Screenshot_20230825_100104.png | |
2023-08-25 10:08 | zufolo441 | File Added: Screenshot 2023-08-25 at 10-07-52 CHttpException.png | |
2023-08-25 10:16 | ollehar | Note Added: 76704 | |
2023-08-25 10:16 | ollehar | Bug heat | 0 => 2 |
2023-08-25 10:16 | ollehar | Priority | none => normal |
2023-08-25 10:16 | ollehar | Summary | unable to add new question when DB is MSSQL => Unable to add new question when DB is MSSQL |
2023-08-25 10:32 | DenisChenu | Note Added: 76705 | |
2023-08-25 10:32 | DenisChenu | Bug heat | 2 => 4 |
2023-08-25 13:05 | zufolo441 | Note Added: 76712 | |
2023-08-25 13:05 | zufolo441 | Bug heat | 4 => 6 |
2023-08-25 13:08 | zufolo441 | Note Added: 76713 | |
2023-08-25 14:01 | zufolo441 | Note Added: 76714 | |
2023-08-25 15:29 | DenisChenu | Note Added: 76716 | |
2023-08-25 15:29 | DenisChenu | Note Edited: 76716 | |
2023-08-25 16:42 | zufolo441 | Note Added: 76725 | |
2023-08-25 16:48 | DenisChenu | Note Added: 76727 | |
2023-08-26 00:05 | zufolo441 | Note Added: 76734 | |
2023-08-28 08:46 | DenisChenu | Note Added: 76739 | |
2023-08-28 12:02 | zufolo441 | Note Added: 76746 | |
2023-08-29 21:06 | gabrieljenik | Note Added: 76772 | |
2023-08-29 21:06 | gabrieljenik | Bug heat | 6 => 8 |
2023-08-30 08:25 | DenisChenu | Note Added: 76774 | |
2023-08-30 10:21 | zufolo441 | Note Added: 76779 | |
2023-08-30 10:37 | DenisChenu | Note Added: 76780 | |
2023-08-30 16:35 | gabrieljenik | Status | new => confirmed |
2024-09-03 17:48 | c_schmitz | Assigned To | => c_schmitz |
2024-09-03 17:48 | c_schmitz | Status | confirmed => closed |
2024-09-03 17:48 | c_schmitz | Resolution | open => fixed |
2024-09-03 17:48 | c_schmitz | Note Added: 80887 | |
2024-09-03 17:48 | c_schmitz | Bug heat | 8 => 10 |