V
V
vladlexx2014-05-19 10:31:20
PHP
vladlexx, 2014-05-19 10:31:20

dropzone not working

Good afternoon!
The script used to work, there were no errors, but now it doesn't work.
9422fba7e0e443a6b3be9694e84434a0.PNG
It swears at this line:
a4da0656fa984572ae6df88e4fc10410.PNG
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
2f781648ac584d43a5f2f27da6968d04.PNG
I didn’t change anything, I repeat, everything worked before

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene Obrezkov, 2014-05-19
@vladlexx

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 question

Ask a Question

731 491 924 answers to any question