View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
20045Bug reportsSurvey takingpublic2025-04-24 00:18
Reporterbaltzis Assigned Togabrieljenik  
PrioritynoneSeverityblock 
Status assignedResolutionopen 
Product Version6.6.x 
Summary20045: Survey alias: share survey link = not found
Description

See bug ID 19420. It seems that after the last update to Version 6.12.3+250331, the bug reappeared.

Steps To Reproduce

Steps to reproduce

Go to text elements of any survey
Add the alias
Click the shared alias URL link to start the survey

Expected result

The survey should start

Actual result

The "not found" error page appears

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)Community edition Version 6.12.3+250331
I will donate to the project if issue is resolvedNo
BrowserAny (Firefox. Chrome, Edge)
Database type & versionmysql, mysqlnd 8.3.6
Server OS (if known)Linux surveysjour 6.8.0-57-generic #59-Ubuntu SMP PREEMPT_DYNAMIC
Webserver software & version (if known)Apache/2.4.58 (Ubuntu)
PHP Version8.3.6

Users monitoring this issue

There are no users monitoring this issue.

Activities

gabrieljenik

gabrieljenik

2025-04-11 14:37

manager   ~82413

Couldn't reproduce this. Can you provide more info about your config file? Ex: Do you use custom configuration for publicurl?

baltzis

baltzis

2025-04-13 19:22

reporter   ~82416

I have not touched any config file. Besides, I would not know which file and what to do. Therefore, the answer is no. I don't use any custom configuration for publicurl. In the config.php file there is no 'publicurl' and in the config-defaults.php file, these are the lines under 'Advanced Setup':

// The public URL is the URL that is used for anything that is facing a survey participant.
// It can be used to have a separation / distinction between a public URL for surveys and a private one for
// the administration - for example for certain proxy configurations or internal/external domain separation
if (!isset($argv[0]) && Yii::app() != null) {
$config['publicurl'] = Yii::app()->baseUrl . '/'; // The public website location (url) of the public survey script
} else {
$config['publicurl'] = '/';
}

$config['assets'] = 'assets/';

// URL definitions
$config['homeurl'] = $config['publicurl'] . 'admin'; // The website location (url) of the admin scripts
$config['tempurl'] = $config['publicurl'] . 'tmp';
$config['imageurl'] = $config['publicurl'] . 'assets/images'; // Location of button bar files for admin script
$config['uploadurl'] = $config['publicurl'] . 'upload';
$config['standardthemerooturl'] = $config['publicurl'] . 'themes/survey'; // Location of the standard themes
$config['adminscripts'] = $config['publicurl'] . 'assets/scripts/admin/';
$config['generalscripts'] = $config['publicurl'] . 'assets/scripts/';
$config['packages'] = $config['publicurl'] . 'assets' . DIRECTORY_SEPARATOR . 'packages';
$config['vendor'] = $config['publicurl'] . 'vendor/';
$config['styleurl'] = $config['publicurl'] . 'themes/admin/';
$config['publicstyle'] = $config['publicurl'] . $config['assets'] . 'styles-public/';
$config['publicstyleurl'] = $config['publicstyle'];
$config['sCKEditorURL'] = $config['assets'] . 'ckeditor';
$config['userthemerooturl'] = $config['uploadurl'] . '/themes/survey'; // Location of the user themes
$config['adminimageurl'] = $config['styleurl'] . $config['admintheme'] . '/images/'; // Location of button bar files for admin script
$config['applicationurl'] = $config['publicurl'] . 'application/';
$config['extensionsurl'] = $config['applicationurl'] . 'extensions/';
$config['adminstyleurl'] = $config['styleurl'] . $config['admintheme'] . '/'; // Location of button bar files for admin script
$config['userfontsurl'] = $config['uploadurl'] . '/fonts'; // Location of user's fonts

baltzis

baltzis

2025-04-13 19:31

reporter   ~82417

I just found out that if i add "/index.php/" before the alias name in the URL, the URL works just fine!

More specifically, when I add an alias in "Survey alias:" field, the URL becomes "https://newsurveys.jour.auth.gr/alias" and then we get the "page not found" error. But, if I write the URL as "https://newsurveys.jour.auth.gr/index.php/alias", the error does not appear and the survey is launched. This must be a bug.

gabrieljenik

gabrieljenik

2025-04-22 18:22

manager   ~82462

More specifically, when I add an alias in "Survey alias:" field, the URL becomes "https://newsurveys.jour.auth.gr/alias" and then we get the "page not found" error. But, if I write the URL as "https://newsurveys.jour.auth.gr/index.php/alias", the error does not appear and the survey is launched. This must be a bug.

The alias is made as to be as short as possible. so index.php is not expected.

Do you have a custom htaccess?
Is mod_rewrite enabled?

Thanks!

baltzis

baltzis

2025-04-23 10:08

reporter   ~82466

We have not made any changes to the htaccess file, whatsoever. All lines in this file have the default values since the installation.

gabrieljenik

gabrieljenik

2025-04-23 15:04

manager   ~82467

I am sorry we can't reproduce it.
@tibor.pacalat can you?

baltzis

baltzis

2025-04-23 18:25

reporter   ~82472

Could there be an issue the fact that LimeSurvey is installed in a virtual machine?

gabrieljenik

gabrieljenik

2025-04-23 21:29

manager   ~82473

I believe there is an issue with the htaccess. But just a guess

baltzis

baltzis

2025-04-24 00:18

reporter   ~82477

If so, is there any point in uploading here the htaccess file?

Issue History

Date Modified Username Field Change
2025-04-02 18:12 baltzis New Issue
2025-04-07 16:52 tibor.pacalat Assigned To => gabrieljenik
2025-04-07 16:52 tibor.pacalat Status new => assigned
2025-04-11 14:37 gabrieljenik Note Added: 82413
2025-04-11 14:37 gabrieljenik Bug heat 0 => 2
2025-04-13 19:22 baltzis Note Added: 82416
2025-04-13 19:22 baltzis Bug heat 2 => 4
2025-04-13 19:31 baltzis Note Added: 82417
2025-04-22 18:22 gabrieljenik Note Added: 82462
2025-04-22 18:22 gabrieljenik Status assigned => feedback
2025-04-23 10:08 baltzis Note Added: 82466
2025-04-23 10:08 baltzis Status feedback => assigned
2025-04-23 15:04 gabrieljenik Note Added: 82467
2025-04-23 18:25 baltzis Note Added: 82472
2025-04-23 21:29 gabrieljenik Note Added: 82473
2025-04-24 00:18 baltzis Note Added: 82477