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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If I remember right, you use the MySQL version. Is this correct?
--John
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
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
John,
I've tried placelist.php from the 2.14 version, as you suggested, but with no change, I'm afraid.
Owen
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
John,
Many thanks. That's working fine.
Owen