[pmwiki-users] Uncaught ArgumentCountError: crypt() expects exactly 2 arguments
Donald Z. Osborn
dzosborn at gmail.com
Sat Jul 5 06:57:49 PDT 2025
Greetings, First of all, I'd like to thank Petko and others involved i
updating PmWiki.
I'm upgrading my installations of PmWiki and in debugging, ran into a
similar error messageson two subdomains.
The first is at https://donosborn.org/iyl/, a subdomain obviously of the
main site, donosborn.org (on which PmWIki is now running great). I've
broken the error messages into lines to make it easier to parse:
Fatal error: Uncaught ArgumentCountError: crypt() expects exactly 2
arguments,
1 given in /misc/32/000/115/128/8/user/web/
donosborn.org/iyl/local/config.php:92 Stack trace:
#0 /misc/32/000/115/128/8/user/web/donosborn.org/iyl/local/config.php(92):
crypt('XXXX')
#1 /misc/32/000/115/128/8/user/web/donosborn.org/pmwiki/pmwiki.php(438):
include_once('/misc/32/000/11...')
#2 /misc/32/000/115/128/8/user/web/donosborn.org/iyl/index.php(1):
include('/misc/32/000/11...')
#3 {main} thrown in /misc/32/000/115/128/8/user/web/
donosborn.org/iyl/local/config.php on line 92
The second is a subdomain of another site, http://www.bisharat.net/wikidoc/
(the contents of which were previously ported over from a domain that was
going to be abandoned; this is currently running as a "farm" of the
donosborn.org installation on the same server, which I plan to changelater):
Fatal error: Uncaught ArgumentCountError: crypt() expects exactly 2
arguments,
1 given in /misc/32/000/115/128/8/user/web/
bisharat.net/wikidoc/local/config.php:85 Stack trace:
#0 /misc/32/000/115/128/8/user/web/bisharat.net/wikidoc/local/config.php(85):
crypt('YYYY')
#1 /misc/32/000/115/128/8/user/web/bisharat.net/wikidoc/pmwiki.php(438):
include_once('/misc/32/000/11...')
#2 {main} thrown in /misc/32/000/115/128/8/user/web/
bisharat.net/wikidoc/local/config.php on line 85
What I did: Searched the PmWiki.org site for possible updates or guidance,
but no luck.
Any suggestions from anyone would be most appreciated.
Don Osborn
PS- The fact that encrypted passwords are publically displayed in the error
messages on these sites is problematic. Is this something that can be
changed? (I munged them in this email but that by now is just symbolic).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20250705/1f916687/attachment.html>
More information about the pmwiki-users
mailing list