Menu

Problem importing Gedcom file

Help
2003-12-05
2003-12-05
  • Steve Andersen

    Steve Andersen - 2003-12-05

    I'm trying to upload my first gedcom file which I created with LifeLines. When I try to import it, I get this:

    GEDCOM_FILE: ./index/andersen.ged
    FILE: andersen.ged
    TITLE: Genealogy from andersen.ged
    Importing Records into Database

    PLEASE BE PATIENT

    Reading Gedcom File ./index/andersen.ged
    Flushing contents
    Fatal error: Call to undefined function: utf8_decode() in /var/www/html/phpGedView/functions_index.php on line 368

    Any thoughts on what the problem is? LIne 368 is:

    fwrite($gdfp,utf8_decode("individual.php?pid=$gid|$surname|$nametag|$birthdate|$birthplace|$deathdate|$deathplace|\r\n"));

    Any help would be appreciated.
    Thanks,
    Steve

     
    • Anonymous

      Anonymous - 2003-12-05

      Hello Steve,

      The error undefined function would mean that your PHP does not support this function. As it is an internal function of PHP and not one created by John.

      Checking php.net it tells me that this function is supported by PHP 3>= 3.0.6, PHP 4. Which version are you running?

      You might try importing the gedcom by UNchecking the line:
      Convert this ANSI (ISO-8859-1) encoded GEDCOM to UTF-8?
      Which is right above the import button.

      Regards,

      Roland

       
    • Steve Andersen

      Steve Andersen - 2003-12-05

      Fixed by adding PHP XML support. Thanks for pointing me in the right direction.

      Steve

       

Log in to post a comment.