Topic on Project:Support desk

[RESOLVED] LocalSettings.php being ignored

4
88.104.241.50 (talkcontribs)

I've been using MediaWiki 1.23.6 for the last few days. I tried to change the logo without success and assumed that I had the image path wrong. I now realise that ANY changes I make to LocalSettings.php have absolutely no effect at all - in fact, I can delete the file and my wiki runs just fine without it.

What's causing this and how do I fix it?

I'm running on localhost with XAMPP, PHP Version 5.5.15 and MySQL 5.6.20

88.130.94.70 (talkcontribs)

That most likely means that you are editing the wrong LocalSettings.php file.

Another option would be that the code in that file got cached somewhere in an opcode cache, but as far as I know XAMPP does not come with one configured (at least not by default).

Florianschmidtwelzow (talkcontribs)

Hello!

MediaWiki always looks for the LocalSettings.php in the same directory as the index.php. So, check, if there is a file with this name or maybe a symlink or something else. If you don't know, if you cahnged something at some files in MediaWiki you should think about to download a new copy of MediaWiki and "update".

88.104.241.50 (talkcontribs)

Solved the problem, but the cause is too embarrassing to state publicly. The situation was entirely due to me being a bit silly.

Reply to "[RESOLVED] LocalSettings.php being ignored"