Last modified: 2014-01-16 09:33:24 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 T51774, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49774 - HTTP 500 Server Error: Argument 1 passed to ContentHandler::getContentText() must implement interface Content, boolean given
HTTP 500 Server Error: Argument 1 passed to ContentHandler::getContentText() ...
Status: UNCONFIRMED
Product: MediaWiki extensions
Classification: Unclassified
AccessControl (Other open bugs)
REL1_21-branch
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-18 21:17 UTC by Linux4ever
Modified: 2014-01-16 09:33 UTC (History)
3 users (show)

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


Attachments

Description Linux4ever 2013-06-18 21:17:38 UTC
In version 1.21.1, the special pages get an Server Error HTTP Error 500.
Comment 1 Andre Klapper 2013-06-19 02:32:38 UTC
Hi Linux4ever, 
unfortunately this report is not very useful because it does not describe the problem well. If you have time and can still reproduce the problem, please read https://www.mediawiki.org/wiki/How_to_report_a_bug and add a more useful description to this report.
Comment 2 Linux4ever 2013-06-19 17:50:01 UTC
I was looking at the code in AccessControl.php. Seems it is using Article::fetchContent which has been deprecated in version 1.21. I am wondering if that would cause AccessControl not working?
Comment 3 Andre Klapper 2013-06-19 23:31:02 UTC
For the HTTP Error, can you please check the server log and paste the corresponding error?
Comment 4 Linux4ever 2013-06-20 00:33:33 UTC
[Mon Jun 17 13:06:12 2013] [error] [client 172.31.38.160] PHP Catchable fatal error:  Argument 1 passed to ContentHandler::getContentText() must implement interface Content, boolean given, called in /u01/www/html/wiki/includes/Article.php on line 388 and defined in /u01/www/html/wiki/includes/content/ContentHandler.php on line 95, referer: http://ltapp06/wiki/index.php/CityWiki
Comment 5 Andre Klapper 2013-06-20 00:39:41 UTC
Yes - bug 43727 is the very same bug in a different extension.
Comment 6 Hazard-SJ 2013-06-20 01:13:33 UTC
I just posted the diff link on the other bug, if anyone is interested.
Comment 7 Want 2013-06-20 06:04:08 UTC
Yes, I know about this issue - on the site for AccessControl in the Mediawiki web is notice about it. But I now was not time to fix this problem.
Comment 8 Want 2014-01-16 09:33:24 UTC
In the latest version of the extension 2.3 should be this problem solved.

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


Navigation
Links