V
V
vadim_tur2015-10-08 10:27:27
JavaScript
vadim_tur, 2015-10-08 10:27:27

How to get error text on ajax request?

Through ajax in jquery I send a post request to the server with yii2 (in the request it is not a small array that is processed on the server) I get an error 500 Internal server error. How can I see the error text? If these are yii logs, then please give an article or explain how to set up so that php errors are visible.
PS: before when this happened, I changed post to get and made a request through the browser and corrected errors, but now when you need to process a large array, this method does not work.
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivanq, 2015-10-08
@vadim_tur

You will not be able to get the text of the php error. It will turn out only to read a log on the server.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question