Menu

Possible bug?

Help
Anonymous
2004-04-30
2004-04-30
  • Anonymous

    Anonymous - 2004-04-30

    In a person's record, Close Relatives tab, when adding a new husband.

    After filling in the relevent information and clicking the 'Add' button, I get:

    Warning: No ending delimiter '&' found in /var/www/phpGedView/session.php on line 166

    Not being a php hacker, I can look at the code, but it means nothing to me...

    Jason

     
    • Anonymous

      Anonymous - 2004-04-30

      Hi Jason,

      Well, of course I tried to reproduce the error but all working fine on this end.

      Looking at my session.php file, line 166 should read:
      if (!empty($val)) ${$key}[$key1] = preg_replace(array("/</","/>/"), array("&lt;","&gt;"), $val);

      If yours is different, please replace it with this one and then check what happens. Do not delete your line but put two forward slashes (//) in front of it. This will make it a comment.

      To correctly read this message please read it at the help forum. Certain notations get messed up in the email. :(

      Regards,

      Roland

       
      • Anonymous

        Anonymous - 2004-04-30

        Hm. Well, mine's correct. Weird.

        I'll dig a bit more and see if there's anything else that clicks. I may not be much of a programmer, but I am a *nix sysadmin, so I'm not totally helpless ;-)

        Thanks for looking into it, Roland.

        Jaosn

         
    • Anonymous

      Anonymous - 2004-04-30

      Hi Jason,

      I am a linux noob :) Can you reproduce the error?

      Which PHP and PGV version do you run?

      Regards,

      Roland

       

Log in to post a comment.