Login problem, GuMax 3.3

If you are having problems with GuMax, post here.
User avatar
gmack
Rank 2
Rank 2
Posts: 12
Joined: November 4th, 2007, 3:24 pm

Login problem, GuMax 3.3

Post by gmack »

Hi !

First i must say that i'm a newbie (at mediawiki and gumax skin, wiki....=

I have mediawiki 1.11.0 and GuMax 3.3 skin. when i move the mouse over the login i get this url
"http://127.0.0.1/mediawiki/index.php/Main_Page" instead of some thing like this
"http://127.0.0.1/mediawiki/index.php?ti ... =Main_Page"
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Login problem, GuMax 3.3

Post by Paul »

I'm trying in MediaWiki 1.11.0, it works fine, can you show me your link?
User avatar
gmack
Rank 2
Rank 2
Posts: 12
Joined: November 4th, 2007, 3:24 pm

Re: Login problem, GuMax 3.3

Post by gmack »

Paul wrote:I'm trying in MediaWiki 1.11.0, it works fine, can you show me your link?
Sorry, what du you mean by link ? i use it on a laptop with xampp 1.6.4 and MediaWiki 1.11.0. and this is not accessible for the public.

else the soure, is like
<li><a href="">Log in</a></li>
User avatar
tinmanchris
Rank 0
Rank 0
Posts: 3
Joined: November 6th, 2007, 1:35 pm

Re: Login problem, GuMax 3.3

Post by tinmanchris »

I have the same issue with the log in button. Here's some more info:

When I open Firefox to my Wiki site, the "Log In" link works just fine.
When I log out of a current session and want to log back in, the "Log In" link is incorrect.

I would show you, but my wiki is on a intranet. :roll:

Awesome job by the way!
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Login problem, GuMax 3.3

Post by Paul »

Try this updated GuMax.php. I tried on my wiki, it works. After you apply the update, please clear all your cache in your browser, let me know if it work.
Attachments
GuMax.zip
GuMax.php
(4.8 KiB) Downloaded 590 times
User avatar
gmack
Rank 2
Rank 2
Posts: 12
Joined: November 4th, 2007, 3:24 pm

Re: Login problem, GuMax 3.3

Post by gmack »

now i can login but it also, made things more strange. I'm getting th wrong lead text.
source html:
<!-- Special and Login menu -->
<div id="gumax-p-special">
<ul>
<li><a href="/mediawiki/index.php?title=Special:Userlogin&returnto=Main_Page">Log in / create account</a></li>

<li><a href="/mediawiki/index.php/Special:Specialpages">Special pages</a></li>
</ul>
</div>
i should not get "Log in / create account" when using "login", this should happen if i/you used "userlogin".

i tried to change this
<li><a href="<?php echo htmlspecialchars($this->data['personal_urls']['login']['href']) ?>"><?php
echo htmlspecialchars($this->data['personal_urls']['login']['text']) ?></a></li>
<?php } ?>
to this
<li><a href="<?php echo htmlspecialchars($this->data['personal_urls']['userlogin']['href']) ?>"><?php
echo htmlspecialchars($this->data['personal_urls']['userlogin']['text']) ?></a></li>
<?php } ?>
i get
<li><a href=""></a></li>
hope this help.
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Login problem, GuMax 3.3

Post by Paul »

The changes that you've made is wrong, the 'personal_urls' does not have index 'userlogin'.

I'm not sure if it is the problem is from your server configuration, since everything is working fine on my site and many other sites.
User avatar
gmack
Rank 2
Rank 2
Posts: 12
Joined: November 4th, 2007, 3:24 pm

Re: Login problem, GuMax 3.3

Post by gmack »

The problem is that iget Log in / create account" when using your latest "fix". shouldn't i get "Log in" ???

And my istallation is a i see it right out of "the box", i have installed xampp 1.6 .4 + mediawiki + your skin. (running windows XP pro.)
User avatar
cook
Rank 0
Rank 0
Posts: 2
Joined: November 9th, 2007, 8:08 am

Re: Login problem, GuMax 3.3

Post by cook »

Hi,

Was playing with the GuMax skin, very nice interface!
I had this login problem also.
I found the error in the GuMax.php file:

<!-- Login -->
line 151
<?php foreach(......) if(.....) {

There is an open bracket missing before the "if" and at the end of the login code block there should be a closing bracket near line 158.

I didn't review your update Paul so you probably already figured this out!!

Cheers,
cook
User avatar
cook
Rank 0
Rank 0
Posts: 2
Joined: November 9th, 2007, 8:08 am

Re: Login problem, GuMax 3.3

Post by cook »

ok, this wasn't it. i still have problems on the Main Page and now realize the controlling code is in the "special and login menu". sorry all!
Post Reply