I installed 2.51.3 after deleting the old version. It all worked well untill I uploaded the gedcom.
It imported the gedcom properly but when I accessed the pedigree tree I got the errors:
Warning: Invalid argument supplied for foreach() in /home/virtual/site116/fst/var/www/html/genealogie.quartel.net/functions_index.php on line 126
Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site116/fst/var/www/html/genealogie.quartel.net/functions_index.php:126) in /home/virtual/site116/fst/var/www/html/genealogie.quartel.net/functions_print.php on line 337
When looking at the functions_index.php I see the line:
foreach($indilist as $key=>$indi) return $key;
I recon $indilist is not recognised. Since I am new with phpGedView and php I wonder what I do wrong. I use the index version of phpGedView.
Any hint are welcome...
Best regards, Herbert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
To make it clear, you uploaded the gedcom file, after that you clicked the import gedcom button and saw the text that the import is complete at the bottom of the screen? After that you went to pedrigree chart and the error showed up?
Is that correct?
If so, did you see the question: Do you want to empty the dataset? when you clicked the import this gedcom file button?
If you check the index folder do you see a file named (your gedcom)_index.php? Then your gedcom is the name of your file.
Let me know your answers,
Roland
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok, I got it. Problem solved. Thanks for the help, Roland.
Now I have to look why I still see living people when not logged on, even when I set Hide living people.
I already checked privacy.php and changed $SHOW_LIVING_NAMES = $PRIV_PUBLIC; to $SHOW_LIVING_NAMES = $PRIV_USER;
Any tips are welcome
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The first problem describes error messages that occur after importing the gedcom file in index mode. Reimporting the gedcom seemed to have solved the problem.
The second problem refers to living people whose details are not being privatized. This problem was solved in another thread where it was determined that the GEDCOM didn't follow the spec. You can read this thread here: http://sourceforge.net/forum/forum.php?thread_id=950524&forum_id=185166
Which problem are you experiencing?
--John
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I installed 2.51.3 after deleting the old version. It all worked well untill I uploaded the gedcom.
It imported the gedcom properly but when I accessed the pedigree tree I got the errors:
Warning: Invalid argument supplied for foreach() in /home/virtual/site116/fst/var/www/html/genealogie.quartel.net/functions_index.php on line 126
Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site116/fst/var/www/html/genealogie.quartel.net/functions_index.php:126) in /home/virtual/site116/fst/var/www/html/genealogie.quartel.net/functions_print.php on line 337
When looking at the functions_index.php I see the line:
foreach($indilist as $key=>$indi) return $key;
I recon $indilist is not recognised. Since I am new with phpGedView and php I wonder what I do wrong. I use the index version of phpGedView.
Any hint are welcome...
Best regards, Herbert
Hello Herbert,
I took the same steps as you did and (of course) did not encounter the same problem. Did you see this issue: https://sourceforge.net/forum/forum.php?thread_id=947538&forum_id=185166
To make it clear, you uploaded the gedcom file, after that you clicked the import gedcom button and saw the text that the import is complete at the bottom of the screen? After that you went to pedrigree chart and the error showed up?
Is that correct?
If so, did you see the question: Do you want to empty the dataset? when you clicked the import this gedcom file button?
If you check the index folder do you see a file named (your gedcom)_index.php? Then your gedcom is the name of your file.
Let me know your answers,
Roland
Ok, I got it. Problem solved. Thanks for the help, Roland.
Now I have to look why I still see living people when not logged on, even when I set Hide living people.
I already checked privacy.php and changed $SHOW_LIVING_NAMES = $PRIV_PUBLIC; to $SHOW_LIVING_NAMES = $PRIV_USER;
Any tips are welcome
No tips are needed anymore. John gave me the answer. My gedcom file does not comply to the specs.
Thanks
I've got the same issue here, what exactly is the problem with the spec of the gedcom? It worked okay in previous versions...
Thanks
Hi Julia,
There are two problems listed in this thread.
The first problem describes error messages that occur after importing the gedcom file in index mode. Reimporting the gedcom seemed to have solved the problem.
The second problem refers to living people whose details are not being privatized. This problem was solved in another thread where it was determined that the GEDCOM didn't follow the spec. You can read this thread here:
http://sourceforge.net/forum/forum.php?thread_id=950524&forum_id=185166
Which problem are you experiencing?
--John