Last modified: 2009-11-28 04:43:41 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 T18411, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16411 - Fatal PHP Errors while viewing an image
Fatal PHP Errors while viewing an image
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.14.x
All All
: Normal blocker (vote)
: ---
Assigned To: Chad H.
http://meta.yourwiki.net/wiki/File:Am...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-11-21 15:01 UTC by Charles Melbye
Modified: 2009-11-28 04:43 UTC (History)
2 users (show)

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


Attachments

Description Charles Melbye 2008-11-21 15:01:22 UTC
While trying out the new [[File:]] namespace rename, I encountered this fatal error while viewing an image:

Fatal error: Call to a member function toHtml() on a non-object in /home/yourwiki/htdocs/html/w/includes/ImagePage.php on line 936

Any ideas?
Comment 1 Charles Melbye 2008-11-21 15:07:13 UTC
It's working for some images, but it seems to be broken for all Ambox images, maybe more.
Comment 2 Siebrand Mazeland 2008-11-21 15:13:05 UTC
Issue confirmed. Cannot reproduce it, yet, though. Have only seen 3 occurrences with out users logged from Betawiki to #mediawiki-i18n so far.
Comment 3 Chad H. 2008-11-21 17:32:14 UTC
Can readily reproduce as of current trunk (r34824). Narrowed it down to some mis-handling of external data in the ForeignApiRepo, but trying to figure out exactly why. Enabling thumb caching suppresses the errors, but still produces invalid output (no thumbs).
Comment 4 Chad H. 2008-11-21 17:46:55 UTC
Fixed in r43825 (had to remove the findBySha1 functionality for now).

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


Navigation
Links