Author: safemailto-mediawiki
Description:
Problem:
When I set Monobook as default skin (or other skin based on Monobook template), MediaWiki crashes everytime I click in Login/Create an Account link.
Configuration:
- Windows Vista SP1
- IIS Server 6.0
- MediaWiki 1.14.0
- PHP Version 5.2.6
- MySQL 5.1.26
Error message:
MediaWiki internal error.
Original exception: exception 'MWException' with message 'SkinTemplate::makeTalkUrlDetails given invalid pagename User:' in C:\inetpub\wwwroot\intranet\wiki\includes\SkinTemp late.php:624
Stack trace:
#0 C:\inetpub\wwwroot\intranet\wiki\includes\SkinTemp late.php(564): SkinTemplate->makeTalkUrlDetails('User:')
#1 C:\inetpub\wwwroot\intranet\wiki\includes\SkinTemp late.php(434): SkinTemplate->buildPersonalUrls()
#2 C:\inetpub\wwwroot\intranet\wiki\includes\OutputPa ge.php(945): SkinTemplate->outputPage(Object(OutputPage))
#3 C:\inetpub\wwwroot\intranet\wiki\includes\Wiki.php (342): OutputPage->output()
#4 C:\inetpub\wwwroot\intranet\wiki\index.php(115): MediaWiki->finalCleanup(Array, Object(OutputPage))
#5 {main}
Exception caught inside exception handler: exception 'MWException' with message 'SkinTemplate::makeTalkUrlDetails given invalid pagename User:' in C:\inetpub\wwwroot\intranet\wiki\includes\SkinTemp late.php:624
Stack trace:
#0 C:\inetpub\wwwroot\intranet\wiki\includes\SkinTemp late.php(564): SkinTemplate->makeTalkUrlDetails('User:')
#1 C:\inetpub\wwwroot\intranet\wiki\includes\SkinTemp late.php(434): SkinTemplate->buildPersonalUrls()
#2 C:\inetpub\wwwroot\intranet\wiki\includes\OutputPa ge.php(945): SkinTemplate->outputPage(Object(OutputPage))
#3 C:\inetpub\wwwroot\intranet\wiki\includes\Exceptio n.php(159): OutputPage->output()
#4 C:\inetpub\wwwroot\intranet\wiki\includes\Exceptio n.php(183): MWException->reportHTML()
#5 C:\inetpub\wwwroot\intranet\wiki\includes\Exceptio n.php(269): MWException->report()
#6 C:\inetpub\wwwroot\intranet\wiki\includes\Exceptio n.php(327): wfReportException(Object(MWException))
#7 [internal function]: wfExceptionHandler(Object(MWException))
#8 {main}
Overview:
It is a strange behavior: using Monobook skin, MediaWiki creates a cookie named "wikidb_session". This cookie holds some configuration and its is the responsible for crashes the interface when click "Login/Create an Account link". After the problem, all pages crashes for complete. If I delete the cookie, interface runs again. But, as soon I click the login link again, interface crashes.
This problem only happens with Monobook skin and some other skins using Monobook as template skin.
Done:
I disabled accept cookies in browser. Problem still happens when i click the link. But, now, without the cookie, all other pages runs perfectly.
Something are been trying to be generated when I click login link. I read in a forum something about this. I read about MediaWiki are trying to create a page, but it does not exist (Special:User). I can't confirm because i don't know MediaWiki functions deeply yet. I am studying.
I've done some tests last night, but without success. I copied all variables from "DefaultSettings.php", one by one, analyzed each one, and pasted into "LocalSettings.php" testing different values and it results. What was "false" by default, i tried "true" and vice-versa. And nothing, absolutely nothing, make any difference. Of course, some configurations cause MediaWiki stop for complete, but i cant solve this issue mentioned in this post. Still looking for and going to Bugzilla to post this bug.
Version: 1.14.x
Severity: major
OS: Windows Vista
Platform: PC