On Thu, Jan 9, 2014 at 10:31 PM, Tim Starling <tstarling(a)wikimedia.org> wrote:
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.
That was exactly the problem! Somehow, during the restore yesterday,
the common/images directory did not get restored at all.
Thank you Tim, I am eternally grateful! You've made my "people to buy
beer for" list ;)
-- Tim Starling
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l