Menu

undefined index

Help
2010-01-04
2013-05-30
  • Wes Groleau

    Wes Groleau - 2010-01-04

    I do not understand this

        ERROR 8: Undefined index: pedigree_map
        0 Error occurred on line 427 of file class_menubar.php in function getChartsMenu
        1 called from line 180 of file header.php in function include

    I looked at class_menubar.php and found a reference to lang  That item IS defined in at least three of my language files, including lang.en.php so I do not understand how I could get that error message.  I hesitate to report a bug, because it looks like the PHP interpreter is the one with a bug.

     
  • Anonymous

    Anonymous - 2010-01-04

    Wes - this is fixed in svn 6669 (by 'wooc')

     
  • Thomas Rindal

    Thomas Rindal - 2010-01-05

    After applying latest SVN the ERROR 8: Undefined index: pedigree_map
    error went away but now my map tab on individuals show the following:
    Map
    ERROR 8: Undefined variable: GOOGLEMAP_ENABLED
    0 Error occurred on line 33 of file gg_map_content.php in function require_once
    1 called from line 587 of file individual.php
    GoogleMap module disabled

    I double checked the table pgv_site_settings and GM_ENABLED = 1, as also shown in the Manage GoogleMap configuration screen.

    Regards,
    Thomas

     
  • Greg Roach

    Greg Roach - 2010-01-05

    Thomas,

    gg\_map\_content.php includes googemap.php which includes defaultconfig.php which defines $GOOGLEMAP_ENABLED.

    Are you sure all your files synced to the latest SVN.

     
  • Thomas Rindal

    Thomas Rindal - 2010-01-05

    I use Tortoise and WinSCP for SVN.
    I checked the log and downloaded manually these files from SourceForge again:
    Directorytrunk/phpGedView/modules/googlemap/gg_map_content.php modified , text changed
    Directorytrunk/phpGedView/modules/googlemap/googlemap.php modified , text changed
    Directorytrunk/phpGedView/modules/googlemap/pedigree_map.php modified , text changed
    Directorytrunk/phpGedView/modules/googlemap/placehierarchy.php modified , text changed
    Directorytrunk/phpGedView/modules/googlemap/places_edit.php modified , text changed
    No change.
    Any other specific file I should check/download-transfer again?

    Regards,
    Thomas

     
  • Anonymous

    Anonymous - 2010-01-05

    I'm sure this will be related to the latest issue raised here:

    https://sourceforge.net/tracker/?func=detail&atid=477081&aid=1863843&group_id=55456

    wooc is dealing with it today.

     
  • Łukasz Wileński

    please check svn 6673

     
  • Thomas Rindal

    Thomas Rindal - 2010-01-05

    Thanks very much. That fixed the issue.

    Regards,
    Thomas

     

Log in to post a comment.