Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Error 8, Error 2, and Fatal Error

Help
abshaw
2014-05-02
2014-05-02
  • abshaw
    abshaw
    2014-05-02

    I have more than 250 individuals in my phpgedview installation and all of them show up fine except when i try to view 2 special individuals (that i had merged) and now i get a splew of errors
    the page accessed is individual.php?pid=I248&ged=jalal.ged&tab=0
    I am getting 1 Error 8 and tons of Error 2 and one Fatal error at the end of the page. Please i need help
    Here is exactly what i am looking at:
    ERROR 8: Undefined index:
    0 Error occurred on line 707 of file WSDL.php in function getProxy
    1 called from line 118 of file class_serviceclient.php in function authenticate
    2 called from line 798 of file class_serviceclient.php in function mergeGedcomRecord
    3 called from line 88 of file class_gedcomrecord.php in function construct
    4 called from line 77 of file class_person.php in function construct
    5 called from line 161 of file individual_ctrl.php in function init
    6 called from line 37 of file individual.php
    ERROR 2: reset() expects parameter 1 to be array, null given
    0 Error occurred on in function reset
    1 called from line 710 of file WSDL.php in function getProxy
    2 called from line 118 of file class_serviceclient.php in function authenticate
    3 called from line 798 of file class_serviceclient.php in function mergeGedcomRecord
    4 called from line 88 of file class_gedcomrecord.php in function construct
    5 called from line 77 of file class_person.php in function construct
    6 called from line 161 of file individual_ctrl.php in function init
    7 called from line 37 of file individual.php
    Warning: reset() expects parameter 1 to be array, null given in /home/jalalian/public_html/shajra/SOAP/WSDL.php on line 710
    ERROR 2: current() expects parameter 1 to be array, null given
    0 Error occurred on in function current
    1 called from line 711 of file WSDL.php in function getProxy
    2 called from line 118 of file class_serviceclient.php in function authenticate
    3 called from line 798 of file class_serviceclient.php in function mergeGedcomRecord
    4 called from line 88 of file class_gedcomrecord.php in function construct
    5 called from line 77 of file class_person.php in function construct
    6 called from line 161 of file individual_ctrl.php in function init
    7 called from line 37 of file individual.php
    Warning: current() expects parameter 1 to be array, null given in /home/jalalian/public_html/shajra/SOAP/WSDL.php on line 711
    ERROR 2: reset() expects parameter 1 to be array, null given
    0 Error occurred on in function reset
    1 called from line 530 of file WSDL.php in function generateProxyCode
    2 called from line 726 of file WSDL.php in function getProxy
    3 called from line 118 of file class_serviceclient.php in function authenticate
    4 called from line 798 of file class_serviceclient.php in function mergeGedcomRecord
    5 called from line 88 of file class_gedcomrecord.php in function construct
    6 called from line 77 of file class_person.php in function construct
    7 called from line 161 of file individual_ctrl.php in function init
    8 called from line 37 of file individual.php
    Warning: reset() expects parameter 1 to be array, null given in /home/jalalian/public_html/shajra/SOAP/WSDL.php on line 530
    ERROR 2: current() expects parameter 1 to be array, null given
    0 Error occurred on in function current
    1 called from line 531 of file WSDL.php in function generateProxyCode
    2 called from line 726 of file WSDL.php in function getProxy
    3 called from line 118 of file class_serviceclient.php in function authenticate
    4 called from line 798 of file class_serviceclient.php in function mergeGedcomRecord
    5 called from line 88 of file class_gedcomrecord.php in function construct
    6 called from line 77 of file class_person.php in function construct
    7 called from line 161 of file individual_ctrl.php in function init
    8 called from line 37 of file individual.php
    Warning: current() expects parameter 1 to be array, null given in /home/jalalian/public_html/shajra/SOAP/WSDL.php on line 531
    Fatal error: Class 'WebService_' not found in /home/jalalian/public_html/shajra/SOAP/WSDL.php on line 730

    also if it helps, after i ran the check errors on the gedcom file i get this error
    0004959 2 DATE 28 JUN 2010
    0004960 3 TIME 00:08:51
    ‎0004961[[2 _PGVU @S4@]]‎ missing ‎0 @S4@ _PGVU ‎; see ‎INDI @I248@‎
    0004962 1 _UID 3251027C0C4F3554219D7EB13C222F7FA344
    0004963 1 SOUR @S4@

     
  • Stephen Arnold
    Stephen Arnold
    2014-05-02

    Pointers to other sites via WebServices is broken. You need to remove the reference to the 2_PGVY @S4@ source.

     
  • abshaw
    abshaw
    2014-05-02

    so i simply remove this one line from the raw gedcom file

    2 _PGVU @S4@_PGVU

    right?

     
  • Stephen Arnold
    Stephen Arnold
    2014-05-02

    I believe so, but its been so long since I used that old feature, I can't remember. You can always restore it via raw edit, but IIRC, this is either the problem or part of the problem.

     
  • abshaw
    abshaw
    2014-05-02

    ok i removed the line and the error did not show up on the check gedcom file. Now there are three more errors in total here are all of them. It help me immensely if i can fix these errors as well

    0000507 2 SPFX Abu
    0000508 2 SURN Al-Khair
    0000509 1 SEX M
    0000510 1 BIRT Y
    0000511 1 DEAT Y
    ‎0000512[[1 FAMC @F38@]]‎ ‎‎FAM @F38@‎‎ does not link back; see ‎INDI @I127@‎
    0000513 2 PEDI birth
    0000514 1 CHAN
    0000515 2 DATE 01 MAY 2008
    0000516 3 TIME 12:34:13
    0000517 2 _PGVU abshaw

    0001666 2 _PGVU abshaw
    0001667 1 _UID C0778D6E7B9B47C42924D457097015098083
    0001668 1 FAMS @F60@
    0001669 1 FAMS @F59@
    0001670 1 FAMC @F61@
    ‎0001671[[1 FAMS @F62@]]‎ missing ‎0 @F62@ FAM ‎; see ‎INDI @I193@‎
    0001672 0 @I194@ INDI
    0001673 1 NAME Ashraf /Begam/
    0001674 2 GIVN Ashraf
    0001675 2 SURN Begam
    0001676 1 SEX F

    0004401 2 DATE 01 MAY 2008
    0004402 3 TIME 13:37:36
    0004403 2 _PGVU abshaw
    0004404 1 _UID BA81504AC5AAD8945500E832B7373A75FD91
    0004405 1 CHIL @I126@
    ‎0004406[[1 CHIL @I127@]]‎ ‎‎INDI @I127@‎‎ does not link back; see ‎FAM @F39@‎
    0004407 0 @F4@ FAM
    0004408 1 HUSB @I6@
    0004409 1 CHIL @I2@
    0004410 1 CHAN
    0004411 2 DATE 08 OCT 2007

     
  • Stephen Arnold
    Stephen Arnold
    2014-05-02

    You are clearly told what is missing. Check the link backs as indicated. Either the INDI is missing a FAMC or FAMS link, or the FAM record is missing the HUSB, WIFE or CHIL link back to the INDI.

     
  • abshaw
    abshaw
    2014-05-02

    thank you for the guidance, i still may need some more. Is there someplace i can learn these syntaxes i.e. how to add the missing information and what is the difference between a FAMC vs. FAMS. Looking forward to fixing this, thanks again for taking the time to teach a newbie some ropes

     
  • Stephen Arnold
    Stephen Arnold
    2014-05-02

    This forum, nor the software, are designed to teach you GEDCOM terminology. The error report attempts to expedite repairs by offering links to the offending tag/code.

    I would suggest:
    1) you read the GEDCOM 5.5 standard, then probably reread it several times. It describes, in detail, the purpose of each tag and its relationships to other tags. (as an example: FAMC is the INDIvidual record tag that links to a particular FAMily record where that person should be shown to be a child within that FAMily. FAMS is the INDIvidual record tag that links to a particular FAMily record where that person should be shown to be a SPOUSE/PARENT figure in that FAMily. The reciprocal tags within the FAMily record would be HUSB @Ixxx@, WIFE @Ixxx@ and CHIL @Ixxx@.
    2) go to the library and check out a genealogy book on learning GEDCOM
    3) use a text editor and examine a copy of your own family tree code (GEDCOM). Look at your personal records since you are familiar with the details and examine the interactions.

    Specifically on these errors, if the INDI is missing from the FAM record, you need to add the 1 HUSB/WIFE/CHIL @Ixxx@ tag, depending upon that person's role in the FAMily unit. If the FAM link-back is missing from the INDI record, then you need to again add the correct tag to the INDI record, again depending upon the role: FAMS (spouse member of the FAM record) or FAMC (child member of the FAM record).