Topic on Project:Support desk

Hgodi (talkcontribs)
This, that and the other (talkcontribs)

Please look in your server error logs. It looks like the load.php call that loads the CSS styling is failing with HTTP 500, which suggests that there should be a corresponding error in your server logs or PHP logs.

Hgodi (talkcontribs)

thx for the answer,

but i couldn´t fix it yet, my server error logs is empty.

I ve allready reconfigurated with a new localSetting.php and nothing works.

what am i doing wrong?

Hgodi (talkcontribs)

those pages are broken too:

Especial:Expandir_predefinições

Especial:Fontes_de_livros

83.135.237.99 (talkcontribs)

When you add &debug=true to your URL, you can see that it is the call

/wiki/load.php?debug=true&lang=pt-br&modules=oojs-ui.styles.icons&only=styles&skin=vector

which is producing no output.

The problem obviously is related to the ressource loader module oojs-ui.styles.icons.

83.135.237.99 (talkcontribs)

It would really be interesting to see, what the server logs (maybe even in the access log) for this failing request...

Hgodi (talkcontribs)

when i put &debug=true on the URL the Special:Search opens properlly

I found this on the server logs...

[Wed Apr 12 13:48:30 2017] [error] [client 177.32.95.177] File does not exist: /home/emaklgcm/public_html/404.shtml, referer: http://emaklabin.org.br.cp-23.webhostbox.net/wiki/load.php?debug=true

[Wed Apr 12 13:48:30 2017] [error] [client 177.32.95.177] File does not exist: /home/emaklgcm/public_html/favicon.ico, referer: http://emaklabin.org.br.cp-23.webhostbox.net/wiki/load.php?debug=true

what that means?

Im running the wiki on a shared host like Bluehost, is this a problem?

ps: im a little noob in wiki, im just starting now

This, that and the other (talkcontribs)

Those messages are irrelevant to this problem. I'm a little surprised you don't see errors in your server log coming from MediaWiki. Is it possible that PHP errors are being emitted to a separate log file?

As the IP user above has pointed out, http://emaklabin.org.br.cp-23.webhostbox.net/wiki/load.php?debug=true&lang=pt-br&modules=oojs-ui.styles.icons&only=styles&skin=vector is the URL that is causing you grief. You might want to temporarily change your PHP settings to output errors to the client (add display_errors = on to your php.ini file) and see if anything appears when you visit that URL. (Of course it is essential to turn off display_errors afterwards.)

Hgodi (talkcontribs)

So

with the "display_error = on" on php.ini, and acessing the url i got this error:

Warning: DOMDocument::loadXML(): Empty string supplied as input in /home/emaklgcm/public_html/wiki/includes/resourceloader/ResourceLoaderImage.php on line 275

Notice: Trying to get property of non-object in /home/emaklgcm/public_html/wiki/includes/resourceloader/ResourceLoaderImage.php on line 278

Fatal error: Uncaught Error: Call to a member function canExist() on null in /home/emaklgcm/public_html/wiki/includes/skins/Skin.php:212 Stack trace: #0 /home/emaklgcm/public_html/wiki/includes/skins/Skin.php(145): Skin->preloadExistence() #1 /home/emaklgcm/public_html/wiki/skins/Vector/SkinVector.php(47): Skin->initPage(Object(OutputPage)) #2 /home/emaklgcm/public_html/wiki/includes/skins/SkinTemplate.php(249): SkinVector->initPage(Object(OutputPage)) #3 /home/emaklgcm/public_html/wiki/includes/OutputPage.php(2333): SkinTemplate->outputPage() #4 /home/emaklgcm/public_html/wiki/includes/exception/MWExceptionRenderer.php(178): OutputPage->output() #5 /home/emaklgcm/public_html/wiki/includes/exception/MWExceptionRenderer.php(50): MWExceptionRenderer::reportHTML(Object(Error)) #6 /home/emaklgcm/public_html/wiki/includes/exception/MWExceptionHandler.php(71): MWExceptionRenderer::output(Object(Error), 2) #7 /home/emaklgcm/public_html/wiki/includes/exception/MWExceptionHandler.php(137): MWExceptionHandler::report(Object(Error)) in /home/emaklgcm/public_html/wiki/includes/skins/Skin.php on line 21

http://emaklabin.org.br.cp-23.webhostbox.net/wiki/load.php?debug=true&lang=pt-br&modules=oojs-ui.styles.icons&only=styles&skin=vector

How can i fix it?

This, that and the other (talkcontribs)

Is it possible that the version of the Vector skin doesn't match the version of MediaWiki? Try renaming your skins/Vector directory to skins/Vector-old and replacing skins/Vector with a fresh copy of Vector from Special:SkinDistributor/Vector.

Hgodi (talkcontribs)