• This topic has prefixes assigned
Viewing 4 posts - 1 through 4 (of 4 total)
Author
Posts
  • #13168

    I have received a report of an issue that causes the display of statistics (Charts > Statistics) to fail (‘Individuals’ tab only) if using MySQL for a database. This is only in the 3.3.9 version of kiwitrees. The fault causes all outputs on the first tab, from the first pie chart, to fail.

    In your server logs (not the kiwitrees admin logs) you will see errors like this (plus more related lines):

    [Thu…### Apr 08 11:33:24 2021] [error] [client xxx.xxx.xxx.xxx]
    FastCGI: server “/usr/local/apache/cgi-bin/php7-fcgi72”
    stderr: PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[42000]:
    Syntax error or access violation: 1139 Got error ‘repetition-operator operand invalid’
    from regexp in /home/zz/zz/zzzzzzzzzz/zzzzzz/library/KT/DBStatement.php:87

    The cause is using a piece of MariaDB-specific code that does not work on MySQL servers.

    Attached is a zip folder containing the fixed file, which replaces kiwitrees\library\KT\Stats.php

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

    Runs perfectly now. Thank you.

    Just missing a translate code on subtitle:

    Click on links to see more details for each statistic.
    (Note: large numbers can be very slow to load)

    Regards, Jamie Jaconelli

    admin and owner of a user customized version of kiwitrees (contain 3 family trees)

  • #13171

    Runs perfectly now. Thank you.

    Just missing a translate code on subtitle:

    Click on links to see more details for each statistic.

    (Note: large numbers can be very slow to load)

    Yes. It is already translatable, but a language file with new translations (a “.po” file) cannot be made between versions as it would include other translations still in development. You could temporarily create your own perhaps?

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

    I can not see it on transifex. (I just updated the translations) The reason I made the post

    I think we can live without it until next release.

    Regards, Jamie Jaconelli

    admin and owner of a user customized version of kiwitrees (contain 3 family trees)

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Statistics chart – individual tab fails in 3.3.9’ is closed to new replies.