View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
17876Bug reportsTheme editorpublic2022-04-12 10:29
Reporterthtrede Assigned Toollehar  
PrioritynoneSeverityblock 
Status closedResolutionfixed 
Product Version5.2.x 
Summary17876: Them Editor nor accessible under php 8 and broken under any other php
Description

When trying to use "Configuration --> Themes" we receive a "500: Internal Server Error Object of class stdClass could not be converted to string".
This error occurs under php8.0, while unter php 74, 7.3 and 72 we get a somewhat broke (obviously no css) themes overview page that is however functional. Once clicking on "edit" all works fine with the normal (unbroken) look and feel ... so it is only the "https://....com/index.php/surveyAdministration/listsurveys

Steps To Reproduce

Steps to reproduce

Configuration --> Themes

Expected result

https://....com/index.php/surveyAdministration/listsurveys to show correctly

Actual result

https://....com/index.php/surveyAdministration/listsurveys error 500 under php8 and unformatted page under php 7.2, 7.3, 7.4

TagsNo tags attached.
Bug heat8
Complete LimeSurvey version number (& build)LimeSurvey Community Edition Version 5.2.13+220207
I will donate to the project if issue is resolvedNo
BrowserAny (Edge, Chrome, Opera, Firefox)
Database type & version utf8mb4_unicode_ci // InnoDB
Server OS (if known)
Webserver software & version (if known)
PHP Version7.2 to 8

Users monitoring this issue

There are no users monitoring this issue.

Activities

ollehar

ollehar

2022-02-08 16:19

administrator   ~68241

Can't reproduce. Which server are you on? Do you have a screenshot of the CSS error? Do you get any 404 in browser network tab?

thtrede

thtrede

2022-02-08 16:24

reporter   ~68243

Here is a screenshot (php 7.3); under php8 ii ts the Error 500

ollehar

ollehar

2022-02-08 16:26

administrator   ~68244

You run with debug = 2?

What's at the bottom of that screenshot?

DenisChenu

DenisChenu

2022-02-08 17:09

developer   ~68245

maybe remated of some bad config in lime_template_configuration

Maybe you can update (for starting point) your default survey theme ? (choose one core theme, vanilla for exemple)
See what happen.

If it work : can you edit your updated theme ?

ollehar

ollehar

2022-02-08 18:37

administrator   ~68247

Are you a paying customer?

Your theme config.xml might be wrong.

thtrede

thtrede

2022-02-09 08:35

reporter   ~68250

Hi,

no, I am not a paying customer, just someone reporting a bug
How can the config.xml directly after updating be wring in all themes (admin, survey, upload, standard?)

Please advise what to try next

DenisChenu

DenisChenu

2022-02-09 08:45

developer   ~68251

@ollehar : i have such issue one time : database information against valid config.xml.

@thtrede : did you try to choose vaniall for global survey ? I think you can try to delete template line fro DB and reinstall.

thtrede

thtrede

2022-02-09 08:58

reporter   ~68252

@Denis:
THX
Global survey theme is vanilla (now, No change)
Which line in DB in which table to delete (I would try; but there is lime_templates and lime_tempalte_configuration with one line per theme I have installed); do you mean to delete all but the standard template "lines" in both tables and later re-install the templates again?)

DenisChenu

DenisChenu

2022-02-09 09:12

developer   ~68253

  1. Make a copy of you DB
  2. lime_template_configuration : not related to survey (in my opinion)

or find in template if you gave an empty description.

Remind : i don't have the solution, just searching …

thtrede

thtrede

2022-03-14 16:40

reporter   ~68668

Any news... I just updated again and the error remains...

galads

galads

2022-04-12 10:29

reporter   ~69002

Hello thtrede,
I checked this with the latest version and could not reproduce, so this is most likely fixed for good.
Therefore, I am closing this issue. If you still can reproduce the issue using the latest version, please feel free to re-open the issue.
Thank you!

galads

Issue History

Date Modified Username Field Change
2022-02-08 15:00 thtrede New Issue
2022-02-08 16:19 ollehar Assigned To => ollehar
2022-02-08 16:19 ollehar Status new => feedback
2022-02-08 16:19 ollehar Note Added: 68241
2022-02-08 16:19 ollehar Bug heat 0 => 2
2022-02-08 16:24 thtrede Note Added: 68243
2022-02-08 16:24 thtrede File Added: Screenshot 2022-02-08 162218.png
2022-02-08 16:24 thtrede Bug heat 2 => 4
2022-02-08 16:24 thtrede Status feedback => assigned
2022-02-08 16:26 ollehar Note Added: 68244
2022-02-08 17:09 DenisChenu Note Added: 68245
2022-02-08 17:09 DenisChenu Bug heat 4 => 6
2022-02-08 18:37 ollehar Note Added: 68247
2022-02-09 08:35 thtrede Note Added: 68250
2022-02-09 08:45 DenisChenu Note Added: 68251
2022-02-09 08:58 thtrede Note Added: 68252
2022-02-09 09:12 DenisChenu Note Added: 68253
2022-03-14 16:40 thtrede Note Added: 68668
2022-04-12 10:29 galads Note Added: 69002
2022-04-12 10:29 galads Bug heat 6 => 8
2022-04-12 10:29 galads Status assigned => closed
2022-04-12 10:29 galads Resolution open => fixed