https://bugzilla.wikimedia.org/show_bug.cgi?id=29525
Web browser: ---
Bug #: 29525
Summary: Call to a member function isOpen() on a non-object
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: SimpleSecurity
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Upgraded to Mediawiki 1.17.0 (Debian/stable, PHP 5.3.3), ran the
maintenance/update.php and MW would work fine - but only without the
SimpleSecurity extension. If enabled, this happens:
PHP Fatal error: Call to a member function isOpen() on a non-object in
../includes/db/LoadBalancer.php on line 652
=== LocalSettings.php ===
$wgSecurityUseDBHook = true;
require_once("$IP/extensions/SimpleSecurity-svn/SimpleSecurity.php");
$wgSecurityRenderInfo = false;
$wgSecurityAllowUnreadableLinks = false;
$wgPageRestrictions['Namespace:Special']['read'] = 'users';
$wgPageRestrictions['Namespace:User']['read'] = 'users';
Commenting out wgSecurityUseDBHook helped and SimpleSecurity does what it's
supposed to do - I guess. I'd feel more comfortable if someone could have a
look at this if it's safe to disable the hook with MW 1.17.
Thanks!
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l