- This topic has 6 replies, 3 voices, and was last updated 7 years, 11 months ago by
kiwi.
-
20th April 2015 at 8:01 pm #4289
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
-
20th April 2015 at 8:03 pm #4290
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
-
20th April 2015 at 8:07 pm #4291
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 -
23rd April 2015 at 11:03 am #4292
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 -
23rd April 2015 at 7:40 pm #4295
That fixed the problem.
Thanks a lot Nigel.James
-
24th April 2015 at 4:50 am #4296
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: https://clan-davies.kiwitrees.net/ kiwitrees 3.3.11; PHP 8.0.14
-
24th April 2015 at 7:16 am #4297
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
- The topic ‘Error with lists’ is closed to new replies.