On 10/01/14 06:14, Bill Traynor wrote:
> Sorry to dredge up the past, but yesterday I restored a version 1.16
> wiki from backup and my users can not upload PDFs anymore.  The error
> returned is:
> 
> Fatal error: Call to a member function toHtml() on a non-object in
> /<my wiki dir>/ImagePage.php on line 457

Check to see if $wgStyleDirectory is set correctly and if
/common/images/icons/fileicon.png exists under that directory and is
readable by the webserver. iconThumb() returns null if it does not
exist, generating this error.

-- Tim Starling


_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to