View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 20585 | Bug reports | Question editor | public | 2026-06-30 16:41 | 2026-07-01 15:20 |
| Reporter | DavidPruem | Assigned To | |||
| Priority | none | Severity | partial_block | ||
| Status | new | Resolution | open | ||
| Product Version | 7.0.x | ||||
| Summary | 20585: New editor throws error - 404 could not resolve request editor | ||||
| Description | In a fresh install of limesurvey 7.0.5 I can create and edit a survey with the classic editor. As soon as I switch to the new editor I can neither edit an existing survey nor create a new one. To be more specific, when i try to create a new survey a survey is created but the redirect to the edit view of this new survey instantly throws an error. | ||||
| Steps To Reproduce | Steps to reproduce
Expected resultsurveys can be edited with the new editor Actual resultThe new editor does not work at all and throws instant errors whenever you try to create or edit a survey Debugging Output: | ||||
| Tags | No tags attached. | ||||
| Attached Files | nginx-site.config (3,488 bytes)
server {
#########################################################################
# Basic vhost settings
listen 443 ssl;
http2 on;
server_name survey.example.org;
root /var/www/html/limesurvey;
index index.php;
charset utf-8;
client_max_body_size 100M;
#########################################################################
# Redirect to index.php for limesurvey routing
try_files $uri /index.php?$uri&$args;
#########################################################################
# Limesurvey specific access restrictions
# Disallow reading inside php script directory, see issue with debug > 1 on note
location ~ ^/(application|docs|framework|locale|protected|tests|themes/\w+/views) {
deny all;
}
# Deny all attempts to access hidden files
location ~ /\. {
deny all;
}
#Disallow direct read user upload files
location ~ ^/upload/surveys/.*/fu_[a-z0-9]*$ {
return 444;
}
#Disallow uploaded potential executable files in upload directory
location ~* /upload/.*\.(pl|cgi|py|pyc|pyo|phtml|sh|lua|php|php3|php4|php5|php6|pcgi|pcgi3|pcgi4|pcgi5|pcgi6|icn)$ {
return 444;
}
#avoid processing of calls to unexisting static files by yii
location ~ \.(js|css|png|jpg|gif|swf|ico|pdf|mov|fla|zip|rar)$ {
try_files $uri =404;
}
# Disallow reading inside runtime directory
location ~ ^/var/www/survey-runtime/ {
deny all;
}
#########################################################################
# PHP-FPM Configuration
location ~ \.php$ {
include snippets/fastcgi-php.conf;
#fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_pass unix:/run/php/php8.4-fpm.sock;
#fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
#fastcgi_param SCRIPT_NAME $fastcgi_script_name;
include fastcgi_params;
# increase buffer size
fastcgi_buffers 16 16k;
fastcgi_buffer_size 32k;
}
#########################################################################
# SSL Configuration
ssl_certificate /etc/ssl/certs/survey.example.org-cert.pem;
ssl_certificate_key /etc/ssl/private/survey.example.org-key.pem;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on; # necessary for perfect forward secrecy
ssl_session_timeout 15m;
ssl_session_cache shared:MozSSL:10m; # about 40000 sessions
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains" always; # HSTS
keepalive_timeout 70;
gzip off;
#########################################################################
# Logging / anonymized access log
access_log "/var/log/nginx/survey-access.log combined_anon";
error_log "/var/log/nginx/survey-error.log warn";
}
server {
if ($host = survey.example.org) {
return 301 https://$host$request_uri;
}
listen 80;
listen [::]:80;
server_name default;
return 404;
}
application-config (1,870 bytes)
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
*/
return array(
'components' => array(
'db' => array(
'connectionString' => 'mysql:host=localhost;port=3306;dbname=limedb;',
'emulatePrepare' => true,
'username' => 'limeuser',
'password' => 'xxxxxxxxxxxxxxxxxxxxxxx',
'charset' => 'utf8mb4',
'tablePrefix' => 'lime_',
),
'session' => array (
'sessionName'=>'LS-xxxxxxxxxxxxxxx',
),
'urlManager' => array(
'urlFormat' => 'path',
'rules' => array(
// You can add your own rules here
),
'showScriptName' => true,
),
),
// If URLs generated while running on CLI are wrong, you need to set the baseUrl in the request component. For example:
//'request' => array(
// 'baseUrl' => '',
//),
'runtimePath'=>'/var/www/survey-runtime/', // out of server root writeable for www-data
'config'=>array(
'debug'=>1,
'debugsql'=>0, // Set this to 1 to enanble sql logging, only active when debug = 2
//'publicurl' => 'https://survey.example.org', // you also need to set baseUrl above
'mysqlEngine' => 'MYISAM', // Mysql database engine (INNODB|MYISAM)
// Update default LimeSurvey config here
'maxLoginAttempt' => 21,
'timeOutTime' => 300,
'defaultlang' => 'de'
)
);
/* End of file config.php */
/* Location: ./application/config/config.php */
| ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | limesurvey 7.0.5 buildnumber 260623 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | Firefox 152.0.3 | ||||
| Database type & version | Mysql (MariaDB 11.8.6) | ||||
| Server OS (if known) | Debian 13 Trixie | ||||
| Webserver software & version (if known) | Nginx 1.26.3 | ||||
| PHP Version | 8.4.21 via php-fpm | ||||
|
LimeSurvey version 7: I don't know if this will help (or if it warrants a separate page in the manual), but I tested it successfully on versions 7.0.2 and 7.0.5. I finally managed to see the new editor (I'll provide feedback after posting more information about the migration from v6.15 to v6.17.x, where I encountered some new surprises). Regarding the new editor and avoiding infinite loops:
Further relax access to the default document root:<Directory "/var/www/html"> Possible values ββfor the Options directive are "None", "All",or any combination of:Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViewsNote that "MultiViews" must be named explicitly --- "Options All"doesn't give it to you.The Options directive is both complicated and important. Please seehttp://httpd.apache.org/docs/2.4/mod/core.html#optionsfor more information.Options Indexes FollowSymLinks AllowOverride controls what directives may be placed in .htaccess files.It can be "All", "None", or any combination of the keywords:Options FileInfo AuthConfig LimitAllowOverride All Controls who can get stuff from this server.Require all granted
Normally the editor should work correctly. |
|
|
Uh... why is it so big???? |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-06-30 16:41 | DavidPruem | New Issue | |
| 2026-06-30 16:41 | DavidPruem | File Added: Screenshot 2026-06-30 at 15-47-37 404 Nicht gefunden.png | |
| 2026-06-30 16:41 | DavidPruem | File Added: Screenshot 2026-06-30 at 15-29-19 404 Nicht gefunden.png | |
| 2026-06-30 16:41 | DavidPruem | File Added: nginx-site.config | |
| 2026-06-30 16:41 | DavidPruem | File Added: application-config | |
| 2026-07-01 15:03 | riqcles | Note Added: 85137 | |
| 2026-07-01 15:03 | riqcles | Bug heat | 0 => 2 |
| 2026-07-01 15:05 | riqcles | Note Added: 85138 | |
| 2026-07-01 15:20 | DavidPruem | Issue Monitored: DavidPruem | |
| 2026-07-01 15:20 | DavidPruem | Bug heat | 2 => 4 |