Editor controller - ajax error on multiple requests

Editor controller - ajax error on multiple requests

berusberus Posts: 5Questions: 2Answers: 0
edited April 2019 in Free community support

Hello !
I have recently bought one editor license. Before I used datable for some time, with custom php file to load data from mysql.
Now I'm using datables editor in several pages . Data loaded via ajax/server side.
All ok ..but I get an error message in some case (not always) :
- if in the same page there are 2 or more tables (associated to different controllers)
- if i use the default search filter typing more character.

In these cases if I look in browser consolle I see that the response to the xhr call is "page not found".
In the case where I have 2 table in the same page .. only need to reload the page until the problem not appear
In the case of searching only need to slow down typing.

So seem a problem related to the frequency of the xhr calls (and at the response time).

Any tips/suggestions about to solve this problems ?
(in the past I had several pages with multiple tables in the same page with ajax calls to custom php but never had these problems)

Thanks in advance

p.s. I haven't posted any code or link because isn't a code error (I think)

Server running php 5.6

Error:
DataTables warning: table id=anagrafica - Ajax error. For more information about this error, please see http://datatables.net/tn/7

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,650Questions: 1Answers: 10,094 Site admin
    Answer ✓

    404 error means "not found". It would be really odd for it to be found sometimes but not at other times. A rate limiter would return some other response if that was what was causing the issue.

    Is there anything shown in the server's error log?

    Allan

  • berusberus Posts: 5Questions: 2Answers: 0

    Hello, thanks for your reply.
    Sincerely after i posted here .. the error no longer occurred.
    Very strange.
    I wanted to check/verify if the error was 404 or 500.
    In any case the php error log was empty.

    Thanks again

This discussion has been closed.