[pmwiki-users] "PHP Deprecated: crypt()..."
Petko Yotov
5ko at 5ko.fr
Thu Jul 5 08:40:04 PDT 2018
I've released 2.2.108 which should handle correctly old PmWiki password
attributes * or @ which are not valid crypto salts and cause the
warning. Please try it and report if this solves your problem or not.
Can you login at all? If not, are these passwords very short (< 4
characters) or created by very old PHP versions, or was the wiki
migrated from a different operating system than your current one (eg.
Windows->Linux)? If so, you may have to re-type or re-generate your
passwords on the current server.
Petko
On 05/07/2018 15:24, pce at accesswave.ca wrote:
> I'm getting the following error in my Apache error log:
>
> mod_fcgid: stderr: PHP Deprecated: crypt(): Supplied salt is not
> valid for DES. Possible bug in provided salt format. in
> /home/www/vdgsa.org/wiki/pmwiki.php on line 519
>
> There is a reference to this on the PMWiki website's "Troubleshooting"
> page <https://www.pmwiki.org/wiki/PmWiki/Troubleshooting>,
> recommending that all occurrences of crypt() be replaced with
> pmcrypt(). Unfortunately, the above error message refers to a line in
> pmcrypt itself, so that's not going to work, surely.
>
> I'm running version 2.2.107 of pmwiki, and PHP 7.0.27.
>
> Any suggestions?
>
> --- Peter Payzant
More information about the pmwiki-users
mailing list