Last modified: 2010-05-15 16:03:32 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T19266, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17266 - Bug Article.php on line 1425
Bug Article.php on line 1425
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
1.13.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-01-31 00:30 UTC by Alexandre
Modified: 2010-05-15 16:03 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Alexandre 2009-01-31 00:30:24 UTC
Warning: ignore_user_abort() has been disabled for security reasons in /home/gwendolau/public_html/includes/Article.php on line 1425

What do I have to make to modify an article without having message?
Comment 1 Chad H. 2009-02-01 09:09:38 UTC
Want some extra input, but: throw a function_exists() at the two places it's called? Would be simple enough to just skip it if we can't use it anyway.
Comment 2 Niklas Laxström 2009-02-01 10:15:27 UTC
Or declare that MediaWiki doesn't work with random "hey let's disable this function for security" installations?
Comment 3 Chad H. 2009-02-01 13:01:40 UTC
That would also work :)
Comment 4 Alexandre 2009-02-02 00:05:52 UTC
What? I don't understand your explanation.
Comment 5 Chad H. 2009-02-02 00:08:19 UTC
Niklas raises a good point. With some things, we can degrade nicely when people don't have particular features available to them. However, there's a point where we have to say "if you've got X function disabled, we can't really do much."

Not sure if this is one of those instances or not.
Comment 6 Alexandre 2009-02-02 00:14:51 UTC
I add only sentence:

# Prevent new user registrations except by sysops
$wgGroupPermissions['*']['createaccount'] = false;
$wgGroupPermissions['*']['edit'] = false;
$wgGroupPermissions['user']['edit'] = true;
$wgGroupPermissions['sysop']['edit'] = true;

I want that is that the users to record and that the administrator to add to him even the users.
Comment 7 Aryeh Gregor (not reading bugmail, please e-mail directly) 2009-02-02 01:56:56 UTC
You're receiving an error because your host has disabled the function "ignore_user_abort()".  You may experience some bugs due to this decision; we can't help that.  Most likely your wiki will basically work okay despite this and you can ignore the warning.  I would suggest complaining to your host about the absurdity of disabling this function, however, just on principle.

If the warning is showing up for you when you edit pages, then add this to the very top of LocalSettings.php (after "<?php"):

ini_set( 'display_errors', '0' );

If that just gives you more errors, you could also try this (again, very top of LocalSettings):

error_reporting( E_NONE );

If that *also* doesn't work, your host is completely and ridiculously broken and you should probably leave them ASAP.


As far as MW goes: we could avoid the warning by checking whether the function is disabled, but it's not remotely sane for us to do that for every function out there.  In this case, the warning doesn't hurt anything in this case -- it just makes the function a no-op, which is the best we could do here.  It also does the service of informing users that their hosts are complete jerks.  So, resolving INVALID.
Comment 8 Alexandre 2009-02-02 02:49:28 UTC
Nothing, the modification is not saved.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links