Menu

2.50b4 ... blank output

2003-09-18
2003-09-21
  • Mark Hattam

    Mark Hattam - 2003-09-18

    Tried 2.50b4 on a server running PHP 4.2.2

    Rather weird results ...

    It took a couple of goes to get the gedcom "imported", but that was the easy bit. (indexes method not MySQL)

    The Individual list insisted on showing all surnames with numbers in brackets, although I'd told it in the online config to split the list alphabetically (works fine in pre-2.50 versions)

    Clicking on any individual didn't produce anything except a blank html page ... nothing between the <body></body> tags.

    Families didn't work either ... at which point I gave up. (Sorry, John)

    Noticed that various created (by 2.50b4) files on the server had owner "nobody" ... maybe this is normal.

    I know that Pair.com are migrating to PHP 4.3.x soon, so I'm not overly worried. And version 2.1x of PHPGedView works in the meantime.

     
    • Jeff Taylor

      Jeff Taylor - 2003-09-18

      One thing I've noticed is that the files need to be set with the same permissions that your web server runs under.  In my case, both apache and php run as nobody, so in the phpGedView directory I enter the command:

           chown nobody.nogroup * -R

      after which all files appear to read correctly.  Although I believe I did get some error messages about the permissions being incorrect, so this may or may not help you out.

       
    • Mark Hattam

      Mark Hattam - 2003-09-18

      I'll have another go on Monday then.

      I tried a chmod 777 (like you have to do on config.php etc) but it didn't change the permissions of the "nobody" files, as it just gave me an error.

      I also found the two stages of "config" confusing too, for instance not knowing what to type for the "default" ... a $string, a surname.ged or a /path/to/gedcom/surname.ged

       
    • Jeff Taylor

      Jeff Taylor - 2003-09-19

      I upgraded my system to the current 2.50 code today, and also saw the same results as above.  And I'm betting you did exactly the same thing that I did -- You copied all the files from your previous index directory into your new one.

      There have been some lines added to index/family.ged_conf.php.  You can manually add them to the file, and all should work as expected...

      After the definition of $DISPLAY_JEWISH_THOUSANDS , add the following:
        $JEWISH_ASHKENAZ_PRONUNCIATION = true;  //-- Jewish pronunciation option

      After the definition for $DEFAULT_PEDIGREE_GENERATIONS, add these 2 lines:
      $MAX_PEDIGREE_GENERATIONS = "10";               // -- set the max number of generations to display on the pedigree charts
      $MAX_DESCENDANCY_GENERATIONS = "15";    // -- set the max number of generations to display on the descendancy charts

      Apparently John added some new variables, but there is no code to check for ommisions when editing the configs.

       
    • Mark Hattam

      Mark Hattam - 2003-09-21

      Nope, I created a brand new directory using just the 2.50b4 files and tried to config it. I used the same GedCom as I did in 2.13 (which still works)

      2.50 also has some wobblies, though less bad than 2.50b4

      Probably more to do with my server using PHP 4.2.2 rather than PHP 4.3, but that's out of my control.

       

Log in to post a comment.