Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Save button hangs and changes are not saved.

More
4 years 5 months ago #214317 by batpurev
hi gurus, 

Save button hangs and changes are not saved. It is happening quite often. Looking at the browser console it shows me following error messages.

1. Uncaught TypeError: Cannot read property 'destroy' of null
    at HTMLDocument.<anonymous> (VM306 questionedit.js:36)
    at HTMLDocument.dispatch (jquery-3.5.1.min.js:2)
    at HTMLDocument.v.handle (jquery-3.5.1.min.js:2)
    at pjax. combined. min. js:1
   ...
2. DevTools failed to load SourceMap: Could not load content for https://www/tmp/assets/81494240/bootstrap.min.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
3. PJAX -> No JSON found. If you expected it there was an error. pjax. combined .min .js:1


do you know what might cause these sorts of errors and hanging of save action?

thanks.
The topic has been locked.
More
4 years 5 months ago #214320 by DenisChenu
LimeSurvey version and build number ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
More
4 years 5 months ago #214324 by batpurev
Version 4.3.34
The topic has been locked.
More
4 years 5 months ago #214325 by batpurev
following is the culprit message 

VM166 adminbasics.min.js:1 TypeError: Cannot read property 'id' of null
    at t.<anonymous> (VM227 questiongroupedit.js:1046)
    at invokeWithErrorHandling (VM166 adminbasics.min.js:1)
    at t.e.$emit (VM166 adminbasics.min.js:1)
    at t.value (VM166 adminbasics.min.js:1)
    at HTMLAnchorElement.run (VM166 adminbasics.min.js:1)
    at HTMLDocument.dispatch (jquery-3.5.1.min.js:2)
    at HTMLDocument.v.handle (jquery-3.5.1.min.js:2)
The topic has been locked.
More
4 years 5 months ago #214326 by batpurev
hi again this looks like browser specific.

on Mozilla 87.0 (64-bit) it is responding.
but on Chrome Version 89.0.4389.114 (Official Build) (64-bit)
is still hang
The topic has been locked.
More
4 years 5 months ago - 4 years 5 months ago #214327 by batpurev
admin panel opened with Mozilla hangs too so to say it is NOT browser specific. Errors on Mozilla.

1. Uncaught TypeError: e.instance is null
    mounted questiongroupedit.js:5696
    jQuery 2
    d pjax.combined.min.js:1
    a pjax.combined.min.js:1
    d pjax.combined.min.js:1
    d pjax.combined.min.js:1
    value pjax.combined.min.js:1
    v pjax.combined.min.js:1
    attachLink pjax.combined.min.js:1

2. TypeError: t is null
    mounted questiongroupedit.js:111691
    VueJS 2
    value eventbus.js:15
    run save.js:74
    jQuery 2

3. This is everywhere
Cookie “_gid” will be soon treated as cross-site cookie against URL because the scheme does not match.

Last edit: 4 years 5 months ago by batpurev.
The topic has been locked.
More
4 years 5 months ago #214343 by DenisChenu
Can you update to 4.4 ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
More
4 years 5 months ago #214348 by batpurev
surveys containing some sort of JS in the question field seems to hang on save action while other surveys without JS are saving as if nothing happened.
The topic has been locked.
More
4 years 5 months ago #214353 by DenisChenu
You mean : if there are javascript inside question text : it broke, else it's OK ?

I think there are an issue with HTML not filtered in 4.X some time ago.

 

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
More
4 years 5 months ago #214404 by batpurev
actually it is NOT related to JS. Survey without JS are not saving too. It is hanging without any reason. New survey created adding simple questions then it refuses to save.
The topic has been locked.
More
4 years 5 months ago #214406 by batpurev
whenever it is hang following message always there in browser console.

VM1023 adminbasics.min.js:1 TypeError: Cannot read property 'id' of null
    at t.<anonymous> (VM1032 questiongroupedit.js:1046)
    at invokeWithErrorHandling (VM1023 adminbasics.min.js:1)
    at t.e.$emit (VM1023 adminbasics.min.js:1)
    at t.value (VM1023 adminbasics.min.js:1)
    at HTMLAnchorElement.run (VM1023 adminbasics.min.js:1)
    at HTMLDocument.dispatch (jquery-3.5.1.min.js:2)
    at HTMLDocument.v.handle (jquery-3.5.1.min.js:2)

The topic has been locked.
More
4 years 5 months ago #214408 by DenisChenu

Can you update to 4.4 ?
 

And can you activate debug mode and check the error shown on HTTP XHR request ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
More
4 years 5 months ago #214410 by jelo
How was your LimeSurvey installed? What is the environment it is running in?  Click' on the version number at the bottom to get some more infos about the environment.
 

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
More
4 years 5 months ago #214411 by batpurev
can not SAVE with Chrome but can save with Mozilla.
The topic has been locked.
More
4 years 5 months ago - 4 years 5 months ago #214412 by batpurev
1. Downloaded unzipped then Copied to server folder.
2. Plz look at the image for version and other info.\Your system configuration:
  • LimeSurvey version: 4.3.34
  • LimeSurvey build github
  • Operating system Linux localhost 3.10.0-1127.19.1.el7.x86_64 #1 SMP Tue Aug 25 17:23:54 UTC 2020 x86_64
  • PHP version 7.4.14
  • Web server name 
  • Web server software  Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips
  • Web server infoDatabase driver
  • mysql Database driver version mysqlnd 7.4.14
  • Database server info Uptime: 155102 Threads: 1 Questions: 671368 Slow queries: 0 Opens: 235 Flush tables: 2 Open tables: 229 Queries per second avg: 4.328
  • Database server version 5.5.68-MariaDB

https://drive.google.com/file/d/1GZGOfv1rAVcZCzjeAp6mtW-Rj1CJxhVG/view?usp=sharing
Last edit: 4 years 5 months ago by batpurev.
The topic has been locked.
Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose