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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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
Thanks, problem solved!