View Issue Details

This bug affects 3 person(s).
 24
IDProjectCategoryView StatusLast Update
19404Bug reportsImport/Exportpublic2025-02-20 15:33
Reporterriadh2020 Assigned Totibor.pacalat  
PrioritynoneSeverityblock 
Status resolvedResolutionfixed 
Product Version6.4.x 
Summary19404: Export survey propblem with PHP version 8.0
Description

When I tray to export a survey to LSS format I get a white page ( on PHP version 8.0) but when I downgrade the PHP version to 7.433 there will be no problem.

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)

TagsNo tags attached.
Bug heat24
Complete LimeSurvey version number (& build)6.4.5
I will donate to the project if issue is resolvedNo
BrowserFirefox
Database type & version623
Server OS (if known)
Webserver software & version (if known)Local server ( APPACHE 2.45 MYSQL 8.0)
PHP Version8.0

Users monitoring this issue

fullpowerone, riadh2020

Activities

DenisChenu

DenisChenu

2024-02-09 15:40

developer   ~79437

Can you enable debug = 2 in application/config/config.php and try again, please? Paste the complete error message here.

riadh2020

riadh2020

2024-02-09 16:27

reporter   ~79438

After (enable debug = 2) abd when I export the survey there is a blank page, and when I tray to copy the survey I have this error ( See attached file) thanks

ValueError.htm (37,192 bytes)   
ValueError.txt (17,224 bytes)   
DenisChenu

DenisChenu

2024-05-07 11:42

developer   ~80080

@tibor.pacalat : I don't have really idea on how to fix this.

I can just add an hack, but all TemlplateConfiguration can be rewrite here

tibor.pacalat

tibor.pacalat

2024-05-16 16:35

administrator   ~80121

I don't quite understand your PR @DenisChenu. Can you explain it to me? Also, how do I reproduce the issue?

DenisChenu

DenisChenu

2024-05-16 18:23

developer   ~80125

Argl … I can not reproduce today !

But i some condition (find how) cssframework didn't have DB values and return array of @attributes

You see this with Html Error XMLWriter::startElement(): Argument #2 must be a valid element name, "@attributes" given

Then i just check if it's a real array of value or only a array of attributes

DenisChenu

DenisChenu

2024-05-16 18:24

developer   ~80126

I think it can be with OLD theme still in DB but not 6.X compatible ?

tibor.pacalat

tibor.pacalat

2025-01-31 13:43

administrator   ~81926

@gabrieljenik you left some comments on the PR, but is this PR approved or not? https://github.com/LimeSurvey/LimeSurvey/pull/3845

gabrieljenik

gabrieljenik

2025-02-03 13:38

manager   ~81947

From the exchanges we had with Denis, I think we should move the filter somewhere else.

Issue History

Date Modified Username Field Change
2024-02-09 12:32 riadh2020 New Issue
2024-02-09 12:44 riadh2020 Issue Monitored: riadh2020
2024-02-09 12:44 riadh2020 Bug heat 0 => 2
2024-02-09 15:40 DenisChenu Note Added: 79437
2024-02-09 15:40 DenisChenu Bug heat 2 => 4
2024-02-09 16:27 riadh2020 Note Added: 79438
2024-02-09 16:27 riadh2020 File Added: ValueError.htm
2024-02-09 16:27 riadh2020 File Added: ValueError.txt
2024-02-09 16:27 riadh2020 Bug heat 4 => 6
2024-03-21 15:25 tibor.pacalat Assigned To => DenisChenu
2024-03-21 15:25 tibor.pacalat Status new => assigned
2024-05-07 11:42 DenisChenu Status assigned => confirmed
2024-05-07 11:42 DenisChenu Note Added: 80080
2024-05-14 18:42 DenisChenu Assigned To DenisChenu => tibor.pacalat
2024-05-14 18:42 DenisChenu Status confirmed => ready for code review
2024-05-16 16:35 tibor.pacalat Note Added: 80121
2024-05-16 16:35 tibor.pacalat Bug heat 6 => 8
2024-05-16 18:23 DenisChenu Note Added: 80125
2024-05-16 18:24 DenisChenu Note Added: 80126
2024-06-28 10:58 guest Bug heat 8 => 14
2024-10-27 13:20 fullpowerone Bug heat 14 => 20
2024-10-27 13:31 fullpowerone Issue Monitored: fullpowerone
2024-10-27 13:31 fullpowerone Bug heat 20 => 22
2025-01-31 13:43 tibor.pacalat Note Added: 81926
2025-02-03 13:38 gabrieljenik Assigned To tibor.pacalat => DenisChenu
2025-02-03 13:38 gabrieljenik Status ready for code review => assigned
2025-02-03 13:38 gabrieljenik Note Added: 81947
2025-02-03 13:38 gabrieljenik Bug heat 22 => 24
2025-02-18 15:30 DenisChenu Assigned To DenisChenu => gabrieljenik
2025-02-18 15:30 DenisChenu Status assigned => in code review
2025-02-18 15:47 gabrieljenik Assigned To gabrieljenik => tibor.pacalat
2025-02-18 15:47 gabrieljenik Status in code review => ready for testing
2025-02-20 15:33 tibor.pacalat Status ready for testing => resolved
2025-02-20 15:33 tibor.pacalat Resolution open => fixed