Menu

Import gedcom problems with phpLauncher

Help
2004-01-05
2004-01-06
  • Gary Griffin

    Gary Griffin - 2004-01-05

    Running on a Win98SE PC. I am trying to use phpLauncher to view my tree. Loaded 2.61.1 phpGedview on phpLauncher 1.0 . I can view/import the presidents.ged file. When I crank up the time and memory in php.ini to read my 6000 person file (size is 5.5M) after 20 seconds it generates an HTTP 500 error. No matter how I change the time, it still fails at 20 seconds execution time in the import.

    From phpInfo:

    max execution time = 0
    max input time = 6000
    post max size = 8M
    upload max filesize = 20M

    memory_limit = 512M (checked in php.ini but not displayed in phpInfo)

    I always used MySQL version for my tree as it was much faster. But I am very interested in this approach for some offline viewing.

    Any ideas what I have to tune to get my tree imported? I have about 400 images that I want to view and am very anxious to put this thru its paces.

    Gary

     
    • Arne Eckmann

      Arne Eckmann - 2004-01-05

      Hi Gary

      When I first tested PHPLaunch it performed bad on Windows 98, and since it performs well on the Windows 2000 and Windows XP platforms, I decided to only use PHPLaunch on those platforms.

      However, I can tell that to my knowledge the PHPLaunch's http-server component uses the default SessionTimeOut of 1200000 which correspond to 20 sec.

      PHPLaunch was made by my son, Sebastian, but I have made a somewhat different version which depends on the existence of a index.html file in the web directory, to make it possible for people to make a menu to start from.

      I can try to increase the SessionTimeOut to say 2400000 which correspond to 40 sec. if you are interested in giving it a try - and if it turns out to be succesful we probably can talk Sebastian into compiling a different version to you :-)

      If you are interested in giving it a try, you can fetch it here:

      http://eckmann.dk/GaryDemo.zip

      best regard
      Arne

       
    • Gary Griffin

      Gary Griffin - 2004-01-06

      Arne

      I tried your GaryDemo version but it fails with the same message (500) after about 5 seconds. I tweaked the php.ini, increasing memory and time, and it still failed in 5 sec. I moved the php.exe to the 'old' phpLauncher folder and it failed in 20 sec (like before).

      I will be running it later on XP and 2K, but I wanted to create the index on my Win98 system.

      Any other ideas? Is the dateset just too large? If I create the index using apache server, can I just move them to the phpLauncher folder? I am open to this as an alternative if necessary.

      Thanks for your assistance. I really like the idea of this launcher.

      Gary

       
    • Arne Eckmann

      Arne Eckmann - 2004-01-06

      Hi again Gary

      I now realize it won't work, but I didn't have a large gedcom file which could be used to check it.

      About half an hour ago I found 3 public gedcom files and merged them into one gedcom file of 2.5 MB, which I could use to test.

      Unfortunately it fails no matter how I tweak the timeouts of the internal http-server in the special version, as well as  it unfortunately also fails with the regular PHPLaunch version ;-(

      Way back I once tried to setup phpGedView on a regular webserver and later successfully moved it to PHPLaunch where it worked without problems.

      best regard

      Arne

       
    • Arne Eckmann

      Arne Eckmann - 2004-01-06

      Hi again Gary

      I just tried to setup and index a 5MB gedcom file at a regular webserver, and afterwards I moved the files to a PHPLaunch folder, and found that it was able to function on the Windows 2000 platform.

      Next I moved the PHPLaunch folder to a Windows 98 platform (not SE) and found that it wasn't able to function on the Windows 98 platform :-(

      best regard

      Arne

       

Log in to post a comment.