Relationship Graph
View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
19527 | Bug reports | _ Unknown | public | 2024-04-22 17:00 | 2024-06-05 16:17 |
Reporter | proveloict | Assigned To | DenisChenu | ||
Priority | none | Severity | block | ||
Status | closed | Resolution | fixed | ||
Product Version | 5.6.x | ||||
Summary | 19527: After upgrading to 5.6.60 (240423) users cannot access surveys' list (error 500 - Invalid material template directory) | ||||
Description | Hello, After upgrading (using ComfortUpdate) from 5.6.58 to 5.6.60, all users get this error when opening index.php?r=surveyAdministration/listsurveys: 500 : Internal Server Error | ||||
Steps To Reproduce | Steps to reproduce(Replace this text with detailed step-by-step instructions on how to reproduce the issue) Expected result(Write here what you expected to happen) Actual result(Write here what happened instead) | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 20 | ||||
Complete LimeSurvey version number (& build) | 5.6.60+240423 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Any | ||||
Database type & version | MariaDB 5.5 | ||||
Server OS (if known) | Ubuntu | ||||
Webserver software & version (if known) | nginx | ||||
PHP Version | 7.4.33 | ||||
related to | 19504 | closed | DenisChenu | Potential PHP Warning when get Survey listing |
We are also getting this error since today - however we are still on version 5.6.59 and did not actively update anything. Kindregards |
|
@DenisChenu can you please look into this? It is caused by this commit https://github.com/LimeSurvey/LimeSurvey/pull/3786. I couldn't reproduce it on my local though, but already a couple users reported this issue. |
|
Rolling back to 5.6.58 (same DB version) restored the normal behaviour. |
|
@proveloict : can you check with https://github.com/LimeSurvey/LimeSurvey/pull/3820 |
|
@FabianLucas : try with replace the file models/Template.php with this one https://raw.githubusercontent.com/LimeSurvey/LimeSurvey/a413c130e65fa2ef2534c3cefd9cbdf7e6b78cd7/application/models/Template.php |
|
@DenisChenu : I get the same error after upgrading again and applying the patch (https://github.com/LimeSurvey/LimeSurvey/pull/3820/files) manually. |
|
@proveloict : can you show a SQL result ?
|
|
I had to adapt the command because I don't have a prefix on the tables. So i ran And the result was this: |
|
And no material directory in ./theme/ right ? |
|
The issue came from getTemplateListWithPreviews … i didn't update this (broken function) |
|
I create the 2 lines … no way to reproduice … |
|
@DenisChenu: indeed, no material direction in ./theme/ |
|
PR for 5.X : https://github.com/LimeSurvey/LimeSurvey/pull/3829 Please try with : https://github.com/LimeSurvey/LimeSurvey/blob/1795f45d732d81d5065f0bf59d42f132f2ea618b/application/models/Template.php |
|
I have merged both PRs into 5.x branch. |
|
Fix committed to 5.x branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=36299 |
|
Fix committed to 5.x branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=36298 |
|
Do the last one for 6/master |
|
For master : https://github.com/LimeSurvey/LimeSurvey/pull/3833 |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=36311 |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=36312 |
|
Fixed in Release 6.5.5+240429 |
|
@DenisChenu, I get the exact same "Invalid material template directory" error with Version 5.6.65+240522 when calling the theme editor at /index.php/themeOptions/index. I already saw that at 2 customer systems, one self hosted, one hosted at limequery.com. |
|
@Mazi they should upgrade to 6.x. Support for 5.x ends: June 1st, 2024 |
|
@tibor.pacalat: That can not be the solution. I see quite a lot of people upgrading new. But there are many larger companies or univesrities which usually update pretty late e.g. because of using many custom themes (which have to be re-build). |
|
@DenisChenu can you please take a look? |
|
Arg , i found the issue for Survey listing … but not found for Theme listing … Let me check |
|
This issue may only show up for customers having updated from an older version at which the Material theme was available. |
|
Oh, i got it … it's new surely related to https://github.com/LimeSurvey/LimeSurvey/commit/82501703b34969c6601bffff507150ec2fccaf6c |
|
5.X : https://github.com/LimeSurvey/LimeSurvey/pull/3858 |
|
@tibor.pacalat: Can we integrate this important fix at the next 5.x release? We are no seeing this issue at multiple customer systems after having upgraded to 5.6.65. |
|
@Mazi yes it will be a part of the next release. |
|
Fix committed to 5.x branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=36382 |
|
Fix committed to 5.x branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=36381 |
|
Fixed in Release 6.5.11+240605 |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=36386 |
|
LimeSurvey: 5.x 82501703 2024-04-25 17:19:45 Committer: GitHub Details Diff |
Fixed issue 19527: surveys list throw error 500 with invalid template (#3829) |
Affected Issues 19527 |
|
mod - application/extensions/admin/survey/ListSurveysWidget/views/massive_actions/_select_survey_theme.php | Diff File | ||
mod - application/models/Template.php | Diff File | ||
mod - application/views/admin/survey/subview/_survey_quickaction.php | Diff File | ||
mod - application/views/admin/survey/subview/accordion/_generaloptions_panel.php | Diff File | ||
mod - application/views/admin/survey/surveySummary_view.php | Diff File | ||
mod - application/views/surveyAdministration/surveySummary_view.php | Diff File | ||
LimeSurvey: 5.x 82501703 2024-04-25 17:19:45 Committer: GitHub Details Diff |
Fixed issue 19527: surveys list throw error 500 with invalid template (#3829) |
Affected Issues 19527 |
|
mod - application/extensions/admin/survey/ListSurveysWidget/views/massive_actions/_select_survey_theme.php | Diff File | ||
mod - application/models/Template.php | Diff File | ||
mod - application/views/admin/survey/subview/_survey_quickaction.php | Diff File | ||
mod - application/views/admin/survey/subview/accordion/_generaloptions_panel.php | Diff File | ||
mod - application/views/admin/survey/surveySummary_view.php | Diff File | ||
mod - application/views/surveyAdministration/surveySummary_view.php | Diff File | ||
LimeSurvey: master 597bdc1d 2024-04-26 15:59:55 Committer: GitHub Details Diff |
Fixed issue 19527: Potential 500 error in survey list (03833) |
Affected Issues 19527 |
|
mod - application/extensions/admin/survey/ListSurveysWidget/views/massive_actions/_select_survey_theme.php | Diff File | ||
mod - application/models/Template.php | Diff File | ||
mod - application/views/admin/survey/subview/accordion/_generaloptions_panel.php | Diff File | ||
mod - application/views/surveyAdministration/surveySummary_view.php | Diff File | ||
LimeSurvey: master 597bdc1d 2024-04-26 15:59:55 Committer: GitHub Details Diff |
Fixed issue 19527: Potential 500 error in survey list (03833) |
Affected Issues 19527 |
|
mod - application/extensions/admin/survey/ListSurveysWidget/views/massive_actions/_select_survey_theme.php | Diff File | ||
mod - application/models/Template.php | Diff File | ||
mod - application/views/admin/survey/subview/accordion/_generaloptions_panel.php | Diff File | ||
mod - application/views/surveyAdministration/surveySummary_view.php | Diff File | ||
LimeSurvey: 5.x 4f9c2f63 2024-06-04 12:49:34 Committer: GitHub Details Diff |
Fixed issue 19527: Theme listing broke with invalid template (#3858) |
Affected Issues 19527 |
|
mod - application/models/TemplateConfiguration.php | Diff File | ||
LimeSurvey: 5.x 4f9c2f63 2024-06-04 12:49:34 Committer: GitHub Details Diff |
Fixed issue 19527: Theme listing broke with invalid template (#3858) |
Affected Issues 19527 |
|
mod - application/models/TemplateConfiguration.php | Diff File | ||
LimeSurvey: master 47685a84 2024-06-05 15:17:06 Committer: GitHub Details Diff |
Fixed issue 19527: Theme listing broke with invalid template (03859) |
Affected Issues 19527 |
|
mod - application/models/TemplateConfiguration.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-04-22 17:00 | proveloict | New Issue | |
2024-04-22 17:00 | proveloict | File Added: Screenshot 2024-04-22 at 16-59-32 CException.png | |
2024-04-22 17:32 | FabianLucas | Note Added: 79965 | |
2024-04-22 17:32 | FabianLucas | Bug heat | 0 => 2 |
2024-04-22 17:32 | guest | Bug heat | 2 => 8 |
2024-04-22 17:37 | proveloict | Issue Monitored: proveloict | |
2024-04-22 17:37 | proveloict | Bug heat | 8 => 10 |
2024-04-22 17:38 | tibor.pacalat | Assigned To | => DenisChenu |
2024-04-22 17:38 | tibor.pacalat | Status | new => assigned |
2024-04-22 17:38 | tibor.pacalat | Note Added: 79966 | |
2024-04-22 17:38 | tibor.pacalat | Bug heat | 10 => 12 |
2024-04-22 17:40 | proveloict | Note Added: 79967 | |
2024-04-22 17:40 | proveloict | Bug heat | 12 => 14 |
2024-04-22 17:40 | tibor.pacalat | Note Edited: 79966 | |
2024-04-22 18:08 | DenisChenu | Note Added: 79968 | |
2024-04-22 18:08 | DenisChenu | Bug heat | 14 => 16 |
2024-04-22 18:09 | DenisChenu | Relationship added | related to 19504 |
2024-04-22 18:09 | DenisChenu | Status | assigned => feedback |
2024-04-22 18:12 | DenisChenu | Note Added: 79969 | |
2024-04-23 09:51 | proveloict | Note Added: 79977 | |
2024-04-23 09:51 | proveloict | Status | feedback => assigned |
2024-04-23 10:22 | DenisChenu | Note Added: 79978 | |
2024-04-23 10:30 | proveloict | Note Added: 79982 | |
2024-04-23 10:33 | DenisChenu | Note Added: 79983 | |
2024-04-23 10:37 | DenisChenu | Note Added: 79984 | |
2024-04-23 12:33 | DenisChenu | Note Added: 79986 | |
2024-04-23 12:34 | proveloict | Note Added: 79987 | |
2024-04-23 13:03 | DenisChenu | Note Added: 79988 | |
2024-04-25 17:26 | tibor.pacalat | Note Added: 80006 | |
2024-04-25 17:28 | DenisChenu | Changeset attached | => LimeSurvey 5.x 82501703 |
2024-04-25 17:28 | DenisChenu | Changeset attached | => LimeSurvey 5.x 82501703 |
2024-04-25 17:28 | DenisChenu | Note Added: 80007 | |
2024-04-25 17:28 | DenisChenu | Note Added: 80008 | |
2024-04-25 17:28 | DenisChenu | Resolution | open => fixed |
2024-04-25 17:28 | DenisChenu | Resolution | open => fixed |
2024-04-25 17:35 | DenisChenu | Note Added: 80010 | |
2024-04-25 18:59 | DenisChenu | Note Added: 80014 | |
2024-04-26 08:45 | DenisChenu | Status | assigned => ready for code review |
2024-04-26 08:45 | DenisChenu | Note Added: 80016 | |
2024-04-26 13:06 | DenisChenu | Assigned To | DenisChenu => lajosarpad |
2024-04-26 16:00 | tibor.pacalat | Status | ready for code review => resolved |
2024-04-26 16:06 | DenisChenu | Changeset attached | => LimeSurvey master 597bdc1d |
2024-04-26 16:06 | DenisChenu | Changeset attached | => LimeSurvey master 597bdc1d |
2024-04-26 16:06 | DenisChenu | Note Added: 80021 | |
2024-04-26 16:06 | DenisChenu | Note Added: 80022 | |
2024-04-26 16:06 | DenisChenu | Assigned To | lajosarpad => DenisChenu |
2024-04-26 16:06 | DenisChenu | Assigned To | lajosarpad => DenisChenu |
2024-04-29 16:36 | LimeBot | Note Added: 80041 | |
2024-04-29 16:36 | LimeBot | Status | resolved => closed |
2024-04-29 16:36 | LimeBot | Bug heat | 16 => 18 |
2024-05-28 11:36 | Mazi | Note Added: 80163 | |
2024-05-28 11:36 | Mazi | Bug heat | 18 => 20 |
2024-05-28 14:13 | tibor.pacalat | Note Added: 80164 | |
2024-05-28 14:14 | tibor.pacalat | Note Edited: 80164 | |
2024-05-28 15:11 | Mazi | Note Added: 80165 | |
2024-05-28 15:56 | tibor.pacalat | Note Added: 80166 | |
2024-05-28 18:55 | DenisChenu | Status | closed => feedback |
2024-05-28 18:55 | DenisChenu | Resolution | fixed => reopened |
2024-05-28 18:55 | DenisChenu | Note Added: 80167 | |
2024-05-29 14:05 | Mazi | Note Added: 80169 | |
2024-05-29 14:46 | DenisChenu | Note Added: 80170 | |
2024-05-29 15:21 | DenisChenu | Note Added: 80171 | |
2024-05-29 15:22 | DenisChenu | Assigned To | DenisChenu => tibor.pacalat |
2024-05-29 15:22 | DenisChenu | Status | feedback => ready for code review |
2024-06-04 10:14 | Mazi | Note Added: 80201 | |
2024-06-04 10:18 | tibor.pacalat | Note Added: 80202 | |
2024-06-04 13:01 | DenisChenu | Changeset attached | => LimeSurvey 5.x 4f9c2f63 |
2024-06-04 13:01 | DenisChenu | Changeset attached | => LimeSurvey 5.x 4f9c2f63 |
2024-06-04 13:01 | DenisChenu | Note Added: 80203 | |
2024-06-04 13:01 | DenisChenu | Note Added: 80204 | |
2024-06-04 13:01 | DenisChenu | Assigned To | tibor.pacalat => DenisChenu |
2024-06-04 13:01 | DenisChenu | Assigned To | tibor.pacalat => DenisChenu |
2024-06-04 13:01 | DenisChenu | Resolution | reopened => fixed |
2024-06-04 13:01 | DenisChenu | Resolution | reopened => fixed |
2024-06-05 15:17 | tibor.pacalat | Status | ready for code review => resolved |
2024-06-05 15:51 | LimeBot | Note Added: 80215 | |
2024-06-05 15:51 | LimeBot | Status | resolved => closed |
2024-06-05 16:17 | DenisChenu | Changeset attached | => LimeSurvey master 47685a84 |
2024-06-05 16:17 | DenisChenu | Note Added: 80217 |