View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
16982Bug reportsOtherpublic2021-01-21 13:36
Reporterifrass Assigned ToDenisChenu  
PrioritynoneSeveritycrash 
Status closedResolutionfixed 
Product Version4.3.33 
Summary16982: Error message by accessing an old survey realized in 3.23.x version
Description

By cliking on some surveys I have realized in 3.23.x version, I have an error message :


500: Internal Server Error
Invalid default template directory

An internal error occurred while the Web server was processing your request.

Please contact Administrateur to report this problem.


This bug arise in some surveys but not all of my surveys wich had realized in the 3.23.x version.

So impossible to get the statistics of these surveys.

Steps To Reproduce

Try to acces a survey which had realized in the 3.x.x version.

Additional Information

It was the same probleme since 4.3.28 versions

TagsNo tags attached.
Attached Files
Bug heat8
Complete LimeSurvey version number (& build)4.3.33+201228
I will donate to the project if issue is resolvedNo
BrowserFirefox
Database type & versionMariadb 10.3.23
Server OS (if known)Debian 10.6
Webserver software & version (if known)Apache 2.4
PHP Version7.3.19-1

Users monitoring this issue

ifrass

Activities

DenisChenu

DenisChenu

2021-01-16 09:38

developer   ~61566

Can you activate debug mode ? https://manual.limesurvey.org/Debug_mode
Can you check you config part about userthemerootdir , standardthemerootdir
https://manual.limesurvey.org/Optional_settings#Advanced_path_settings

Can you check if your default theme still exist

ifrass

ifrass

2021-01-16 11:53

reporter   ~61568

Debug message by accessing the survey.

ifrass

ifrass

2021-01-16 12:04

reporter   ~61569

In /application/config/config-defaults.php
$config['standardthemerootdir'] = $config['rootdir'].DIRECTORY_SEPARATOR."themes".DIRECTORY_SEPARATOR."survey"; // The directory path of the standard themes
$config['userthemerootdir'] = $config['uploaddir'].DIRECTORY_SEPARATOR."themes".DIRECTORY_SEPARATOR."survey"; // The directory path of the user themes

/var/www/html/limesurvey/themes/survey# ls
bootswatch fruity index.html vanilla

/var/www/html/limesurvey/upload/surveys# ls -l
total 0

DenisChenu

DenisChenu

2021-01-16 12:24

developer   ~61570

Default template ?
https://manual.limesurvey.org/Global_settings#General

ifrass

ifrass

2021-01-16 12:32

reporter   ~61571

I always use bootswatch

limesurvey-themes.png (121,389 bytes)
ifrass

ifrass

2021-01-16 12:49

reporter   ~61572

Where could we see if it is the default template ?
I am not sure about that, it is not written...

ifrass

ifrass

2021-01-16 12:51

reporter   ~61573

Sorry I have found..
The defult template is Fruity

DenisChenu

DenisChenu

2021-01-16 16:28

developer   ~61574

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=30854

lime_release_bot

lime_release_bot

2021-01-18 18:11

administrator   ~61590

Fixed in Release 4.3.34+210119

DenisChenu

DenisChenu

2021-01-21 13:36

developer   ~61618

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=30874

Related Changesets

LimeSurvey: master c5ed64ba

2021-01-16 16:28:43

DenisChenu

Details Diff
Fixed issue 16982: Server error if template are invalid
Dev: setOptions after fix current template
Affected Issues
16982
mod - application/models/Survey.php Diff File

LimeSurvey: master 9c4d4d19

2021-01-16 16:28:43

DenisChenu

Details Diff
Fixed issue 16982: Server error if template are invalid
Dev: setOptions after fix current template
Dev: Cherry-picked
Affected Issues
16982
mod - application/models/Survey.php Diff File

Issue History

Date Modified Username Field Change
2021-01-15 18:07 ifrass New Issue
2021-01-15 18:07 ifrass File Added: limesurvey-internal_server_error.png
2021-01-15 18:12 ifrass Issue Monitored: ifrass
2021-01-16 09:38 DenisChenu Note Added: 61566
2021-01-16 11:53 ifrass Note Added: 61568
2021-01-16 11:53 ifrass File Added: limesurvey-by_accessing_survey.pdf
2021-01-16 12:04 ifrass Note Added: 61569
2021-01-16 12:24 DenisChenu Note Added: 61570
2021-01-16 12:32 ifrass Note Added: 61571
2021-01-16 12:32 ifrass File Added: limesurvey-themes.png
2021-01-16 12:49 ifrass Note Added: 61572
2021-01-16 12:51 ifrass Note Added: 61573
2021-01-16 13:18 DenisChenu Assigned To => DenisChenu
2021-01-16 13:18 DenisChenu Status new => assigned
2021-01-16 16:28 DenisChenu Changeset attached => LimeSurvey master c5ed64ba
2021-01-16 16:28 DenisChenu Note Added: 61574
2021-01-16 16:28 DenisChenu Resolution open => fixed
2021-01-18 18:11 lime_release_bot Note Added: 61590
2021-01-18 18:11 lime_release_bot Status assigned => closed
2021-01-21 13:36 DenisChenu Changeset attached => LimeSurvey master 9c4d4d19
2021-01-21 13:36 DenisChenu Note Added: 61618
2021-08-02 17:46 guest Bug heat 6 => 8