Menu

Installation problem

Help
2020-03-29
2020-03-30
  • P.J. Kramer

    P.J. Kramer - 2020-03-29

    I downloaded and installed the latest version on a Raspberry Pi.
    PHP Version 7.3.14-1~deb10u1.
    When I start http://192.168.31.22/phpgedview/install.php, I get the message "Fatal error: Cannot redeclare imagecreatefrombmp() in /var/www/html/phpgedview/includes/functions/functionsmediadb.php on line 2190"
    How can I solve this?
    Thanks!
    Hans

     
  • Gerry Kroll

    Gerry Kroll - 2020-03-29

    You're using the wrong version of PhpGedView. You need to download and install the "SVN" version.

    Click on "SVN" near the top of this page, and follow the links. You need to install PhpGedView from the "trunk" branch.

    Unzip the downloaded SVN snapshot on your local PC, and just replace everything in your PhpGedView install directory on the server. If you're upgrading from an earlier version, you need to preserve the /config.php file and the /media and /index directories from that old installation.

    If you're upgrading from any version of PhpGedView: Once you're up and running, you need to access the Manage GEDCOMs page immediately. Export the existing database to a GEDCOM file, and then immediately import that GEDCOM file you have exported. This will re-build the database indexes. While importing the just-exported GEDCOM, let PhpGedView erase the database contents, and don't keep media links. "Keep media links" is there to handle a re-import of a GEDCOM that does not contain any media information. PhpGedView exports to a GEDCOM that has all the necessary media information in it.

     

    Last edit: Gerry Kroll 2020-03-29
  • P.J. Kramer

    P.J. Kramer - 2020-03-30

    Thanks, problem solved!

     

Log in to post a comment.