Topic on Project:Support desk

[RESOLVED] Stuff not working

12
Antiv31 (talkcontribs)

On my site I use MediaWiki 1.24.1, PHP 5.3.20 and MySQL 5.1.67. For some reason the edit toolbar will not appear when I make an edit to a page, nor will the search 'recommendations' bar. I have a feeling it's a problem with Javascript, but is it something else? What can I do to fix it?

AKlapper (WMF) (talkcontribs)

Have you checked Manual:How to debug? When it comes to JavaScript, your browser's developer console will also display JavaScript errors.

Antiv31 (talkcontribs)

Sadly my host has a lot of downtime right now, so I can't access it.

Antiv31 (talkcontribs)

The JS error says: 'Uncaught SyntaxError: Unexpected token'.

AKlapper (WMF) (talkcontribs)

In which file? In which line? You can pass debug=true as a URL parameter in the browser's address bar.

Ciencia Al Poder (talkcontribs)
Antiv31 (talkcontribs)

I realised it was my hosting provider which is injecting advertising into core MediaWiki files. I'll open a support ticket with them.

Florianschmidtwelzow (talkcontribs)

Just a naugthy comment: You should maybe change your hosting provider, too ;)

110.148.112.245 (talkcontribs)

Do I have to? Anyway, it says that isn't possible.

Ciencia Al Poder (talkcontribs)

If they won't disable ad injection on generated JavaScript files, then you must change your hosting if you want a working MediaWiki.

Florianschmidtwelzow (talkcontribs)

Wow, i hope you doesn't pay for this host service :) But +1 to the answer of Ciencia Al Poder: it seems you need to change your host.

Reply to "[RESOLVED] Stuff not working"