I have set it up on my WHS and all is working well.
I tried to upload 14M gedcom and nothing seemed to happen so I then uploaded some smaller ones and all is working fine.
When I try to upload the file with everyone in it I get the following Gedcom Validation errors:
Performing GEDCOM validation…
ERROR 2: fopen(./index/) : failed to open stream: No such file or directory
0 Error occurred on in function fopen
1 called from line 560 of file uploadgedcom.php
Warning: fopen(./index/) : failed to open stream: No such file or directory in D:\shares\Websites\helenathome\phpgedview\uploadgedcom.php on line 560
ERROR 2: fclose(): supplied argument is not a valid stream resource
0 Error occurred on in function fclose
1 called from line 579 of file uploadgedcom.php
Warning: fclose(): supplied argument is not a valid stream resource in D:\shares\Websites\helenathome\phpgedview\uploadgedcom.php on line 579
Valid GEDCOM detected. No cleanup required.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You probably have a size limit on your server for uploads (typically 8mb).
FTP the file to your INDEX folder and then try an import.
How many MB of memory have you devoted to PGV? With a 14mb file, you will, most likely need at least 64mb. -Stephen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When you use FTP to upload your GEDCOM file into the "./index" directory, you must set the file permissions to 777.
Also, on the Manage GEDCOMs page, you add the uploaded GEDCOM (unless you've uploaded a replacement for a previously added GEDCOM). Tell PGV the GEDCOM file name you want to add, and don't mention the directory at all.
If you've uploaded a replacement for an existing file, you simply import it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok - taking me a while to sort out what I mean… please be patient.
I have my own server - there is no limits that I have set
It is a Windows Home Server
It does not have an FTP service - I just copy the file to the website folder \phpgedview\GedCom and and choose Import a GedCom to PHPGedview
When I choose import I get 100's of lines of errors - but none when I import a smaller GedCom 5.5 file from Legacy
Will move to Index folder and see how I go from there - I am slowly working this out.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I don't think moving the index folder is going to accomplish anything.
You need to post a representative sample of the error messages you're getting. Are we talking about validating the GEDCOM or are we talking about errors that occur during the Import of the file into your database?
I would not worry about validating the GEDCOM. That script is VERY strict and flags lots of "errors" that can safely be ignored.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you're having problems importing your large GEDCOM, you should increase the allowable memory. Try setting it to 128 or even 256 Mb.
If you're faced with a partial screen or a with a display that seems to be going nowhere, you should look at the source of the page in your browser. You might see an error message at the bottom of the page source that can help identify the problem.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there,
I am very new to this PHP thing and PHP GedView
I have set it up on my WHS and all is working well.
I tried to upload 14M gedcom and nothing seemed to happen so I then uploaded some smaller ones and all is working fine.
When I try to upload the file with everyone in it I get the following Gedcom Validation errors:
Performing GEDCOM validation…
ERROR 2: fopen(./index/) : failed to open stream: No such file or directory
0 Error occurred on in function fopen
1 called from line 560 of file uploadgedcom.php
Warning: fopen(./index/) : failed to open stream: No such file or directory in D:\shares\Websites\helenathome\phpgedview\uploadgedcom.php on line 560
ERROR 2: fclose(): supplied argument is not a valid stream resource
0 Error occurred on in function fclose
1 called from line 579 of file uploadgedcom.php
Warning: fclose(): supplied argument is not a valid stream resource in D:\shares\Websites\helenathome\phpgedview\uploadgedcom.php on line 579
Valid GEDCOM detected. No cleanup required.
You probably have a size limit on your server for uploads (typically 8mb).
FTP the file to your INDEX folder and then try an import.
How many MB of memory have you devoted to PGV? With a 14mb file, you will, most likely need at least 64mb.
-Stephen
When you use FTP to upload your GEDCOM file into the "./index" directory, you must set the file permissions to 777.
Also, on the Manage GEDCOMs page, you add the uploaded GEDCOM (unless you've uploaded a replacement for a previously added GEDCOM). Tell PGV the GEDCOM file name you want to add, and don't mention the directory at all.
If you've uploaded a replacement for an existing file, you simply import it.
Ok - taking me a while to sort out what I mean… please be patient.
I have my own server - there is no limits that I have set
It is a Windows Home Server
It does not have an FTP service - I just copy the file to the website folder \phpgedview\GedCom and and choose Import a GedCom to PHPGedview
When I choose import I get 100's of lines of errors - but none when I import a smaller GedCom 5.5 file from Legacy
Will move to Index folder and see how I go from there - I am slowly working this out.
I don't think moving the index folder is going to accomplish anything.
You need to post a representative sample of the error messages you're getting. Are we talking about validating the GEDCOM or are we talking about errors that occur during the Import of the file into your database?
I would not worry about validating the GEDCOM. That script is VERY strict and flags lots of "errors" that can safely be ignored.
If you're having problems importing your large GEDCOM, you should increase the allowable memory. Try setting it to 128 or even 256 Mb.
If you're faced with a partial screen or a with a display that seems to be going nowhere, you should look at the source of the page in your browser. You might see an error message at the bottom of the page source that can help identify the problem.