View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
20154Feature requests_ Unknownpublic2025-06-26 18:38
ReporterDenisChenu Assigned To 
PrioritynoneSeverity@50@ 
Status newResolutionopen 
Summary20154: Debugging : need a way to get SQL error
Description

When have to debug : it can be difficult to have the SQL error only

Steps To Reproduce

Steps to reproduce

Try to import the lss (from this issue https://bugs.limesurvey.org/view.php?id=20153 )
To get the SQL error done
debug:0 : no SQL error
debug1 : PHP warning Attempt to read property "row" on null

Expected result

Have a way to get SQL error without debug set

Actual result

No solution

TagsNo tags attached.
Bug heat4
Story point estimate
Users affected %

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2025-06-26 16:48

developer   ~82981

@c_schmitz maybe superadmin can have the real SQL error here ?
https://github.com/LimeSurvey/LimeSurvey/pull/4309

c_schmitz

c_schmitz

2025-06-26 17:21

administrator   ~82986

Not a friend of such a solution.
We could discuss if the superadmin could activate some kind of
debug reporting from the admin interface.

DenisChenu

DenisChenu

2025-06-26 18:38

developer   ~82996

Or only initial superadmin ?

We have near same issue with survey activation : sometimes it's not the number of columns the issue. Set debug is the only solution to know what happens.

Issue History

Date Modified Username Field Change
2025-06-26 16:47 DenisChenu New Issue
2025-06-26 16:48 DenisChenu Note Added: 82981
2025-06-26 16:48 DenisChenu Bug heat 0 => 2
2025-06-26 17:21 c_schmitz Note Added: 82986
2025-06-26 17:21 c_schmitz Bug heat 2 => 4
2025-06-26 17:21 c_schmitz Project Bug reports => Feature requests
2025-06-26 18:38 DenisChenu Note Added: 82996