Welcome, Guest
Username: Password: Remember me

TOPIC: Unable to save Survey General settings

Unable to save Survey General settings 1 year 8 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: 1 year 8 months ago by ccyarm. Reason: additional request
The administrator has disabled public write access.

Re: Unable to save Survey General settings 1 year 8 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.

Re: Unable to save Survey General settings 1 year 8 months ago #92464

  • holch
  • holch's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2852
  • Thank you received: 360
  • Karma: 125
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 | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.

Re: Unable to save Survey General settings 1 year 8 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.

Re: Unable to save Survey General settings 1 year 8 months ago #92469

  • holch
  • holch's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2852
  • Thank you received: 360
  • Karma: 125
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 | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.

Unable to save Survey General settings 1 year 8 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 1 year 8 months ago #92617

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6451
  • Thank you received: 844
  • Karma: 249
$.trim is a jquery function.

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

Denis
The administrator has disabled public write access.

Unable to save Survey General settings 1 year 8 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 1 year 8 months ago #92634

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6451
  • Thank you received: 844
  • Karma: 249
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
The administrator has disabled public write access.

Unable to save Survey General settings 1 year 8 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.
Moderators: ITEd
Time to create page: 0.125 seconds
Donation Image