Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Unable to save Survey General settings

Unable to save Survey General settings 1 Jahr 5 Monate her #92454

  • ccyarm
  • ccyarms Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 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
Letzte Änderung: 1 Jahr 5 Monate her von ccyarm. Begründung: additional request
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Unable to save Survey General settings 1 Jahr 5 Monate her #92460

  • ccyarm
  • ccyarms Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 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...
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Unable to save Survey General settings 1 Jahr 5 Monate her #92464

  • holch
  • holchs Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 2549
  • Dank erhalten: 285
  • Karma: 102
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!
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Unable to save Survey General settings 1 Jahr 5 Monate her #92466

  • ccyarm
  • ccyarms Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 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.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Unable to save Survey General settings 1 Jahr 5 Monate her #92469

  • holch
  • holchs Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 2549
  • Dank erhalten: 285
  • Karma: 102
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!
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Unable to save Survey General settings 1 Jahr 5 Monate her #92615

  • fla16660
  • fla16660s Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 10
  • Dank erhalten: 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 :)
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Unable to save Survey General settings 1 Jahr 5 Monate her #92617

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6205
  • Dank erhalten: 787
  • Karma: 238
$.trim is a jquery function.

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

Denis
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Unable to save Survey General settings 1 Jahr 5 Monate her #92622

  • fla16660
  • fla16660s Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 10
  • Dank erhalten: 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" (?)
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Unable to save Survey General settings 1 Jahr 5 Monate her #92634

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6205
  • Dank erhalten: 787
  • Karma: 238
fla16660 schrieb:
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
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Unable to save Survey General settings 1 Jahr 5 Monate her #92773

  • fla16660
  • fla16660s Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 10
  • Dank erhalten: 1
  • Karma: 1
the mistake was my login....

Ticket 07310 generated ;)
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.159 Sekunden
Donation Image