Viewing 10 posts - 1 through 10 (of 13 total)
Author
Posts
  • #6822

    Want to open manage family trees.
    Fatal error: ‘break’ not in the ‘loop’ or ‘switch’ context in public_html/kiwitrees/admin_trees_manage.php on line 144

  • #6823

    Wim

    That’s because you are now using PHP 7 for your site. You must have changed that recently, or your web host did.

    Kiwitrees may well still have quite a a few php 7 bugs to find, and for now I don’t have time to fully research all the differences, so my advice at this stage is to stick with php 5.6, unless you are able to find and fix the errors for yourself (and me). 5.6 will be fully maintained by the php team until the end of 2018, so I see no need to rush.

    For now I’ve added a “fix” for the problem on your site (changed “break” to “exit”), but I’m not yet sure if that will be the final solution.

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

    Maybe change the title of this topic in something like running kiwitrees PHP 7 erros
    Is it a problem if I set PHP back to 5.6?

    Last week, after changing server, my host must have set this at default to PHP 7.

    Noticed two other problems,but don’t know if these are PHP related, but this could be the cause
    1. Tthe layout made with markdown in Shared Notes disappeared
    2.. Tried to install Mysqldumper was also impossible. Read on the site of Mysqldumper it wasn’t compatible with PHP 7. (I didn’t check this , because I thought nothing with PHP has changed.)

    The fix worked, I can make a GEDCOM-export.

    Maybe change topic title PHP 7 errors?

  • #6830

    Maybe change the title of this topic in something like running kiwitrees PHP 7 errors

    There is already a thread for that: http://kiwitrees.net/forums/topic/php-7-0/ It would be better to keep it in one place. Then I’ll know where to look when I have time to work on them.

    1. Tthe layout made with markdown in Shared Notes disappeared

    Sounds like it could be php 7 related. We don’t actually use any markdown on kiwitrees, but I assume you are referring to the couple of special codes we allow in shared notes. Can you give me a link to the issue on your site?

    Tried to install Mysqldumper was also impossible. Read on the site of Mysqldumper it wasn’t compatible with PHP 7.

    I wasn’t aware of that either. That will be annoying if they don’t fix it soon. Development on MSD is pretty slow lately. They started work on a completely new version about three years ago! When I get chance I’ll have to look at it myself and see if I can fix it. Most of the PHP 7 issues are fairly minor once identified. Did their site indicate what the issue was?

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

    Link for markdown: http://stamboommeijberg.nl/kiwitrees/note.php?nid=N26&ged=meijbe
    Link for Mysqldemper anouncement: http://forum.mysqldumper.de/ende-des-projekts-mysqldumper-t7541.html

  • #6832

    Link for markdown: http://stamboommeijberg.nl/kiwitrees/note.php?nid=N26&ged=meijbe
    Link for Mysqldemper anouncement: http://forum.mysqldumper.de/ende-des-projekts-mysqldumper-t7541.html

    Thanks. The MSD issue looks fixable. There is a version on github that is ok in php 7. I’ll test it then include it in the add-on module so there will beni need for a Stuart’s download. It will work well with the Dropbox file back-up module I have just completed.

    I’ll look at the shared note issue when I can.

    I forgot to answer your other question. Yes, you can simply go back to php 5.6 with no issues.

    Nigel
    My personal kiwitrees site is www.our-families.info
    1 user thanked author for this post.
  • #6833

    When I go back to 5.6 and the shared note issue isn’t there anymore I will let you know.
    For the MSD I wait till the next version.

  • #6834

    Gone back to PHP 5.6 Shared note is not working.
    For now it is not a big problem, later today I send you an email with some questions about Shared Notes.

  • #6835

    Gone back to PHP 5.6 Shared note is not working.
    For now it is not a big problem, later today I send you an email with some questions about Shared Notes.

    So it’s not php 7. I can guess what the problem is though. Kiwitrees does NOT use “markdown”. It has just a couple of special codes (developed for the census assistant) that are converted to HTML for display. So you can ONLY use those, and they must be used EXACTLY as used in census assistant. Not even the smallest difference will display properly.
    I’ll look tomorrow and explain better in terms of your exact entry

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

    Link for markdown: http://stamboommeijberg.nl/kiwitrees/note.php?nid=N26&ged=meijbe

    I have replied also by email, with an example of a working shared note. But looking at yours the issues are:

    • You need a blank line between the title and the content of the note.
    • Because it is a table you must have the same number of cells in every row. Each cell separated by “|”
    • You do not need the start and end_formatted_area code
    • You do not need anything between two “|” characters for an empty cell.

    Remember, this is NOT markdown. It is just a couple of codes designed to force a display of text into an html table structure. It was designed ONLY for the census assistant. It can be used for other shared notes, but only in a very limited, and technically “unofficial” way.

    Nigel
    My personal kiwitrees site is www.our-families.info
Viewing 10 posts - 1 through 10 (of 13 total)
  • The topic ‘Error manage family trees’ is closed to new replies.