Menu

Place Hierarchy not working in 2.13

Help
2003-09-04
2003-09-05
  • Owen Campbell

    Owen Campbell - 2003-09-04

    Hi all,

    I've just noticed that my 'Place Hierarchy' isn't working at all. I just get the 'Top Level' entry and an empty 'People' and 'Families' table.

    I'm not sure when it was last working as I haven't looked for a while, but I think it must have stopped at my upgrade to 2.13.

    You can see the site at http://www.tanti.org.uk

    Owen

     
    • John Finlay

      John Finlay - 2003-09-04

      If I remember right, you use the MySQL version.  Is this correct?

      --John

       
    • John Finlay

      John Finlay - 2003-09-04

      I don't have a test site up and running 2.13 at the moment so I can't verify what you are describing.

      I know that the place hierarchy is working in the  2.14 beta version.  You could try downloading version 2.14b and just uploading the placelist.php file from that package.

      --John

       
    • Owen Campbell

      Owen Campbell - 2003-09-04

      John,

      I'm not using the mysql version. I noticed there's a bug reported for the same issue and I'm wondering if it's another php version issue. I'm on php 4.2.2

      Owen

       
    • Owen Campbell

      Owen Campbell - 2003-09-04

      John,

      I've tried placelist.php from the 2.14 version, as you suggested, but with no change, I'm afraid.

      Owen

       
    • John Finlay

      John Finlay - 2003-09-04

      Owen,

      The placelist uses different code for PHP>=4.3.  The is a bug in the code for PHP < 4.3 on line 65.

      Line 65 should be:
      else $ct = preg_match_all("/\d PLAC (.*)/", $fcontents, $match, PREG_SET_ORDER);

      The $ct = was missing.

      I've uploaded a new file to the bug report here:
      http://sourceforge.net/tracker/index.php?func=detail&aid=796860&group_id=55456&atid=477079

      --John

       
    • Owen Campbell

      Owen Campbell - 2003-09-05

      John,

      Many thanks. That's working fine.

      Owen

       

Log in to post a comment.