Menu

Error Message

Help
Candace
2012-04-24
2013-05-30
  • Candace

    Candace - 2012-04-24

    I am getting the following error message on some of the pages, mainly the individuals and families lists.

    ERROR 8: Undefined index: sexn
    0 Error occurred on line 487 of file class_person.php in function sexImage
    1 called from line 467 of file class_person.php in function getSexImage
    2 called from line 401 of file class_family.php in function getAllNames
    3 called from line 611 of file class_gedcomrecord.php in function getSortName
    4 called from line 562 of file class_gedcomrecord.php in function Compare
    5 called from in function usort
    6 called from line 646 of file functions_db.php in function get_famlist_fams
    7 called from line 278 of file famlist.php
    ERROR 2: usort() [function.usort]: Array was modified by the user comparison function
    0 Error occurred on in function usort
    1 called from line 646 of file functions_db.php in function get_famlist_fams
    2 called from line 278 of file famlist.php
    Warning: usort() [function.usort]: Array was modified by the user comparison function in
    /genealogy/includes/functions/functions_db.php on line 646
    

    Also when I add new people it is not saving there names correctly. It will have there given name (labeled as given name) in the individuals page but will not have it anywhere else or in the name heading of the individual page.

     
  • Gerry Kroll

    Gerry Kroll - 2012-04-24

    What version of PGV are you trying to use?

    You should be using the "SVN" version, which is also called "4.3.0".

    Download and install/upgrade instructions are in a recent Help topic whose title begins with "Repost: Download …"

     
  • Candace

    Candace - 2012-04-24

    I thought I had download the most recent version which is 4.2.4. I will try the upgrade.

     
  • Gerry Kroll

    Gerry Kroll - 2012-04-24

    You have to do more than just download.  Please follow the upgrade instructions.

    If you still have problems after that, don't hesistate to ask here for help.

     
  • Candace

    Candace - 2012-04-24

    I have updated to SVG but I still get the error. However appears to be only with my theme. I created a custom theme so maybe I did something wrong that caused the error. Not sure what it is.

     
  • Candace

    Candace - 2012-04-24

    Okay it was a theme problem. I compared mine to the standard and realized I was missing some code that I had thought not important but apparently it was.

     
  • Gerry Kroll

    Gerry Kroll - 2012-04-24

    Thank you for letting us know the cause of your problem.

    Please continue to use the "SVN" version of PGV.  There have been quite a few bug fixes since 4.2.4 was released about 2 years ago.

     
  • Candace

    Candace - 2012-04-25

    I had download the 4.2.4 a few days ago from http://www.phpgedview.net/. There were no options to select a version.

    Also now I am getting the following message when I try to access my site:

    "Hackers are not welcome here."

    I get it in Firefox, Chrome and IE.

     
  • Gerry Kroll

    Gerry Kroll - 2012-04-25

    You're right about version 4.3.0 (the "SVN" version) not being in the list of downloadable versions.  That's because it, in theory, hasn't been released, since it's still under development.  Don't let that put you off, though.

    You can get the "Hackers are not welcome here" message for various reasons.

    I suspect that the problem is the URL you're using to access your site.  One of the things PGV is looking for is doubled forward slashes.  They, other than the "http://" part, should not appear in any legitimate URL.  Another indicator of a hacking attempt is any occurrence of "../" in the incoming URL.  There's also a list of "browsers" that PGV will reject, but current versions of Firefox as well as Chrome, IE, Opera, Safari, etc. aren't in the "reject" list.  REALLY old Firefox and IE will definitely be rejected.

    Use your FTP client to access the server directory where PGV is installed.  Download the most recent log file in the "index" directory.  That log file should have an entry for every one of your rejected access attempts.

    If that doesn't clear things up for you, please e-mail me:  gkroll at keldine dot ca

    I'll need the URL you've been using to access your site (the one that's being rejected) as well as your login credentials.

    DO NOT post any of this information here.

     
  • Gerry Kroll

    Gerry Kroll - 2012-04-25

    In this case, the "hackers" message was triggered by there being an "http://" within the incoming URL.  That's what the "http%2A%2F%2F" translates to.

    You're right about that Login URL needing to be empty for most installations.

    I'm glad that you were able to sort this out by yourself.  Good.

     

Log in to post a comment.