Check out the LimeSurvey source code on GitHub!

Urgent issue with dropdown options

More
6 years 1 month ago - 6 years 1 month ago #55303 by stitcho
I have just installed LimeSurvey and so far I am very impressed however I am having some issues that are holding up my project massively.

I am trying to create a question where the question type is a List(dropdown) but once I have created the question I can not add any options. Te + and - buttons under actions dont seem to be clickable and the Predefined label sets and Quick add buttons dont do anything when you click them.

If I change the default option and click Save the page just refreshes and loses what I have done.

I have Googled this and read other forum posts so I have done the following:
1. Switched to debug mode - nothing coming up
2. Re-uploaded the package in Binary mode - made no difference

Im running PHP version 5.2.14 and the latest version of LimeSurvey.
Screen shot below of my admin page:
limesurvey.png

I also have a copy running locally on my laptop via WAMP and I am having exactly the same problem.

Any urgent help would be greatly appreciated.

Edit: Tested in IE, Firefox and Chrome.
Last Edit: 6 years 1 month ago by stitcho.

Please Log in to join the conversation.

More
6 years 1 month ago #55305 by tpartner
Sounds like something is causing a JavaScript error. Have you tryed another browser?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
6 years 1 month ago #55306 by stitcho
I've just tried Opera and Safari as well and still no luck.

Apart from removing the LimeSurvey donate stuff in the page footers I've not changed any of the page configs.

Please Log in to join the conversation.

More
6 years 1 month ago #55308 by stitcho
Just as a bit of extra info this isnt limited to the dropdown option, I've just tried the 5 choice array and it has the same problem so looks like a problem on that page itself?

Please Log in to join the conversation.

More
6 years 1 month ago #55312 by holch
This is a common problem if not all files are uploaded correctly (most likely the JQuery part).

However, what sounds strange is that it also happens on your local installation.

Could you try to download the latest LS package again and make a new local installation?

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
6 years 1 month ago #55314 by Mazi
Which version did you downoad, 1.90 or 1.91RC2?

Are there any errors reported at Firefox's error console?


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
6 years 1 month ago #55321 by stitcho
Thats for the responses.

I downloaded whichever one is linked from the main download page on here. My version file says this:

$versionnumber = "1.90+";
$dbversionnumber = 143;
$buildnumber = '9642';

I'll try downloading it again and start from scratch to see if that makes a difference.

The Firefox error consol doesnt show any errors, just warnings and they are mostly CSS issues

Please Log in to join the conversation.

More
6 years 1 month ago #55324 by stitcho
Right well I downloaded the package again and did a clean install on my local machine and it worked fine.

So following that I cleared out my hosted one and re-uploaded all the files again in binary mode and im still getting the same problem. Now im completely baffled

Please Log in to join the conversation.

More
6 years 1 month ago #55328 by tpartner
Can give me access to a sample survey on your hosted server so I can test? If so, PM me and I'll give you my coordinates.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
6 years 1 month ago #55334 by holch
So probably the first file wasn't downloaded completely. That would explain why the local installation didn't work but works now.

But then the problem persists on the server. Could you check if all files that are in the local installation are also on the server? Especially the Jquery files?

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
6 years 1 month ago #55342 by tpartner
We sorted this out. Removing the footer element of the admin pages prevented the insertion of Carstens nice new JavaScript that controls menu-bar and sub-question/answer behaviour.

Rather than removing the footer element in the source code it can be hidden by adding something like the following to the end of /admin/styles/default/adminstyle.css:
.footer {
                height:3px;
                margin:0 0 40px 0;
                padding: 0;
}
 
.footer div {
                display: none;
}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
6 years 1 month ago #55357 by Mazi

tpartner wrote: We sorted this out. Removing the footer element of the admin pages prevented the insertion of Carstens nice new JavaScript that controls menu-bar and sub-question/answer behaviour.

Did I get this right that there is some JS connected to the footer element at the admin backend?
So when removing the footer the whole JS breaks and causes the problems described earlier?

If so, we should really change the way the JS is integrated because there are probably quite a lot installations with a modified/removed footer!?


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
6 years 1 month ago #55367 by tpartner

...we should really change the way the JS is integrated...


No, the JavaScript is inserted after the footer element and was removed with the footer element. Quite often the best place for JavaScript is at the end of the <body> element. I don't think any changes are required.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
6 years 1 month ago #55398 by Mazi
Thanks for your feedback!


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form