- Posts: 6
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
SyntaxError: JSON Parse error: Unrecognized token '<'
- angonz
- Topic Author
- Offline
- New Member
Less
More
1 year 10 months ago #228535
by angonz
SyntaxError: JSON Parse error: Unrecognized token '<' was created by angonz
Please help us help you and fill where relevant:
Your LimeSurvey version: 5.3.14+220516
Own server or LimeSurvey hosting: Own server (AWS)
Survey theme/template:
==================
I get "SyntaxError: JSON Parse error: Unrecognized token '<'" in questionEditor.js, line 1841 and the browser hangs.
It happens when pressing the save button after editign a question (dropbox, radiobutton, etc.) with many (~90) options. With less questions works well. When adding one more, the error happens.
Your LimeSurvey version: 5.3.14+220516
Own server or LimeSurvey hosting: Own server (AWS)
Survey theme/template:
==================
I get "SyntaxError: JSON Parse error: Unrecognized token '<'" in questionEditor.js, line 1841 and the browser hangs.
It happens when pressing the save button after editign a question (dropbox, radiobutton, etc.) with many (~90) options. With less questions works well. When adding one more, the error happens.
Please Log in to join the conversation.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11746
- Thank you received: 2750
1 year 9 months ago - 1 year 9 months ago #228595
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic SyntaxError: JSON Parse error: Unrecognized token '<'
I'd say this is a server configuration issue. Probably something about max vars in php, or execution time, etc. But I am really not an expert on this.
But whenever it is something that works to a certain number of items, and then with more it doesn't, the general issue is a certain limit on the server side.
But whenever it is something that works to a certain number of items, and then with more it doesn't, the general issue is a certain limit on the server side.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Last edit: 1 year 9 months ago by holch.
Please Log in to join the conversation.
- angonz
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
- Thank you received: 0
1 year 9 months ago #228596
by angonz
Replied by angonz on topic SyntaxError: JSON Parse error: Unrecognized token '<'
In 3.28.11 something similar happened, but then I got a clear message about max_input_var. I increased this value to 10.000 and it fixed the problem there. But I tried the same in 5.3.15 and didn't work
Please Log in to join the conversation.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11746
- Thank you received: 2750
1 year 9 months ago #228617
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic SyntaxError: JSON Parse error: Unrecognized token '<'
Well, then I am out of suggestions. Maybe someone else knows something.
Maybe create a bug report so the developers can have a look at this.
Maybe create a bug report so the developers can have a look at this.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The following user(s) said Thank You: DenisChenu
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13907
- Thank you received: 2546
1 year 9 months ago #228646
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic SyntaxError: JSON Parse error: Unrecognized token '<'
No plugins ?
Language used in GUI ?
On all survey ?
Yes : try report the issue : community.limesurvey.org/bug-tracker/
Language used in GUI ?
On all survey ?
Yes : try report the issue : community.limesurvey.org/bug-tracker/
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Please Log in to join the conversation.