Viewing 3 posts - 1 through 3 (of 3 total)
Author
Posts
  • #6887

    i was doing some housekeeping in the Admin > Media > Manage media. There was an image that said it was missing so I found it locally and uploaded. Refreshed the page and saw this error:

    DataTables warning: table id=media-table-8cbc11957151b692355cdfe5f02102db – Invalid JSON response. For more information about this error, please see http://datatables.net/tn/1

    I followed the link. Thanks for including Safari how-to. The example shows an html page but I was in Admin so the example in Step 4 didn’t match so I didn’t continue.

    I went back to kiwitrees and reclicked the sidebar option for Media and went to my last page. I see the image okay and it’s not linked (correct, will do that) but want to insure think are okay? How do I tell.

    -----
    [updated: 11 Jun 2021]
    MacOS: 10.15.7  (Catalina)
    Safari   14.0.3;  Firefox 89.0
    PHP 7.4 FastCGI

    Alter-Drukarsh connections... 3.3.8 <private>
    The Royals 3.3.8<royals.rbcsolutions.ca
    >
    The Gerrer Rebbes 3.3.8 <royals.rbcsolutions.ca/index.php?ged=rebbes>

  • #6888

    Yes, OK. Will explain in detail tomorrow.

    Nigel
    My personal kiwitrees site is www.our-families.info
  • #6895

    DataTables warning: table id=media-table-8cbc11957151b692355cdfe5f02102db – Invalid JSON response. For more information about this error, please see http://datatables.net/tn/1

    I followed the link. Thanks for including Safari how-to. The example shows an html page but I was in Admin so the example in Step 4 didn’t match so I didn’t continue.

    Although it’s always nice to receive thanks, but on this occasion they are not for me. The link you used is created by and exists only in the DataTables code developer. DataTables is a javascript library used extensively in kiwitrees, everywhere we show lists. It allows the list to have many different sorting, filtering, and display options without me needing to do any really difficult coding!!

    The link is however very useful in guiding admins how to find the cause of these occasional errors. But it’s never easy, as you discovered. A certain level of understanding of the browser’s “developer tools” is required. Ideally I would say to contact me before you do anything with these errors, leaving your site in a state where the error can be reproduced. Then I can trace the cause.They are always specific to something in your data, so I have no other way of investigating than to look at the error happening on your site.

    However, often they are just temporary issues caused by timing of the data change and the screen refresh – something neither you nor I always have total control over.

    So, in short, if the error is no longer happening, you can ignore it. It is an error message only relating to the attempted table display, never anything that will cause any damage to your data.

    The DataTables code is excellent, but very complex, and so prone to occasional errors from very minor inconsistencies. They do generally fix themselves.

    Nigel
    My personal kiwitrees site is www.our-families.info
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Media error’ is closed to new replies.