View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
20233Bug reportsQuestion themepublic2025-08-27 18:05
ReporterFreda Assigned Totibor.pacalat  
PrioritynoneSeveritycrash 
Status ready for testingResolutionopen 
Product Version6.6.x 
Summary20233: Question Themes not compatible with LimeSurvey 6
Description

Attempting to develop and use custom question themes in LimeSurvey 6 results in installation issues and PHP errors.

Notes from Reproduction

  • In config.xml, the <compatibility> block only contains 4.0 and 5.0, error persists even on adding 6.0.
  • Not properly setting the mother template may also be related.
  • Possibly the theme importer damages config.xml during upload.

Attached ZIP of the tested questiontheme_example

Steps To Reproduce

Steps to reproduce

  1. Download the example_question_theme from the official repo:
https://github.com/LimeSurvey/LimeSurvey/tree/develop/docs/themes/question_themes/example_question_theme
    https://github.com/LimeSurvey/LimeSurvey/tree/develop/docs/themes/questiontheme_example/survey/questions/answer/listradio
  2. Zip the folder and upload it in LimeSurvey.
  3. Install the theme.

Expected result

Question themes from the official repo or copies of built-in themes should install and function in LimeSurvey 6.

Actual result

On upload:
LS sometimes auto-uninstalls the theme with the message:
Theme 'questiontheme_example' has been uninstalled because it's not compatible with this LimeSurvey version.

config.xml seems to get corrupted on import.

TagsNo tags attached.
Attached Files
Bug heat4
Complete LimeSurvey version number (& build).
I will donate to the project if issue is resolvedNo
Browser
Database type & version.
Server OS (if known)
Webserver software & version (if known)
PHP Version.

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2025-08-25 14:09

administrator   ~83310

https://github.com/LimeSurvey/LimeSurvey/tree/develop/docs/themes/question_themes/example_question_theme does not even exist for me - also it is development branch.

gabrieljenik

gabrieljenik

2025-08-26 16:35

manager   ~83321

https://github.com/LimeSurvey/LimeSurvey/pull/4417/

The sample is theme is located in
docs/themes/questiontheme_example/survey/questions/answer/listradio/

Issue History

Date Modified Username Field Change
2025-08-21 09:44 Freda New Issue
2025-08-21 09:44 Freda File Added: questiontheme_example.zip
2025-08-25 14:08 c_schmitz Assigned To => gabrieljenik
2025-08-25 14:08 c_schmitz Status new => assigned
2025-08-25 14:09 c_schmitz Note Added: 83310
2025-08-25 14:09 c_schmitz Bug heat 0 => 2
2025-08-25 14:44 Freda Steps to Reproduce Updated
2025-08-26 16:35 gabrieljenik Assigned To gabrieljenik => DenisChenu
2025-08-26 16:35 gabrieljenik Status assigned => ready for code review
2025-08-26 16:35 gabrieljenik Note Added: 83321
2025-08-26 16:35 gabrieljenik Bug heat 2 => 4
2025-08-26 17:02 DenisChenu Assigned To DenisChenu => gabrieljenik
2025-08-26 17:02 DenisChenu Status ready for code review => in code review
2025-08-27 18:05 DenisChenu Assigned To gabrieljenik => tibor.pacalat
2025-08-27 18:05 DenisChenu Status in code review => ready for testing