#2522 closed task (fixed)
LimeSurvey instance: missing XML support in PHP
Reported by: | jgrocha | Owned by: | robe |
---|---|---|---|
Priority: | critical | Milestone: | Sysadmin Contract 2021-I |
Component: | SysAdmin | Keywords: | LimeSurvey, PHP |
Cc: |
Description
Hi,
The problem
For some operations, like import and export, LimeSurvey uses XML encoded files. Right now, these operations are failing with the following error:
XMLWriter class not compiled into PHP, please contact your system administrator
Possible solution
For what I've found related with this error, eventually this can be fixed by installing php-xml
.
Test
To test the XML support:
- Login into our LimeSurvey instance
- List all surveys
- Click on the Configuration icon for a survey
- Choose Display/Export option
- Choose Survey structure (.lss)
- Check if the generated file is a XML file
Thanks!
Change History (7)
comment:1 by , 4 years ago
Priority: | normal → critical |
---|
comment:2 by , 4 years ago
Owner: | changed from | to
---|
comment:3 by , 4 years ago
I think it's time I reset limesurvey from scratch on debian10. Unfortunately it's not as simple as installing php-xml since this is a funtoo system, and I'm having some issue doing an emerge.
comment:4 by , 4 years ago
I resetup limesurvey on debian10 with php 7.4 and PostgreSQL 13 and then restored the database backup. It is now on osgeo3.
Can you see if the things you need are present. I couldn't follow the Configuration icon part. You might not be able to hit it for 24 hrs since it might take some time for the dns to propagate if you have visited recently. I shut down the old one to make sure no one is hitting the old one.
comment:5 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Okay figured out where the config icon is and did a export .lss format and the file contents look like XML. So I assume this is all set.
Since I did a upgrade to latest micro stable Lime and also moved, would be a good idea to test to make sure everything is still functioning.
Feel free to reopen if still an issue.
comment:6 by , 4 years ago
It wasn't as easy as I expected :-(
I've tested it carefully and everything is working.
Thank you so much, Regina.
comment:7 by , 4 years ago
Milestone: | Unplanned → Sysadmin Contract 2021-I |
---|
It really helps to have this support in the Limesurvey instance.
It seems like a easy fix.
Can someone try to install this php-xml module?