View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
20585Bug reportsQuestion editorpublic2026-07-01 15:20
ReporterDavidPruem Assigned To 
PrioritynoneSeveritypartial_block 
Status newResolutionopen 
Product Version7.0.x 
Summary20585: 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

  • Install limesurvey ce 7.0.5
  • create new survey with classic editor
  • switch setting to new editor
  • create new survey

Expected result

surveys can be edited with the new editor

Actual result

The new editor does not work at all and throws instant errors whenever you try to create or edit a survey

Debugging Output:
#0 /var/www/html/limesurvey/vendor/yiisoft/yii/framework/web/CWebApplication.php(141): CWebApplication->runController()
#1 /var/www/html/limesurvey/vendor/yiisoft/yii/framework/base/CApplication.php(185): CWebApplication->processRequest()
#2 /var/www/html/limesurvey/index.php(161): CApplication->run()
#3 {main}

TagsNo 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;
}
nginx-site.config (3,488 bytes)   
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 */
application-config (1,870 bytes)   
Bug heat4
Complete LimeSurvey version number (& build)limesurvey 7.0.5 buildnumber 260623
I will donate to the project if issue is resolvedNo
BrowserFirefox 152.0.3
Database type & versionMysql (MariaDB 11.8.6)
Server OS (if known)Debian 13 Trixie
Webserver software & version (if known)Nginx 1.26.3
PHP Version8.4.21 via php-fpm

Users monitoring this issue

DavidPruem

Activities

riqcles

riqcles

2026-07-01 15:03

reporter   ~85137

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:

  1. Apache module rewrite:
    Check if the rewrite module is loaded:
    httpd -M | grep rewrite
    If so, follow this procedure: https://www.hostwinds.fr/tutorials/enable-mod_rewrite

  2. Apache http.conf file (standard installation)
    Change the following value: <AllowOverride None> to <AllowOverride All>

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 MultiViews

Note that "MultiViews" must be named explicitly --- "Options All"

doesn't give it to you.

The Options directive is both complicated and important. Please see

http://httpd.apache.org/docs/2.4/mod/core.html#options

for 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 Limit

AllowOverride All

Controls who can get stuff from this server.

Require all granted
</Directory>

  1. Restart the Apache server
    systemctl restart httpd

Normally the editor should work correctly.

riqcles

riqcles

2026-07-01 15:05

reporter   ~85138

Uh... why is it so big????

Issue History

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