Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Unable to save Survey General settings

Unable to save Survey General settings 3 years 9 months ago #92454

  • ccyarm
  • ccyarm's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 5
  • Karma: 1
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: 3 years 9 months ago by ccyarm. Reason: additional request
The administrator has disabled public write access.

Unable to save Survey General settings 3 years 9 months ago #92460

  • ccyarm
  • ccyarm's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 5
  • Karma: 1
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...
The administrator has disabled public write access.

Unable to save Survey General settings 3 years 9 months ago #92464

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5446
  • Thank you received: 814
  • Karma: 240
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.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | [url=https://manual.limesurvey.org/Workarounds[/url]

If you found this answer helpful and it saved you some time please consider a [url=https://donate.limesurvey.org[/url] to the...
The administrator has disabled public write access.

Unable to save Survey General settings 3 years 9 months ago #92466

  • ccyarm
  • ccyarm's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 5
  • Karma: 1
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.
The administrator has disabled public write access.

Unable to save Survey General settings 3 years 9 months ago #92469

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5446
  • Thank you received: 814
  • Karma: 240
That is weird, because for me things are working just fine. There must be something wrong with your installation.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | [url=https://manual.limesurvey.org/Workarounds[/url]

If you found this answer helpful and it saved you some time please consider a [url=https://donate.limesurvey.org[/url] to the...
The administrator has disabled public write access.

Unable to save Survey General settings 3 years 9 months ago #92615

  • fla16660
  • fla16660's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 10
  • Thank you received: 1
  • Karma: 1
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 :)
The administrator has disabled public write access.

Unable to save Survey General settings 3 years 9 months ago #92617

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9600
  • Thank you received: 1376
  • Karma: 390
$.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 (use private message).
The administrator has disabled public write access.

Unable to save Survey General settings 3 years 9 months ago #92622

  • fla16660
  • fla16660's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 10
  • Thank you received: 1
  • Karma: 1
$.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" (?)
The administrator has disabled public write access.

Unable to save Survey General settings 3 years 9 months ago #92634

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9600
  • Thank you received: 1376
  • Karma: 390
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 (use private message).
The administrator has disabled public write access.

Unable to save Survey General settings 3 years 9 months ago #92773

  • fla16660
  • fla16660's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 10
  • Thank you received: 1
  • Karma: 1
the mistake was my login....

Ticket 07310 generated ;)
The administrator has disabled public write access.
Time to create page: 0.219 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form