Answer the question
In order to leave comments, you need to log in
dropzone not working
Good afternoon!
The script used to work, there were no errors, but now it doesn't work.
It swears at this line:
This happens at the stage of receiving a json response from a php script.
if I comment this line and add an alert, I see that the json response is correct
I didn’t change anything, I repeat, everything worked before
Answer the question
In order to leave comments, you need to log in
1) The console says that you are trying to connect Dropzone to where it is already connected.
2) Sometimes it happens that an error occurs when parsing the JSON response itself. For example, you have mutually exclusive " or ' in a string in JSON.
Try to return another simpler JSON response from the server and see if it parses. If yes, then the error is not in the JS code, but in the JSON response.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question