I did an upgrade to version 2.65.1 and also did a new gedcom export from Geditcom running on a mac, trying to correct a chronological problem I was having. Now when I try to import the gedcom into PGV I get these errors. I saw in the readme text that mac Gedcoms need to be converted to DOS or UNIX files but no instructions on how to do that. Any help would be appreciated.
Warning: Undefined index: 1 in /Library/WebServer/Documents/phpGedView/importgedcom.php on line 38
Warning: Undefined index: 1 in /Library/WebServer/Documents/phpGedView/importgedcom.php on line 40
Warning: Undefined index: 1 in /Library/WebServer/Documents/phpGedView/importgedcom.php on line 41
Fatal error: Failed opening required '' (include_path='.:/usr/lib/php') in /Library/WebServer/Documents/phpGedView/importgedcom.php on line 41
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you have access to a Windows platform you probably could read your gedcomfile into a simple texteditor and save it out again with windows linebreaks.
If you are interested I can try to transform your gedcomfile for you.
You can place your gedcom at the internet where I can fetch it, and send the URL to my sourceforge email address. I'll transform it and place it at the internet where you can fetch it - I'll send you the URL to your sourceforge email address.
Best regards,
Arne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the links and the assistance Mark. I tried the Wordpad thing with no success. I then acquired a copy of BBedit and that worked like a charm.
Much appreciated
Jimmymac
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Are you sure the formatting of your gedcom was the problem?
From your other thread, and the current importgedcom.php thread, it didn't seem like that was the problem everyone is having. In my last update to the "import" thread, I tested going back to a previous (B3) version of session.php - the import worked fine.
I have yet to try a "fresh" install of 2.65.1 (I ran the Admin-Upgrade script). Is it possible my index files need to be deleted and recreated? Hmm... I'll have to give those two possibilities a try this evening.
Regards,
J
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1. Wiped the index files and tried to start over... bad idea. causing other errors, probably not worth the time. (re: see 2.)
2. Started with fresh install. Simple config as usual (for me), index files, etc... Same issue. Original import works great, followup attempts to update (re-import) my .ged are shot down.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just love following up to my own messages. My appologies folks :)
From my 1. above... I didn't realize how important particular files under the index directory were... <B>found a way to re-import!<B> Its kludgy, but at least I can update my gedcom now.
If I delete my "family.ged_index.php" file before the "Import Gedcom" process, it will just rebuild that file, no errors.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hicksj, does deleting the "family.ged_index.php" file before importing the gedcom have to be done every time you go to import. Also does it then allow you to edit without the GDBI interface giving you an Access denied error.
Thanks in advance
Jimmymac
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hicksj, so you believe as I do that this is an unresolved issue. It just doesn't seem that we are getting any feedback to confirm or deny that fact.
Until then I will use the previous version that seems to work without a flaw, but for the security issues.
Thanks
Jimmymac
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2004-01-29
Hi Jimmy,
I can confirm that deleting the "family.ged_index.php" can resolve the import issue because if you delete this file, PGV won't find an existing database file and create 1 from scratch.
Surely, this is not the correct way :)
My question is, are you still experiencing this problem? If so, I will study the problem :)
Regards,
Roland
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
botak, I most certainly am still experiencing this anomaly, and further the inability to edit the ged once it has been sucessfully imported.
Thanks
Jimmymac.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2004-02-01
Hello all,
Here is a roundup of a session I had with Jimmymac regarding the error:
Warning: Undefined index: 1 in /Library/WebServer/Documents/phpGedView/importgedcom.php on line 38
The problem lies in the passing of variables by the form. When clicked OK to the question to empty the dataset. Both the answer of yes and the name fo the gedcom file are passed to the script for processing. The gedcom file name never makes it to the script. It gets set to 1.
Roland, I must once again thank you for all of your invaluable assistance. It most definitely was the version of PHP that I was running that was at the root of my problems. I upgraded and everything seems to be running as it should be. The link below to the other thread contains a link to a resource that may prove useful to other Mac users that require an upgrade to PHP. http://sourceforge.net/forum/message.php?msg_id=2404685
Thanks again
Jimmymac
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I was planning on upgrading my server sooner or later, from RH7.3 to Fedora Core. I was wondering if it was a PHP issue...
I've used RH7.3 for quite a while - always had issues with later versions because of crappy PHP/Apache2 incompatibilities (they'd screw up my Gallery & recipe apps).
Guess I'll be doing the upgrade sooner :)
Thanks!
J
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I did an upgrade to version 2.65.1 and also did a new gedcom export from Geditcom running on a mac, trying to correct a chronological problem I was having. Now when I try to import the gedcom into PGV I get these errors. I saw in the readme text that mac Gedcoms need to be converted to DOS or UNIX files but no instructions on how to do that. Any help would be appreciated.
Warning: Undefined index: 1 in /Library/WebServer/Documents/phpGedView/importgedcom.php on line 38
Warning: Undefined index: 1 in /Library/WebServer/Documents/phpGedView/importgedcom.php on line 40
Warning: Undefined index: 1 in /Library/WebServer/Documents/phpGedView/importgedcom.php on line 41
Fatal error: Failed opening required '' (include_path='.:/usr/lib/php') in /Library/WebServer/Documents/phpGedView/importgedcom.php on line 41
If you have access to a Windows platform you probably could read your gedcomfile into a simple texteditor and save it out again with windows linebreaks.
If you are interested I can try to transform your gedcomfile for you.
You can place your gedcom at the internet where I can fetch it, and send the URL to my sourceforge email address. I'll transform it and place it at the internet where you can fetch it - I'll send you the URL to your sourceforge email address.
Best regards,
Arne
You can download (for instance) BBEDit from http://www.barebones.com
http://www.barebones.com/products/bbedit/index.shtml
This is a very good text editor, and apart from its many other attributes, allows to save text files in various formats.
Open the GEDCOM file, then choose "Save" (or Save As), click the "Options" and choose something like DOS/Windows or Unix.
Else if you do have a Windows machine, open the GEDCOM file in WordPad, then just save it back out.
Mark
Thanks for the links and the assistance Mark. I tried the Wordpad thing with no success. I then acquired a copy of BBedit and that worked like a charm.
Much appreciated
Jimmymac
Are you sure the formatting of your gedcom was the problem?
From your other thread, and the current importgedcom.php thread, it didn't seem like that was the problem everyone is having. In my last update to the "import" thread, I tested going back to a previous (B3) version of session.php - the import worked fine.
I have yet to try a "fresh" install of 2.65.1 (I ran the Admin-Upgrade script). Is it possible my index files need to be deleted and recreated? Hmm... I'll have to give those two possibilities a try this evening.
Regards,
J
Oh yeah, and I'm NOT using a mac. :)
PAF on Win
PGV on RH7.3
Ok. Home/hackin time...
1. Wiped the index files and tried to start over... bad idea. causing other errors, probably not worth the time. (re: see 2.)
2. Started with fresh install. Simple config as usual (for me), index files, etc... Same issue. Original import works great, followup attempts to update (re-import) my .ged are shot down.
I just love following up to my own messages. My appologies folks :)
From my 1. above... I didn't realize how important particular files under the index directory were... <B>found a way to re-import!<B> Its kludgy, but at least I can update my gedcom now.
If I delete my "family.ged_index.php" file before the "Import Gedcom" process, it will just rebuild that file, no errors.
hicksj, does deleting the "family.ged_index.php" file before importing the gedcom have to be done every time you go to import. Also does it then allow you to edit without the GDBI interface giving you an Access denied error.
Thanks in advance
Jimmymac
until I hard-coded my gedcom into importgedcom.php, yes, that file needed to be deleted each time.
obviously, this is not the correct way pgv works (or has worked in the past) but at least I can do my stuff until its resolved.
hicksj, so you believe as I do that this is an unresolved issue. It just doesn't seem that we are getting any feedback to confirm or deny that fact.
Until then I will use the previous version that seems to work without a flaw, but for the security issues.
Thanks
Jimmymac
Hi Jimmy,
I can confirm that deleting the "family.ged_index.php" can resolve the import issue because if you delete this file, PGV won't find an existing database file and create 1 from scratch.
Surely, this is not the correct way :)
My question is, are you still experiencing this problem? If so, I will study the problem :)
Regards,
Roland
botak, I most certainly am still experiencing this anomaly, and further the inability to edit the ged once it has been sucessfully imported.
Thanks
Jimmymac.
Hello all,
Here is a roundup of a session I had with Jimmymac regarding the error:
Warning: Undefined index: 1 in /Library/WebServer/Documents/phpGedView/importgedcom.php on line 38
The problem lies in the passing of variables by the form. When clicked OK to the question to empty the dataset. Both the answer of yes and the name fo the gedcom file are passed to the script for processing. The gedcom file name never makes it to the script. It gets set to 1.
This is all due to a bug in PHP. It seems to be only present in version 4.2.1. Check here:
http://bugs.php.net/bug.php?id=16102
My recommendation is to upgrade to a newer version of PHP.
Regards,
Roland
Roland, I must once again thank you for all of your invaluable assistance. It most definitely was the version of PHP that I was running that was at the root of my problems. I upgraded and everything seems to be running as it should be. The link below to the other thread contains a link to a resource that may prove useful to other Mac users that require an upgrade to PHP.
http://sourceforge.net/forum/message.php?msg_id=2404685
Thanks again
Jimmymac
I was planning on upgrading my server sooner or later, from RH7.3 to Fedora Core. I was wondering if it was a PHP issue...
I've used RH7.3 for quite a while - always had issues with later versions because of crappy PHP/Apache2 incompatibilities (they'd screw up my Gallery & recipe apps).
Guess I'll be doing the upgrade sooner :)
Thanks!
J