View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
20001 | Bug reports | Theme editor | public | 2025-03-07 17:07 | 2025-03-07 17:07 |
Reporter | mguzzinati | Assigned To | |||
Priority | none | Severity | partial_block | ||
Status | new | Resolution | open | ||
Product Version | 6.6.x | ||||
Summary | 20001: JavaScript error and "JavaScript disabled" warning in Theme Editor Welcome page preview. | ||||
Description | After a fresh installation of LimeSurvey, when opening the Theme Editor and previewing the Welcome page of any theme (e.g., Fruity), a warning message appears at the top of the preview: "Caution: JavaScript execution is disabled in your browser or for this website. You may not be able to answer all questions in this survey. Please, verify your browser parameters." This message is incorrect because JavaScript is fully enabled in the browser. Additionally, the Welcome page preview displays with broken styles (misaligned elements, incorrect formatting), and the browser console logs multiple JavaScript errors, such as: | ||||
Steps To Reproduce | Steps to reproduceInstall a fresh version of LimeSurvey. Login to the LimeSurvey administration panel. Go to Configuration > Themes. Select a theme, for example "Fruity". Open the Theme Editor. In the preview section of welcome screen, I can see the theme preview, but at the top of the preview I also see the following message: "Caution: JavaScript execution is disabled in your browser or for this website. You may not be able to answer all questions in this survey. Please, verify your browser parameters." Expected resultWhen opening the Theme Editor for a theme (e.g., Fruity), the Welcome page preview should appear correctly, fully styled according to the theme. Actual resultAfter opening the Theme Editor and loading the preview of the Welcome page, the preview displays with the following issues: At the top of the preview, the following warning message appears: "Caution: JavaScript execution is disabled in your browser or for this website. You may not be able to answer all questions in this survey. Please, verify your browser parameters." This message is incorrect, because JavaScript is fully enabled in the browser. The Welcome page preview itself has graphical issues, including: Some elements appear misaligned. Uncaught ReferenceError: LSvar is not defined | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 0 | ||||
Complete LimeSurvey version number (& build) | 6.10.5 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | firefox, chrome | ||||
Database type & version | postgres | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | 8.2 | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2025-03-07 17:07 | mguzzinati | New Issue | |
2025-03-07 17:07 | mguzzinati | File Added: Screenshot 2025-03-07 170549.png | |
2025-03-07 17:07 | mguzzinati | File Added: Screenshot 2025-03-07 170659.png |