Menu

Media item No

2017-07-18
2017-07-20
  • Sergey Korolev

    Sergey Korolev - 2017-07-18

    PGV 4.1.7.
    PHP Version 4.3.10-22

    I have only 4 media files (photo, jpg).
    They numbers are M3 M4 M9 M33.
    I did something wrong when added media objects.
    What way I can change these numbers?
    I want to change M33 to M1 and M9 to M5.
    When I changed Gedcom record the photo was invisible.

    Thank you

     
  • Lester Caine

    Lester Caine - 2017-07-18

    My first question would be have you added images which you have then deleated as that is normally where the gaps come from. There is little reason to change then numbers, but '34' is probably stored as the next number anyway. There are a number of places where the database stores numbers and simply changing the gedcom record will not update them, so you are safer leaving them alone. I have sorted this type of problem in the past, but invariably after a few months it's as bad again so as long as the numbers are unique here is no reason to spend the time.

     
  • Sergey Korolev

    Sergey Korolev - 2017-07-18

    Thank you Mr. Lester
    I guessed but I was not sure
    I am going to leave this disorder.

     
  • Gerry Kroll

    Gerry Kroll - 2017-07-18

    Sergey:
    You should be using the latest-and-greatest PhpGedView. This is the version you download by taking a snapshot of the SVN repository. It's version 4.3, also called the "SVN" version. If you need help in upgrading your long-outdated PhpGedView installation, please let us know. Help is available as needed.

    If you're just starting out, you should consider using Webtrees in preference to PhpGedView. Webtrees is much better supported and has an active user community. Webtrees also has an easy-to-use migration tool to help you with the migration from PhpGedView. (I'm sticking with PhpGedView because I've used it for over 10 years, and have become very familiar with it. It does exactly what I want it to do.)

    As Lester says, there's no importance to having all the different media, individual, family, source, notes, etc.numbers in order with no holes in the sequences. These are just reference numbers that help the program find the information in the database.

    When you delete an item, you end up with a hole in the sequence. PhpGedView NEVER re-uses one of these numbers. The next available number for each of the record types is stored in the "nextid" database table.

    By the way: It's "Lester" or "Mr. Caine", but hardly anyone around here uses "Mr. Caine".

     
  • Sergey Korolev

    Sergey Korolev - 2017-07-19

    Dear Gerry
    Thank you for your clarification and help!
    I have used PhpGedView for 8 years.
    Is "SVN" version compatible with PHP Version 4.3.10-22?
    I would like to try SVN if it is possible and not complicated.
    I need your help in upgrading.
    I am intrested to read about "Webtrees".
    Where can i find it?
    As for using "Mr." I am not so good in English.
    Best regards.

     
  • Lester Caine

    Lester Caine - 2017-07-19

    Sergey ... I'm in much the same position with a number of legacy websites which are working perfectly on PHP5.2 and PHP5.3. Moving their code to even PHP5.4 takes time and often results in strange niggles, so we have resorted to ensuring that any identified security problems with the PHP are addressed and leaving alone. In the case of PGV, I've only moved the old data to a new copy of PGV on the PHP7 server. I'm not sure the SVN copy of PGV will work on a legacy version of PHP but experiance tells me that it may not. Gone are the days when one could update one or other and everything simply carried on working :( I have to be careful the libraries I use are NOT updated on the legacy machines, but then you have two or three versions o remember the differences in ...

    Moving to Webtrees (https://www.webtrees.net/) is an alternate option for upgrading but I don't like the way that works and so I've kept with my PGV setup. It does depend on how you are hosting your website. I've new computers with the newer platforms on and left the old PHP5.2/3 machines alone. We are slowly getting sites moved over, but many originated in PHP4 days - are still providing the material they alwys did - but are not producin enough income to justify the days of time to update them ... I will probably have retired before they get moved and someone else can have the hassle!

    That said, 1.7 version of Webtrees should work out of the box on your 5.3 PHP if you can't change the version of PHP. I will run a copy of the SVN version of PGV up on my legacy system but don't have MySQL installed there ... yet another problem keeping things working ...

     
  • Sergey Korolev

    Sergey Korolev - 2017-07-19

    Dear Lester
    Thank you for your advices and notes.
    I am thinking now what to do.
    Best regards

     
    • David Ledger

      David Ledger - 2017-07-19

      On 19 Jul 2017, at 10:22, Sergey Korolev wrote:

      Dear Lester
      Thank you for your advices and notes.
      I am thinking now what to do.
      Best regards


      Media item
      No


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/phpgedview/discussion/185165/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

      For me, the big failing with Webtrees is that browser windows and tabs
      cannot display different formats. If you select one data presentation in
      one tab then, on the next refresh, each other tab takes on that format.
      With phpGedView you could have a family shown in different views in two
      tabs, add data through a third, and then refresh the first two to see
      the effect. Webtrees doesn’t let you do that; you have to fiddle about
      with view formats all the time.

      David

       
  • Gerry Kroll

    Gerry Kroll - 2017-07-19

    Sergey:
    As far as I know, PhpGedView version 4.3 should work with PHP version 4.3. The only way to be sure is to set up a parallel installation and try it.

    To set up a parallel installation, simply create another subdirectory on the server, and copy the new PhpGedView into that. When you configure the new PhpGedView, use the same database as the old, but use a different table name prefix. Export a copy of the GEDCOM from the old PhpGedView installation, and import that into the new set-up. Don't copy the old database tables into the new set-up.

    Before proceeding, if you're not sure of what to do, post back here or e-mail me directly at gkroll (at) keldine (dot) ca . We may need to take this discussion off-line to speed it up.

    You may have some trouble finding the correct "SVN" zip file of PhpGedView because the SVN repository contains a lot of junk that should be ignored. I can make a copy of what I use available to you for downloading from my server. This would be a LOT easier than navigating through the SourceForge structure.

     
  • Sergey Korolev

    Sergey Korolev - 2017-07-20

    Thank you Gerry!
    Now it is absolutely clear for me what to do.
    I am looking forward to your link to download "SVN" zip file.
    Best ragards

     
  • Gerry Kroll

    Gerry Kroll - 2017-07-20

    Please e-mail me directly. I do not wish to publish the link here, since it will be VERY temporary. Things published here tend to come back to life many years later.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.