Half Red
Half Red

Reputation: 11

Datatable ajax error without error detail

The process falls into the error(jqXHR jqXHR, String textStatus, String errorThrown) handler.

When I console.log the variables I get :

jqXHR: {
    readyState: 0,
    responseText: "",
    status: 0,
    statusText: "error"
    //and other meaningless prototype functions
}
textStatus: "error"
errorThrown: ""

I have 2 Datatables on the same page, and the other one is loading properly.

Console shows a weird thing :

Upvotes: 0

Views: 117

Answers (1)

Half Red
Half Red

Reputation: 11

The problem was linked to the Apache2 web server.

I don't know why, but restarting it solved the issue.

Upvotes: 1

Related Questions