Search Forums
Forums
Kiwitrees on Twitter
    Tags

    tabs, immigration, fixing errors, F.A.B., access level, birth, seo, logout, prefix, edit menu, MAC, ADDR, webtrees, research, close, installation, configure, 3.2.0, prison, help, performance, 3.1, links, contacts, BURI, Administration, calendar, ASSO, Add a wife, 3.2.3, json, custom modules, Canada, blank screem, Georgian, re-order, click, formatting, ID facts, shared note, dead, Require visitor authentication, new feature, folder, upgrade, check, relationships, order, add_asso_facts, shared notes, repo, calendar.php issue, tags, design, redirect, advanced, custom, CREM, sidebar, family

    Topic:   Error with lists  

    This topic contains 6 replies, has 3 voices, and was last updated by kiwi kiwi 2 years, 7 months ago.

    Viewing 7 posts - 1 through 7 (of 7 total)
    • Author
      Posts
    • #4289

      jamesl
      Participant

      22 posts

      Hello all,

      I’m getting an error message when displaying Individuals or Families lists.
      The error occurs when I click on one of the letters in the initial list display, and the message is:

      DataTables warning: table id=DataTables_Table_0 - Cannot reinitialise DataTable. For more information about this error, please see http://datatables.net/tn/3

      After I click on ‘OK” to get rid of the message, the list does display, and seems to be correct.
      I looked at the web page indicated (which redirects to http://datatables.net/manual/tech-notes/3) and it seems to be caused by attempting to initialise a data table which has already been initialised.

      I have a couple of gedcom files loaded in kiwitrees, but I see that other sites (including Nigel’s) have miore than onbe gedcom and do not have this problem.

      Has anyone else run into this error message?

      James

      Has anyone else

      #4290

      jamesl
      Participant

      22 posts

      Oops! The error message doesn’t display correctly. Here’s another attempt:

      DataTables warning: table id=DataTables_Table_0 - Cannot reinitialise DataTable. 
      For more information about this error, please see http://datatables.net/tn/3
      
      #4291
      kiwi
      kiwi
      Keymaster

      1547 posts

      James

      DataTables errors are most commonly caused by fairly minor data issues. I would need to access your site to check what the actual cause is though. I’m away from the office for a couple of days but if you could email some access details I can take a look on Thursday.

      Nigel
      My personal kiwitrees site is www.our-families.info
      #4292
      kiwi
      kiwi
      Keymaster

      1547 posts

      James

      Sorry for the delay getting back to you on this. In this case it was not a data related error, so I did not need to access your site (but thanks for sending the details). Please try replacement file “functions_print_lists.php” that is inside the attached zip folder. It replaces the file of the same name in the folder kiwitrees/includes/functions/

      In my tests this resolved the issue completely, but please confirm if it also does so on your system.

      Nigel
      My personal kiwitrees site is www.our-families.info
      Attachments:
      #4295

      jamesl
      Participant

      22 posts

      That fixed the problem.
      Thanks a lot Nigel.

      James

      #4296
      clandav
      clandav
      Participant

      132 posts

      Related to this problem – a general query Nigel. When you provide a fix, as you have done here, in response to a problem raised by a user, and you send this to the forum, is it your recommendation that we all apply that fix, even if we haven’t experienced the problem? Happy to do so, by the way, just unsure? As the problem wasn’t data-related, I’m intrigued to know if it could also occur on my system, and if so what may trigger it.
      Thanks for clarification.

      Ron in France
      Website: http://www.clan-davies.org/webtrees/
      kiwitrees 3.3.1; PHP 7.0.23; MySQL 5.6.37 ;

      #4297
      kiwi
      kiwi
      Keymaster

      1547 posts

      No, I don’t generally recommend interim changes to your version unless done to resolve a specific issue you are actually experiencing. The reason simply being that If I’m called on to analyse someone’s problems it is easier if I know for sure what version of the software they are using. If some but perhaps not all subsequent minor mods have been made it gets hard to reproduce a comparable set up.

      The exception to my recommendation might be a security fix, but in those cases I would make a complete new release urgently for everyone to use.

      In this case the problem would be reasonably wide-spread among users, but only if the exact conditions James described are in place. Not mentioned in his report are a) you need to be logged in, and b) you need to have the display of surnames set to the default (table) format (Administration > Family trees > your family tree > Layout > Surname list style). He couldn’t reproduce it on my site as I don’t use the default display, preferring the “tag cloud” version. It is not related to the number of trees / GEDCOM files on the site.

      I will probably release ver 3.0.1 next week, so not long to wait regardless.

      Nigel
      My personal kiwitrees site is www.our-families.info
    Viewing 7 posts - 1 through 7 (of 7 total)

    You must be logged in to reply to this topic.