On Thu, Jan 9, 2014 at 10:31 PM, Tim Starling <[email protected]> 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
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

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

Reply via email to