Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#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:

  1. Login into our LimeSurvey instance
  2. List all surveys
  3. Click on the Configuration icon for a survey
  4. Choose Display/Export option
  5. Choose Survey structure (.lss)
  6. Check if the generated file is a XML file

Thanks!

Change History (7)

comment:1 by jgrocha, 4 years ago

Priority: normalcritical

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?

comment:2 by robe, 4 years ago

Owner: changed from sac@… to robe

comment:3 by robe, 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 robe, 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 robe, 4 years ago

Resolution: fixed
Status: newclosed

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 jgrocha, 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 robe, 4 years ago

Milestone: UnplannedSysadmin Contract 2021-I
Note: See TracTickets for help on using tickets.