Topic on Project:Support desk

MediaWiki WILL NOT load

16
Coldfire202 (talkcontribs)

It seems no matter what I do, MediaWiki will not load! If it does happen to load, it take 10 minutes or so. And it's not my internet because this site and other Wikis and other sites load lighting fast.

Here's my cPanel info... http://i.imgur.com/ZSJmmuF.png

MediaWiki Version: 1.22.2 Just installed it tonight.

It's hard to describe an issue.

Ciencia Al Poder (talkcontribs)

Try installing 1.21 instead. 1.22 is too buggy.

88.130.83.204 (talkcontribs)

1.22 is the current branch and development continues based on what we have there. You sure can use 1.21, but ignoring problems won't solve them unfortunately.

The question is what happens after this long time: Do you see a blank page? Or an error message?

Please activate error logging and then let it run until it dies once and then check the PHP and the Apache error log. I really hope something gets logged there.

Coldfire202 (talkcontribs)

Whenever it does finally load, it just goes to the main page. No errors. Just super slow to load.

AKlapper (WMF) (talkcontribs)
Coldfire202 (talkcontribs)

I have added the debug to the Localsettings and the index. I'm still waiting for it to load. I downgraded to 1.22.0 yet I'm still having to wait anywhere from 5-30 minutes for one page to load.

Coldfire202 (talkcontribs)

It's not just the newer versions. It's EVERY version I have tried. I'm on 1.21s right now.

88.130.121.146 (talkcontribs)

OK, so basically you can go back to 1.22.2 as it's not related to a specific version.

MediaWiki has some debugging functionality. Another idea would be to profile a page load. Maybe that can show, where it is actually slow.

MySQL has a Slow Query Log, which lists those queries, which were slow. If the problem is in MySQL, I would expect that you (or your host) finds some queries logged there.

Maybe you can also ask your host, if he has an idea. I can tell you that for me MediaWiki runs way faster than what you get - and I have installed it on my laptop.

Coldfire202 (talkcontribs)

The problem is though, it seems that they have not included all the files in the install of 1.22.2. No "DefaultSettings.php" is there. There's no "Debug..." in existence in that folder. There's nothing really. Here's a screenshot... http://prntscr.com/2w73aq

So...something isn't right here... There's not any of this profiling stuff in there, there's not any debugging stuff, there's...nothing it seems like.

Bawolff (talkcontribs)

DefaultSettings.php is in the includes folder (If it wasn't there, your wiki wouldn't load at all). However, you should not have to worry about DefaultSettings.php, you should only ever touch LocalSettings.php.

Coldfire202 (talkcontribs)

Okay. So there's the answer to that. The question remaining is where the heck is these options that are supposed to be in the LocalSettings?

88.130.83.1 (talkcontribs)

What options are you speaking about? You can and should add new/additional settings to LocalSettings.php as explained here and here.

Coldfire202 (talkcontribs)

I'll have to do that at some point later today :P Thank you.

MarkAHershberger (talkcontribs)

I'm not going to disagree that 1.22 has bugs, but Markus will be releasing a 1.22 point release today that addresses a number of the issues.

Reply to "MediaWiki WILL NOT load"