mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-26 09:26:00 +03:00
[GH-ISSUE #1346] modoboa 1.9.1 SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data #1076
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#1076
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @khalidzouagui on GitHub (Jan 8, 2018).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1346
Hi,
I have installed modoboa 1.9.1, but when i try to add a new account i coud not and in the console i receive this error :
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data : jquery.min.js:3:4315
Thank you for your time and your help.
Impacted versions
Steps to reproduce
Current behavior
error :
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data : jquery.min.js:3:4315
Expected behavior
Video/Screenshot link (optional)
@tonioo commented on GitHub (Jan 8, 2018):
Enable debug mode (set DEBUG to True inside settings.py and reload uwsgi) and check the response content with your JS debugger, you should have more information.
@khalidzouagui commented on GitHub (Jan 8, 2018):
Thanks for your response.
I set DEBUG = True in settings.py and i when i want to reload uwsgi with :(env) $ service uwsgi reload
i get : uwsgi.service is not active, cannot reload.
@tonioo commented on GitHub (Jan 8, 2018):
How did you install modoboa?
@khalidzouagui commented on GitHub (Jan 8, 2018):
With the manual installation:
Modoboa
Apache as web server
Dovecot
Postfix
@tonioo commented on GitHub (Jan 8, 2018):
Ok so reload apache.
@khalidzouagui commented on GitHub (Jan 8, 2018):
I reloaded apache, when i hit submit to add a new account i could not and in the console i receive this error :
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data : jquery.min.js:3:4315
@tonioo commented on GitHub (Jan 8, 2018):
You're not looking at the right tab. Inspect the response content. And also make sure you settings are correct (PDF files storage directory for example, see Modoboa > Parameters > PDF)
@khalidzouagui commented on GitHub (Jan 8, 2018):
i have an issue about PDF but i resolved it, Please how do i inspect the response content?
@tonioo commented on GitHub (Jan 8, 2018):
Look at the network tab for example and search the failing request.
@khalidzouagui commented on GitHub (Jan 8, 2018):
It was about PDF authorization, i resolved it by : # chmod ugo+rwx -R /var/lib/modoboa/pdf_credentials/
but i have other problems when i want to access Contacts and Webmail. but i think it is another issue.
Thank you Mr Antoine.