queXF Output unverified data and data/ddi error

Asked by wobobo83

Dear Adam,

after setting up my new Linux Server within VirtualBox queXF and queXML works great but I have two problems which I can't resolve so I want to ask for your help.

1) BASE AND INSTALLATION

As Linux Server base I use "TurnKey GNU/Linux LAMP Stack - Web Stack (MySQL)" using a streamable OVA image within VirtualBox [1]. For the installation of queXML (version 1.5.0) and queXF (version 1.18.0) I used the installation guide from Steve [2].

2) PROBLEMS

2.A) QUEXML

The "edge detection format" is not recognized while I'm using a "queXML style settings file". I've set these to "corner lines" within the "queXML style settings file" but every time a document with "corner boxes" will be generated. The other settings I've adjusted will be recognized correctly. 'I've attached the source of my "queXML style settings file" [3].

2.B) QUEXF

After importing and verifying some questionnaires I can't use the following two "queXF Admin Functions": "Output unverified data" and "Output data/ddi" Only the message "Error, try with Firefox" appears but I'm currently using firefox already.

3) IDEAS

Insert a version number of quexml and quexf within the php files.

Thanks for your help.
best regards
--
WEBLINKS:
[1] https://www.turnkeylinux.org/lampstack
[2] https://sandilands.info/sgordon/using-quexf-in-ubuntu-for-questionnaires

SOURCES:
[3] quexmlpdf_style.xml

<?xml version="1.0"?>
<queXMLPDFStyle>
  <AllowSplittingSingleChoiceVertical>false</AllowSplittingSingleChoiceVertical>
  <AllowSplittingSingleChoiceHorizontal>false</AllowSplittingSingleChoiceHorizontal>
  <QuestionnaireInfoMargin>5</QuestionnaireInfoMargin>
  <SingleResponseHorizontalHeight>8</SingleResponseHorizontalHeight>
  <SingleResponseAreaHeight>9</SingleResponseAreaHeight>
  <BackgroundColourQuestion>255</BackgroundColourQuestion>
  <BackgroundColourSection>255</BackgroundColourSection>
  <AllowSplittingVas>false</AllowSplittingVas>
  <AllowSplittingMatrixText>false</AllowSplittingMatrixText>
  <AllowSplittingResponses>false</AllowSplittingResponses>
  <SectionHeight>18</SectionHeight>
  <ResponseLabelFontSize>7.5,6.5</ResponseLabelFontSize>
  <ResponseTextFontSize>10</ResponseTextFontSize>
  <Style> td.questionTitle {font-weight:bold; font-size:12pt;}&#xD;
 td.questionTitleSkipTo {font-weight:bold; font-size:16pt;}&#xD;
 td.questionText {font-weight:bold; font-size:12pt;} &#xD;
 td.questionSpecifier {font-weight:normal; font-size:12pt;} &#xD;
 td.vasLabel {font-weight:bold; font-size:10pt; text-align:center;}&#xD;
 td.questionHelp {font-weight:normal; text-align:right; font-style:italic; font-size:8pt;}&#xD;
 td.questionHelpAfter {text-align:center; font-weight:bold; font-size:10pt;}&#xD;
 td.questionHelpBefore {text-align:center; font-weight:bold; font-size:12pt;}&#xD;
 td.responseAboveText {font-weight:normal; font-style:normal; text-align:left; font-size:12pt;} &#xD;
 td.matrixResponseGroupLabel {font-weight:normal; font-style:normal; text-align:left; font-size:12pt;}&#xD;
 span.sectionTitle {font-size:18pt; font-weight:bold;} &#xD;
 span.sectionDescription {font-size:14pt; font-weight:bold;} &#xD;
 div.sectionInfo {font-style:normal; font-size:10pt; text-align:left; font-weight:normal;}&#xD;
 td.questionnaireInfo {font-size:14pt; text-align:center; font-weight:bold;}&#xD;
 </Style>
  <CornerLines>true</CornerLines>
  <CornerBoxes>false</CornerBoxes>
  <EdgeDetectionFormat>lines</EdgeDetectionFormat>
  <PageFormat>A4</PageFormat>
  <PageOrientation>P</PageOrientation>
</queXMLPDFStyle>

Question information

Language:
English Edit question
Status:
Solved
For:
queXF Edit question
Assignee:
No assignee Edit question
Solved by:
wobobo83
Solved:
Last query:
Last reply:
Revision history for this message
Adam Zammit (adamzammit) said :
#1

Hi again,

Can you please try deleting or commenting out these lines:

if (version_compare(PHP_VERSION,'5','>='))
 include_once(dirname(__FILE__).'/domxml-php4-to-php5.php');

from the file functions/functions.output.php

And see if the links then work?

Also thank you for your idea regarding adding a version to files. At the moment please refer to the CHANGELOG file for details of the version.

Adam

Revision history for this message
wobobo83 (drachemailbox-web) said :
#2

Dear Adam,
thanks for your response.
After commenting out the two lines everything works again.
Thanks for your help.
best regards