Jump to content
TNG Community

After installing same person link MOD get syntax in file admin_places.php


Hung Bui

Recommended Posts

Hung Bui

After I modified a person birthday and type in a new place on a person, I went back to click "Places" to try the enter the Geo Location, I get the following error message:

Parse error: syntax error, unexpected token "{" in /home/hnbui/www/org/gia-pha/admin_places.php on line 349

Here is the code lines 348-350:

            <td class="fieldnameback fieldname"><nobr>&nbsp;<b><?php echo $admtext['treeid']; ?></b>&nbsp;</nobr></td> <!-- ### Tree ID Mod: heading for new Tree ID column-->
            <td class="fieldnameback fieldname"><nobr>&nbsp;<b><?php echo {$row['gedcom']} ?></b>&nbsp;</nobr></td> /* treeID added by Tree ID mod*/
            <td class="fieldnameback fieldname"><nobr>&nbsp;<b><?php echo $admtext['tree']; ?></b>&nbsp;</nobr></td>
 

I include the admin_places.php file I download here for your reference.

I deleted the pair of "{" and "}" and it seems to work. I am not really conversant on php so I do not know if I have done the right thing.

Thanks 

- Hung Bui

 

admin_places-hnbui.php

Link to comment
Share on other sites

ajnsmits

The same_person_link_v15.0.3.9 mod does not modify admin_places.php in any way. The syntax comes from treeid_mod_v15.0.3.9.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...