View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 20691 | Bug reports | Question editor | public | 2026-09-15 00:20 | 2026-09-17 13:12 |
| Reporter | ilot | Assigned To | c_schmitz | ||
| Priority | none | Severity | partial_block | ||
| Status | closed | Resolution | fixed | ||
| Summary | 20691: New editor does not load on IONOS shared hosting. | ||||
| Description | The new editor only shows "Check permission" with an endless loading spinner. This is caused by two issues.
/rest/v1/version-info The .htaccess rewrite does not determine the correct base path. Add: RewriteCond %{REQUEST_URI}::$1 ^(.?/)(.)::\2$ and replace: RewriteRule . index.php with: RewriteRule ^ %{ENV:BASE}index.php See: https://stackoverflow.com/questions/21062290/set-rewritebase-to-the-current-folder-path-dynamically This fixes /rest/v1/version-info.
After fixing the rewrite, /rest/v1/user-permissions and other authenticated endpoints return HTTP 401. The browser sends the Bearer header, but on IONOS it is available in PHP as: $_SERVER['REDIRECT_HTTP_AUTHORIZATION'] Add this fallback to getAuthBearerToken() in: /limesurvey/application/libraries/Api/Rest/Endpoint/EndpointFactory.php if ( Apache seems to add the REDIRECT_ prefix during rewrites. Related issue: https://github.com/martialblog/docker-limesurvey/issues/302 WordPress also checks REDIRECT_HTTP_AUTHORIZATION as a fallback: https://developer.wordpress.org/reference/classes/wp_rest_server/get_headers/ | ||||
| Steps To Reproduce | Steps to reproduce Install LimeSurvey 7.1.0 on IONOS shared hosting in /limesurvey/. Point xxx.yyy.com to /limesurvey/. Open the new editor. Expected result The new editor loads. Actual result The editor shows "Check permission" with an endless loading spinner. (Write here what happened instead) | ||||
| Tags | No tags attached. | ||||
| Bug heat | 8 | ||||
| Complete LimeSurvey version number (& build) | 7.1.0 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | |||||
| Database type & version | MariaDB 11.8 | ||||
| Server OS (if known) | |||||
| Webserver software & version (if known) | |||||
| PHP Version | 8.4 | ||||
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=40339 |
|
|
Thank you very much! |
|
|
Done ;) |
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=40342 |
|
|
Fixed in Release 7.1.2+260917 |
|
|
LimeSurvey: master acc33adc 2026-09-15 10:53 Details Diff |
Fixed issue 20691: New editor does not load in some hosting configurations |
Affected Issues 20691 |
|
| mod - application/libraries/Api/Rest/Endpoint/EndpointFactory.php | Diff File | ||
|
LimeSurvey: master f5fc370c 2026-09-15 15:10 Details Diff |
Fixed issue 20691: New editor does not load in some hosting configurations |
Affected Issues 20691 |
|
| mod - .htaccess | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-09-15 00:20 | ilot | New Issue | |
| 2026-09-15 00:26 | ilot | Issue Monitored: ilot | |
| 2026-09-15 00:26 | ilot | Bug heat | 0 => 2 |
| 2026-09-15 10:53 | c_schmitz | Changeset attached | => LimeSurvey master acc33adc |
| 2026-09-15 10:53 | c_schmitz | Note Added: 85752 | |
| 2026-09-15 10:53 | c_schmitz | Assigned To | => c_schmitz |
| 2026-09-15 10:53 | c_schmitz | Status | new => resolved |
| 2026-09-15 10:53 | c_schmitz | Resolution | open => fixed |
| 2026-09-15 10:53 | c_schmitz | Bug heat | 2 => 4 |
| 2026-09-15 13:30 | ilot | Note Added: 85755 | |
| 2026-09-15 13:30 | ilot | Bug heat | 4 => 6 |
| 2026-09-15 15:10 | c_schmitz | Note Added: 85756 | |
| 2026-09-15 15:13 | c_schmitz | Changeset attached | => LimeSurvey master f5fc370c |
| 2026-09-15 15:13 | c_schmitz | Note Added: 85757 | |
| 2026-09-17 13:12 | LimeBot | Note Added: 85807 | |
| 2026-09-17 13:12 | LimeBot | Status | resolved => closed |
| 2026-09-17 13:12 | LimeBot | Bug heat | 6 => 8 |