When I attempt to change a user's password, I get the following error:
ERROR 8: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash.
0 Error occurred on in function crypt
1 called from line 117 of file login_register.php
Anyone know the cause for this?
Thank you for the help!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I installed PhpGedView back in 2010 and it is version 4.2.3. PHP version is 5.6.30.
If you think I should update to version 4.3.1, is there an upgrade guide available? I haven't messed with this for years. And now my grand daughter is looking for her ancestrial information.
Thanks for your time Gerry,
Frank
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Make a backup of the database and the existing PhpGedView installation.
Log into the existing PhpGedView installation with your Admin userid
Access the "Manage GEDCOMs and edit Privacy" page, click on the "export" link on the line where your GEDCOM is mentioned, and then log out. This will create a GEDCOM file in the "index" directory using your database, so that you can reload the database later.
In the PhpGedView installation on your server, delete everything except: file "config.php", directory "index", and directory "media"
On your local PC, unzip the file you've downloaded from SVN into a temporary directory
On your local PC in that temporary directory, delete the "index" and "media" directories so that you don't accidentally over-write anything when you copy everything to the server. There is no "config.php" file to worry about.
In the "modules" directory within that temporary directory on your local PC, delete any modules you don't intend to use. I keep only the GEDFact_assistant, JWPlayer, lightbox, and slideshow modules.
Copy everything from your local PC's temporary directory into the PhpGedView install directory on the server.
On your server, set all permissions properly. I set everything, including directories, to 755, except for file "config.php" and directories "index" and "media", and their contents. These require 777 permission. When you've finished configuring PhpGedView, set the permission on file "config.php" to 755.
Log into the newly installed PhpGedView version 4.3.1 (SVN) using your Admin password. This will upgrade the database tables and fields. Immediately access the "Manage GEDCOMs and edit Privacy" page, and re-import the existing GEDCOM (previously exported from the old version of PhpGedView). This step is absolutely necessary, to ensure that the database is properly populated and that the indexes are properly built.
I hope this helps.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I attempt to change a user's password, I get the following error:
ERROR 8: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash.
0 Error occurred on in function crypt
1 called from line 117 of file login_register.php
Anyone know the cause for this?
Thank you for the help!
What version of PhpGedView and what version of PHP are you using?
This error has been seen before, and was caused by an upgrade to the PHP software.
It's one of MANY bugs that have been corrected in PhpGedView version 4.3.1, which you can only download from the SVN repository:
https://sourceforge.net/p/phpgedview/svn/HEAD/tree/trunk/phpGedView/
I'm not yet ready to post this version for general download, but there's nothing "experimental" about the version in the SVN repository.
Thank you Gerry!
I installed PhpGedView back in 2010 and it is version 4.2.3. PHP version is 5.6.30.
If you think I should update to version 4.3.1, is there an upgrade guide available? I haven't messed with this for years. And now my grand daughter is looking for her ancestrial information.
Thanks for your time Gerry,
Frank
To upgrade PhpGedView:
I hope this helps.
Thank you for the guidance Gerry. I will give it a shot.