- Posts: 4
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Ghost question preventing from activating questionnaire
- OlivierRov
- Topic Author
- Offline
- New Member
Less
More
4 years 2 months ago #192439
by OlivierRov
Ghost question preventing from activating questionnaire was created by OlivierRov
Hi,
When I try to activate my questionnaire, it tells me that a question doesn't have any subquestion nor answer, thus prevents me from activating.
What's problematic is that the question actually doesn't exist. As a consequence, I can't edit it and my questionnaire is blocked.
How can I solve this error, please ?
Have a good day,
Olivier
version 2.05+ Build 131209
When I try to activate my questionnaire, it tells me that a question doesn't have any subquestion nor answer, thus prevents me from activating.
What's problematic is that the question actually doesn't exist. As a consequence, I can't edit it and my questionnaire is blocked.
How can I solve this error, please ?
Have a good day,
Olivier
version 2.05+ Build 131209
Attachments:
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10634
- Thank you received: 3698
4 years 2 months ago #192440
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Ghost question preventing from activating questionnaire
We cannot debug a 6 year old version, I strongly advise you to update.
Regarding your problem - try exporting and re-importing the survey (.lss format).
Regarding your problem - try exporting and re-importing the survey (.lss format).
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- OlivierRov
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
4 years 2 months ago #192442
by OlivierRov
Replied by OlivierRov on topic Ghost question preventing from activating questionnaire
Thank you for your response Tony.
Exporting and re-importing the survey only changes the bugging question's id.
I'll try and update my version.
Best regards,
Olivier
Exporting and re-importing the survey only changes the bugging question's id.
I'll try and update my version.
Best regards,
Olivier
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10634
- Thank you received: 3698
4 years 2 months ago #192443
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Ghost question preventing from activating questionnaire
Can you attach the export here?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- OlivierRov
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
4 years 2 months ago #192444
by OlivierRov
Replied by OlivierRov on topic Ghost question preventing from activating questionnaire
Yes, here it is
Attachments:
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10634
- Thank you received: 3698
4 years 2 months ago #192445
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Ghost question preventing from activating questionnaire
As far as I can see, the IDs for some questions differ between French and English which would cause conflicts.
All I can suggest is that you create a new survey and import the questions from this survey one-by-one, checking for errors as you go.
All I can suggest is that you create a new survey and import the questions from this survey one-by-one, checking for errors as you go.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12789
- Thank you received: 3940
4 years 2 months ago #192447
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Ghost question preventing from activating questionnaire
Hi,
I tried to import into version 2.06
During the import I got the following warnings:
Question code G1_Q0001 was updated to G1Q0001.
Question code G1_Q0001 was updated to G1Q0001.
Question code G1_Q0002 was updated to G1Q0002.
...
Question code G5_Q0001 was updated to G5Q0001.
Having a look into the lss file I saw that there are really underscores in the question codes.
But underscores are not allowed in question codes.
Well, the question codes were updated, but not your relevance equations.
There is still the underscore.
Next, in the logic file there was an error saying that
((G2_Q0001_SQ003.NAOK == "Y")) is undefined, even if I remove the first underscore.
And , really, the subquestion codes of this questions are "SQ1", "SQ2", "SQ3", ... (not "SQ003")
as you see here:
In "ProdSNR" there are english answer options missing.
So, please remove the errors and follow Tony's advice.
Joffm
I tried to import into version 2.06
During the import I got the following warnings:
Question code G1_Q0001 was updated to G1Q0001.
Question code G1_Q0001 was updated to G1Q0001.
Question code G1_Q0002 was updated to G1Q0002.
...
Question code G5_Q0001 was updated to G5Q0001.
Having a look into the lss file I saw that there are really underscores in the question codes.
Code:
<row> <qid><![CDATA[2786]]></qid> <parent_qid><![CDATA[0]]></parent_qid> <sid><![CDATA[477443]]></sid> <gid><![CDATA[226]]></gid> <type><![CDATA[L]]></type> <title><![CDATA[G1_Q0004]]></title> <question><![CDATA[Les manuels sont simples d'utilisation.]]></question> <preg/> <help/> <other><![CDATA[N]]></other> <mandatory/> <question_order><![CDATA[3]]></question_order> <language><![CDATA[fr]]></language> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[1]]></same_default> <relevance><![CDATA[((G1_Q0001.NAOK == "Y"))]]></relevance> </row>
But underscores are not allowed in question codes.
Well, the question codes were updated, but not your relevance equations.
There is still the underscore.
Next, in the logic file there was an error saying that
((G2_Q0001_SQ003.NAOK == "Y")) is undefined, even if I remove the first underscore.
And , really, the subquestion codes of this questions are "SQ1", "SQ2", "SQ3", ... (not "SQ003")
as you see here:
Code:
<row> <qid><![CDATA[2955]]></qid> <parent_qid><![CDATA[2790]]></parent_qid> <sid><![CDATA[477443]]></sid> <gid><![CDATA[227]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[SQ3]]></title> <question><![CDATA[DirectCGF-TDL]]></question>
In "ProdSNR" there are english answer options missing.
So, please remove the errors and follow Tony's advice.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
- OlivierRov
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
4 years 2 months ago #192455
by OlivierRov
Replied by OlivierRov on topic Ghost question preventing from activating questionnaire
Hi,
Thank you both for your responses.
I've fixed the subquestion's IDs. And I've deleted the english translation (I'll just write it again).
The questionnaire can be activated ! I believe there was indeed a disfunction due to translated questions not having the same ID as french ones.
Thank you for your help.
Olivier
Thank you both for your responses.
I've fixed the subquestion's IDs. And I've deleted the english translation (I'll just write it again).
The questionnaire can be activated ! I believe there was indeed a disfunction due to translated questions not having the same ID as french ones.
Thank you for your help.
Olivier
The topic has been locked.
- thompsonmax
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
4 years 2 months ago #192678
by thompsonmax
Replied by thompsonmax on topic Ghost question preventing from activating questionnaire
Hi everybody. I am new here. Interesting thread, thanks for the information.
The topic has been locked.