Menu

Error after upgrade to 4.2.3: Missing argumen

Help
2010-02-21
2013-05-30
  • Randy Orrison

    Randy Orrison - 2010-02-21

    I'm using PhpGedView hosted by Dreamhost, with their one-click install.  I recently upgraded to 4.2.3, and getting a few error messages.  Here's one, in the Descendants Interest field of the page http://www.orrison.com/genealogy/individual.php?pid=I23&ged=COMPLETE.GED:

    ERROR 2: Missing argument 1 for get_id_from_gedcom(), called in /home/.elizar/orrison/orrison.com/genealogy/includes/functions/functions_print_facts.php on line 500 and defined
    0 Error occurred on line 2445 of file functions_db.php in function get_id_from_gedcom
    1 called from line 500 of file functions_print_facts.php in function print_submitter_info
    2 called from line 322 of file functions_print_facts.php in function print_fact
    3 called from line 1406 of file individual_ctrl.php in function print_facts_tab
    4 called from line 1295 of file individual_ctrl.php in function getTab
    5 called from line 454 of file individual.php

    Warning: Missing argument 1 for get_id_from_gedcom(), called in /home/.elizar/orrison/orrison.com/genealogy/includes/functions/functions_print_facts.php on line 500 and defined in /home/.elizar/orrison/orrison.com/genealogy/includes/functions/functions_db.php on line 2445

    ERROR 8: Undefined variable: ged_name
    0 Error occurred on line 2448 of file functions_db.php in function get_id_from_gedcom
    1 called from line 500 of file functions_print_facts.php in function print_submitter_info
    2 called from line 322 of file functions_print_facts.php in function print_fact
    3 called from line 1406 of file individual_ctrl.php in function print_facts_tab
    4 called from line 1295 of file individual_ctrl.php in function getTab
    5 called from line 454 of file individual.php

     
  • Randy Orrison

    Randy Orrison - 2010-02-21

    Sorry… I meant to ask if there's anything obviously wrong with my installation that would cause this, or should I reinstall and reload my GEDCOM?

     
  • Randy Orrison

    Randy Orrison - 2010-02-21

    Answered by Greg Roach in email.  In includes/functions/functions_print_facts.php, in the function print_submitter_info, the second line should be

    $ged_id=get_id_from_gedcom($GEDCOM);
    

    .  Thanks!

     
  • KosherJava

    KosherJava - 2010-02-21

    I checked Greg's fix into SVN.
    Thanks Greg.

     

Log in to post a comment.