Re: [Phpgedview-talk] failing to upload replacement gedcom
Brought to you by:
canajun2eh,
yalnifj
From: Brian D. <bd...@gm...> - 2008-03-30 00:10:59
|
Yes, that should be reported as a bug. At least that way the dev team gets exposure to it and can discuss it. bd On Fri, Mar 21, 2008 at 11:54 AM, Tony <pth...@gm...> wrote: > Solved- I've figured out the problem/bug/feature. > > The original ged file was called PublicGraham2008.GED. The updated > version has been supplied as PublicGrahamMarch2008.GED with the > expectation that on uploading it it would replace the older data. > > By renaming the new file temporarily to match the old name before trying > to upload it, it is possible to now use the 'upload replacement' function > without generating the errors that I was getting as below. > > So the upload user interface should insist that the filename matches the > original one, or else be able to cope with it being different. Allowing it > to be different and then failing because of that is a bug IMO. > > Anyone think I should report it somewhere? > > Cheers, > > Tony > > > > > > On Fri, Mar 21, 2008 at 11:37 AM, Tony <pth...@gm...> wrote: > > > Hi, > > > > I am failing to upload a replacement gedcom to a site of mine that has a > > working but slightly outdated gedcom already in place. > > > > I've updated from subversion and am at build 2756- so am up to date at > > the time of posting. > > > > The errors I see start as follows: > > > > Performing GEDCOM validation... > > > > ERROR 8: Undefined index: PublicGrahamMarch2008.GED > > 0 Error occurred on in function *unknown* > > 1 called from line *565* of file *uploadgedcom.php* > > > > ERROR 2: feof(): supplied argument is not a valid stream resource > > 0 Error occurred on in function *feof* > > 1 called from line *567* of file *uploadgedcom.php* > > > > *Warning*: feof(): supplied argument is not a valid stream resource in * > > /var/www/vhosts/graham/phpgedview/uploadgedcom.php* on line *567* > > > > ERROR 2: fread(): supplied argument is not a valid stream resource > > 0 Error occurred on in function *fread* > > 1 called from line *568* of file *uploadgedcom.php* > > > > *Warning*: fread(): supplied argument is not a valid stream resource in > > */var/www/vhosts/graham/phpgedview/uploadgedcom.php* on line *568* > > > > ERROR 2: feof(): supplied argument is not a valid stream resource > > 0 Error occurred on in function *feof* > > 1 called from line *567* of file *uploadgedcom.php* > > > > *Warning*: feof(): supplied argument is not a valid stream resource in * > > /var/www/vhosts/graham/phpgedview/uploadgedcom.php* on line *567* > > > > ERROR 2: fread(): supplied argument is not a valid stream resource > > 0 Error occurred on in function *fread* > > 1 called from line *568* of file *uploadgedcom.php > > > > .... and so on until memory resources cause to browser to crawl to a > > halt > > * > > I can see that the new gedfile has successfully uploaded to my > > phpgedview/index folder, but for some reason it just won't validate. > > > > The server is running CentOS 4 - and I have tried switching selinux off > > to see if that was preventing access to the newly uploaded file, but I don't > > currently think that is the problem. > > > > Does anyone have any suggestions as to ways to debug this, or obvious > > mistakes that I'm making? > > > > > > -- > > Cheers, > > > > Tony > > > > > -- > Cheers, > > Tony > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Phpgedview-talk mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpgedview-talk > > |