Topic on Project:Support desk

$wgResponsiveImages causing issues for SVG thumbnailing

7
Immewnity (talkcontribs)
MarkAHershberger (talkcontribs)
MarkAHershberger (talkcontribs)

Could you respond to Brion's question here?

What does the debug log say during rendering?

Immewnity (talkcontribs)

I'm honestly a bit confused on how to set up a debug log (do I just add the line to LocalSettings? How does it get permissions then?), but I posted all that I could in there.

MarkAHershberger (talkcontribs)

First, add

 error_reporting( -1 );
 ini_set( 'display_errors', 1 );

to your LocalSettings.php file and see if any errors are displayed. If none are, try enabling debugging and see if the file shows you anything.

Immewnity (talkcontribs)

Only error was about skin autodiscovery, which I'm going to fix soon.

For enabling debugging, do I have to create the file myself, or does MediaWiki create it when it logs errors?

MarkAHershberger (talkcontribs)

MediaWiki will create the debug log itself if it has permissions to create the file in the directory you give it.

Reply to "$wgResponsiveImages causing issues for SVG thumbnailing"