Uncaught ArgumentCountError: crypt() expects exactly 2 arguments

"Donald Z. Osborn" <[email protected]> Sat, 5 Jul 2025 09:57:49 -0400
Newsgroups gmane.comp.web.wiki.pmwiki.user
Message-ID <CALSbqwWFcRAuMP2O0cCmawO+5MHQayuosppTh6yX-xj6OS8P+Q@mail.gmail.com>
--===============1142621423832852261==
Content-Type: multipart/alternative; boundary="00000000000099ebc506392eff1e"

--00000000000099ebc506392eff1e
Content-Type: text/plain; charset="UTF-8"

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).

--00000000000099ebc506392eff1e
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Greetings, First of all, I&#39;d like to thank Petko =
and others involved i updating=C2=A0PmWiki.=C2=A0</div><div><br></div><div>=
I&#39;m upgrading my installations of PmWiki and in debugging, ran into a s=
imilar error messageson two subdomains.</div><div><br></div><div>The first =
is at <a href=3D"https://donosborn.org/iyl/">https://donosborn.org/iyl/</a>=
, a subdomain obviously of the main site, <a href=3D"http://donosborn.org">=
donosborn.org</a> (on which PmWIki is now running great). I&#39;ve broken t=
he error messages into lines to make it easier to parse:<br><br>Fatal error=
: Uncaught ArgumentCountError: crypt() expects exactly 2 arguments, <br>1 g=
iven in /misc/32/000/115/128/8/user/web/<a href=3D"http://donosborn.org/iyl=
/local/config.php:92">donosborn.org/iyl/local/config.php:92</a> Stack trace=
: <br>#0 /misc/32/000/115/128/8/user/web/<a href=3D"http://donosborn.org/iy=
l/local/config.php(92)">donosborn.org/iyl/local/config.php(92)</a>: crypt(&=
#39;XXXX&#39;) <br>#1 /misc/32/000/115/128/8/user/web/<a href=3D"http://don=
osborn.org/pmwiki/pmwiki.php(438)">donosborn.org/pmwiki/pmwiki.php(438)</a>=
: include_once(&#39;/misc/32/000/11...&#39;) <br>#2 /misc/32/000/115/128/8/=
user/web/<a href=3D"http://donosborn.org/iyl/index.php(1)">donosborn.org/iy=
l/index.php(1)</a>: include(&#39;/misc/32/000/11...&#39;) <br>#3 {main} thr=
own in /misc/32/000/115/128/8/user/web/<a href=3D"http://donosborn.org/iyl/=
local/config.php">donosborn.org/iyl/local/config.php</a> on line 92<br><br>=
<br>The second is a subdomain of another site, <a href=3D"http://www.bishar=
at.net/wikidoc/">http://www.bisharat.net/wikidoc/</a> (the contents of whic=
h were previously ported over from a domain that was going to be abandoned;=
 this is currently=C2=A0running as a &quot;farm&quot; of the <a href=3D"htt=
p://donosborn.org">donosborn.org</a> installation on the same server, which=
 I plan to changelater):<br><br>Fatal error: Uncaught ArgumentCountError: c=
rypt() expects exactly 2 arguments, <br>1 given in /misc/32/000/115/128/8/u=
ser/web/<a href=3D"http://bisharat.net/wikidoc/local/config.php:85">bishara=
t.net/wikidoc/local/config.php:85</a> Stack trace: <br>#0 /misc/32/000/115/=
128/8/user/web/<a href=3D"http://bisharat.net/wikidoc/local/config.php(85)"=
>bisharat.net/wikidoc/local/config.php(85)</a>: crypt(&#39;YYYY&#39;) <br>#=
1 /misc/32/000/115/128/8/user/web/<a href=3D"http://bisharat.net/wikidoc/pm=
wiki.php(438)">bisharat.net/wikidoc/pmwiki.php(438)</a>: include_once(&#39;=
/misc/32/000/11...&#39;) <br>#2 {main} thrown in /misc/32/000/115/128/8/use=
r/web/<a href=3D"http://bisharat.net/wikidoc/local/config.php">bisharat.net=
/wikidoc/local/config.php</a> on line 85</div><div><br></div><div><br></div=
><div>What I did: Searched the PmWiki.org site for possible updates or guid=
ance, but no luck.=C2=A0</div><div><br></div><div>Any suggestions from anyo=
ne would be most appreciated.</div><div><br></div><div>Don Osborn</div><div=
><br></div><div>PS- The fact that encrypted passwords are publically displa=
yed in the error messages on these sites is problematic. Is this something=
=C2=A0that can be changed? (I munged them in this email but that by now is =
just symbolic).</div></div>

--00000000000099ebc506392eff1e--


--===============1142621423832852261==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

--===============1142621423832852261==--