Check out the LimeSurvey source code on GitHub!

Unable to save Survey General settings

More
4 years 2 weeks ago - 4 years 2 weeks ago #92454 by ccyarm
Running Version 2.00+ Build 130206, on IIS.
Everything works except the "Save" and "Save and edit Survey text elements" buttons from the General settings page.

No problems saving from the "Edit text elements" page.

I have changed debug=1 on the config.php file but we don't get any error message, pressing on the save buttons just do nothing.

I'm having to go on the database and change values manually for my survey.

Also, the "save" button on "save as label set" on the question screen has the same behaviour, it does nothing.

I appreciate your help on these matters.
Thank you
Last Edit: 4 years 2 weeks ago by ccyarm. Reason: additional request

Please Log in to join the conversation.

More
4 years 2 weeks ago #92460 by ccyarm
After debugging on IE9, I found that the error comes from the trim() function which it says, it's not supported.
If you have the same problem as me, just remove .trim() from scripts\admin\surveysettings.js line 68:

if (($('#allowregister').val()=='Y' || $('#emailresponseto').val().trim()!='' || $('#emailnotificationto').val().trim()!='')&& $('#adminemail').val().trim()=='')

However, I still have the problem saving label sets from the question/answer options page...

Please Log in to join the conversation.

More
4 years 2 weeks ago #92464 by holch
Have you tried to switch the browser? Just to see if in Chrome or Firefox everything works fine?

Of course LS should work in all current browsers, but I would rather use a different browser for the LS administration than to make changes to the source code, because with every update you have the risk that this will be reversed.

A bug report would make more sense I think.

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
4 years 2 weeks ago #92466 by ccyarm
yes, I tried with firefox, general settings did work fine, but still, label sets did not work and nothing was showing on the error console.

Please Log in to join the conversation.

More
4 years 2 weeks ago #92469 by holch
That is weird, because for me things are working just fine. There must be something wrong with your 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
4 years 1 week ago #92615 by fla16660
Hello all,

I have the same problem with 31 January application version / 6 february and 13 february versions.

As ccyarm said, there is the trim function who is not recognized... and it's normal.
Why ?

string returned value is not a function.

trim($('#emailresponseto').val()) could works and $.trim($('#emailresponseto').val()) also (function trim is defined into globalsettings script file).

i changed $('#emailresponseto').val().trim() BY $.trim($('#emailresponseto').val()) and all works perfectly now.

It works under firefox it's true but it's not a reason to tell than there is not an error into this script :)

Please Log in to join the conversation.

More
4 years 1 week ago #92617 by DenisChenu
$.trim is a jquery function.

If you don't put a bug report, you have less chance that correction is applied.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

More
4 years 1 week ago #92622 by fla16660
$.trim yes but it's not finally the problem it's the trim on a string returned value who is the problem.

Tried to connect but i lose then not sent bug report....

I'll correct into my application and if anyone look at here he could correct the "bug" (?)

Please Log in to join the conversation.

More
4 years 1 week ago #92634 by DenisChenu

fla16660 wrote: Tried to connect but i lose then not sent bug report....

?

www.limesurvey.org/en/community-services/bug-tracker

Please note that to be able to report bugs you have to register a user account on limesurvey.org first and you can use that account to login to the bug tracker.


You try with your username and password from the forum ?

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

More
4 years 1 week ago #92773 by fla16660
the mistake was my login....

Ticket 07310 generated ;)

Please Log in to join the conversation.

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