Page 1 of 1

Deprecated: in ConfirmAccount/AccountRequest

Posted: Sat Jan 11, 2025 6:01 am
by lane_ftw

Code: Select all

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/wiki.factorio.com/extensions/ConfirmAccount/includes/backend/UserAccountRequest.php on line 93
Requested an account, got this on https://wiki.factorio.com/Special:RequestAccount top of the page.
01-10-2025, 23-58-51.png
01-10-2025, 23-58-51.png (131.88 KiB) Viewed 204 times

Re: Deprecated: in ConfirmAccount/AccountRequest

Posted: Sat Jan 11, 2025 6:08 am
by eugenekay
This error is actually from the PHP Interpreter, regarding the use of a deprecated function in MediaWiki.

The REAL issue here is that the php.ini setting “display_errors” is apparently set to True! This is an Insecure default, since it exposes potentially sensitive information about the file system on which the Wiki is running (“/var/www/wiki.factorio.com/”, and any other Runtime error message which is not Caught by application error handling…. Since MediaWiki (and PhpBB, which is this forum itself) are not known for their bulletproof security record; this option should really be False. :-)