Menu

Version 2.6 configuration problem?

Help
2003-11-26
2003-12-01
  • Leigh Wardle

    Leigh Wardle - 2003-11-26

    Hi,

    I have just installed Version 2.6 (you can see it at http://www.pavement.biz/phpGedView ).

    I am using the "Index Files" option.

    My gedcom file is a very small one (exported from PAF 5.2).
    Clearly, things are not working properly.
    The default individual does not display any ancestors.
    Also on many of the webpages are giving errors:
    "Family List" gives these errors:
    Warning: uasort(): The argument should be an array in /home/pavement/www/www/phpGedView/functions_index.php on line 828

    Warning: Invalid argument supplied for foreach() in /home/pavement/www/www/phpGedView/functions_index.php on line 830
    ALL
    Notice: Undefined variable: alpha in /home/pavement/www/www/phpGedView/famlist.php on line 51

    Notice: Undefined index: in /home/pavement/www/www/phpGedView/functions_index.php on line 854

    "Pedigree Tree" gives:
    Warning: Invalid argument supplied for foreach() in /home/pavement/www/www/phpGedView/functions_index.php on line 866

    Warning: Cannot modify header information - headers already sent by (output started at /home/pavement/www/www/phpGedView/functions_index.php:866) in /home/pavement/www/www/phpGedView/functions_print.php on line 483

    Any suggestions would be most appreciated.

    Regards

    Leigh

     
    • Anonymous

      Anonymous - 2003-11-26

      Hello Leigh,

      By the looks of it, you missed to do the import gedcomfile.

      Here are the steps of setting up the index module (assuming a clean instal):
      1. start phpGedView
      2. fill in the fields in on the first page and save congfiguration
      3. create the admin user
      4. Click on the "Click here to continue link"
      5. Upload Gedcom
      6. You can either browse for the file or enter its location. Input the gedcom file you like to import.
      7. Upload gedcom
      8. Change any of the fields you like to customize it for yourself and then click save configuration.
      9. Important !!! Click on the Import this gedcom file button.
      10. Do you want to empty the dataset? Click yes.
      11. Scroll down the page. It will say "Click here to go the the pedigree tree." Click there.
      12. You will be brought back to the start page of phpGedView.
      13. Voila. You are done.

      Hope that helps. If you have any questions. Let us know.

      Regards,

      Roland

       
    • Leigh Wardle

      Leigh Wardle - 2003-11-27

      Thanks, Roland, the "import" fixed the problem.

      phpgedview is a great application!

      Leigh

       
    • John T

      John T - 2003-11-27

      Collective-

      You know I have noticed that quite often the failed installs is the import step.  Perhaps John could alter the layout of the install script.  Perhaps we need an additional screen.  I know I've skipped this step once too.  However, it is sufficiently documented but the screens should probably be revised a bit.

      Thoughts / Comments?

      John

       
    • Peter Rudenberg

      Peter Rudenberg - 2003-11-27

      I'm a new user, just downloaded and installed the program last night. I too had the same problem with needing to complete the import step till I realized that's what was needed. A more obvious on-screen prompt might help - or perhaps it's as simple as calling it out in the instructions that the import step is often missed?

      In any case, this program ROCKS! Thanks for making it available.
      Peter
      www.rudenberg.com/phpGedView

       
      • Anonymous

        Anonymous - 2003-11-27

        Collective (also),

        Can we do the import immediately after uploading the file? After the step where we save the configuration? As it is a manual action to complete the import which needs to be taken anyway, it may as well be done instantly?

        Thoughts?

        Roland

         
    • Steve Lowmaster

      Steve Lowmaster - 2003-11-28

      You have some good points here about the import being missed. I believe the page that displays the "import gedcom file" should have a write up on it that states the next step that has to be done to complete the setup. If it is not a problem using an autostart there sholud at least be a delay on the page so that the admin will know what is happening. This would be important to mainly new users to get a feel of how the systems imports the gedcom file.

      This is for rudenberg:
      When I took a look at your site I was nicely suprised to find a few of the same names that appear in your database that are also in mine.
      Yours is OP DEN GRAEFF and mine is listed as Op Den Graef, maybe someday we will see the direct connection. You have a very nice site.

      Steve

       
    • John Finlay

      John Finlay - 2003-11-29

      This has been a problem since version 2.50 was released.  When I originally released 2.50, I automatically forwarded the user back to the Manage Gedcoms (editgedcoms.php) page.  This caused more problems however, because if the configuration wasn't saved correctly the user never got any error messages.  So I went back to my original design of staying on the editconfig_gedcom.php page and printing the import button.

      This has helped some, but a lot of people have missed the import button. 

      So I am kind of in a difficult position.  If I automatically forward them to the import gedcom script they could miss important error messages that will cause the import to fail and they will be worse off then if they had been left on the same page.  But if I leave the novice there, they often miss the import gedcom step.

      Maybe the best thing is to have a message at the bottom of the screen in RED just before the save configuration button that says "After saving your configuration, you will need to <b>Import</b> your GEDCOM file into the datastore.  You can do this using the import gedcom button or from the Admin->Manage Gedcoms page."

      What do you think about this idea?

      --John

       
      • Phantomas

        Phantomas - 2003-11-29

        Hi John,

        This was a step which also irritated me sometimes.

        I think you should first try it the way so wrote at last. A red warning message before the button "save configuration" should tell that after there are changes on the gedcom-config the gedcom-file has to be imported before doing anything else.

        It could also be good to add a red message on editconfig.php before the "save configuration"-button to remember the admin that he has to add a new gedcom to his configuration after adding the admin user on the next page.
        As I see you only redirect to "edit_gedcoms.php" and as we call it in Germany "DAU" (Dmmster anzunehmender User -The most stupid user you can think of) maybe doesn't know that he has to configure more about the gedcom before using phpgedview.

        Maybe also on this page you should add a red message to add another gedcom if the array $FEDCOMs is not set yet.

        Maybe a check if any gedcom has ever been imported could also solve this problem. Or a check the size of the array $GEDCOMS could also be used. As I understood the $GEDCOMS-array has a size of 0 (or better is not set yet) if there was no import-action. So if you detect on index.php that the $GEDCOMS-Array is empty (and an admin is logged in) a popup could appear and ask the admin to import the standard gedcom because this action wasn't done yet.

        The second problem I had in the past was to understand why I have to choose the decom-file twice on the first installation.

        You know that you ask for the standard gedcom on the global-config page. The in the gedcom-configuration you ask again for the name of the gedcom. I know that this is needed after once having installed phpgedview.

        But at the first installation you ask for the standard gedcom. And I think you should take the name of this standard gedcom as the name of the first gedcom-file on the 1. gedcom-configuration page. You know by checking that it is the first installation. So you can also use the name of the standard gedcom as the name of the first gedcom while installin the first time.

        Did you understand?

        I wrote a lot and tried out the first installation at the same time and so I added my new thoughts after having writtend others before. So I hope you are not so much confused after reading this message ;-)

        bye, Kurt

         
    • John Finlay

      John Finlay - 2003-11-29

      Hi Kurt,

      In the latest version 2.61b3, I detect if there are no gedcoms installed and always forward them to editgedcoms.php where they can add a new one.

      The "default gedcom" setting has also been a confusion since it was first introduced back in the old MySQL version.  Perhaps it would be best to move this setting to the editgedcoms.php page as a radio button next to the name of each gedcom.

      Right now if the default gedcom is left blank it will choose the first gedcom that was added.

      --John

       
      • Phantomas

        Phantomas - 2003-11-30

        For me it would also look better to move "default gedcom" as a radio button into editgedcoms page.

         
        • Phantomas

          Phantomas - 2003-11-30

          And the red warning info also on the editgedcoms page, if there is no gedcom importet yet.

          I don't think it would be usefull to bring the "import-gedcom to complete" warning on any other page because you now redirect to the editgedcoms page directly after doing all the other configuration.

           
    • Steve Lowmaster

      Steve Lowmaster - 2003-11-29

      John

      I had trouble with this also.
      Here are a few ideas to think about.

      You could insert the red letter text near the "save configuration" stating something like " On the next page you will import your gedcom file"

      Another thing that might help with the initial setup the "import gedcom file" is shown as a hyperlink. It might catch the new users eye if you could make it an icon button and put red text near it that states something like "Click the import button to complete the database setup.

      You should set the wording of the text so that it would be understood eaisly my all the different languages.

      Steve

       
    • Anonymous

      Anonymous - 2003-11-30

      We are only talking about messages being displayed. How about putting a box on the screen with the import button in the middle? The edges of the box must be thick and red.

      This must draw the attention or not? Below the box must the line that says the next step is to import the file.

      Regards,

      Roland

       
    • Anonymous

      Anonymous - 2003-11-30

      In addition to my previous post I have changed the code a bit and came up with this lovely change of the import button:
      http://www.botak.nl/images/import.jpg

      How does this look?

      Regards,

      Roland

       
    • John Finlay

      John Finlay - 2003-12-01

      I've made some of these changes to the 2.61b4.  Please try it and let me know if you think it will be sufficient.

      --John

       

Log in to post a comment.