Page MenuHomePhabricator

Policy restriction in effect. The fifth parameter is disabled on this system
Closed, InvalidPublic

Description

There is nothing about it on mediawiki.org ''Policy restriction in effect. The fifth parameter is disabled on this system''! My provider ''one.com'' does not support the fifth parameter. Since I upgraded from 1.15 to 1.24.1 I am not able to register any new members on my wiki. (php 5.6)

One.Com is not supporting the 5th parameter as it is vonurable to spam (their words - not mine)

//► User:RoanKattouw Gave me advise on this:
UserMailer.php does in fact attempt to work around this But it only knows to do that when safe_mode is enabled. So maybe your system has safe_mode off while still having the restriction

In includes/mail/UserMailer.php on line 321 you should see $safeMode = wfIniGetBool( 'safe_mode' );
Try changing that to $safeMode = true;//

This was all I needed. And I got it working again. As One.Com is one of the largest hostingproviders I believe that many more will have this problem.

I hope this will be verified by you.

Kind regards,
Robert de Jong

Event Timeline

Maniphest changed the visibility from "Public (No Login Required)" to "Custom Policy".Mar 13 2015, 2:16 PM
Maniphest changed the edit policy from "All Users" to "Custom Policy".
Rodejong updated the task description. (Show Details)
Rodejong added a project: WMF-NDA.
Rodejong changed Security from None to Other confidential issue.
Rodejong edited subscribers, added: Rodejong; removed: Aklapper.

You're very unlikely to get help with this marked as a confidential issue. What is there that's confidential about this ticket?

Aklapper edited projects, added MediaWiki-General; removed WMF-NDA.
Aklapper changed the visibility from "Custom Policy" to "Public (No Login Required)".
Aklapper changed the edit policy from "Custom Policy" to "All Users".

File is now https://phabricator.wikimedia.org/diffusion/MW/browse/master/includes/mail/UserMailer.php and that line does not exist anymore. Feel free to file a new issue if there is still a problem in a recent supported version. Thanks!