News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

WAP login

Started by Karmalakas, March 29, 2005, 12:58:48 AM

Previous topic - Next topic

Karmalakas

I've searched but couldn't find nothing

When i go to WAP login and after entering Username and Password and then pressing "Login" I get this:
QuoteFatal error: Call to undefined function: mosgetparam() in /home/mobiles/domains/mobiles.lt/public_html/forum/Sources/MOS_SMF.php on line 40

and line 40 in MOS_SMF.php is:     $usercookie = mosGetParam( $_COOKIE, 'usercookie', '' );

any ideas?
it's just in WAP, and in WWW it's all OK

Goosemoose

As far as I can tell you still have to use the non mambo version when accessing the forum via wap. That's the only way I've been able to get it to work.

Karmalakas

but it is non mambo version while loging in
forum page is http://www.mobiles.lt/forum/index.php?;wap2
Login page: http://www.mobiles.lt/forum/index.php?action=login;wap2

But when i press login, it's http://www.mobiles.lt/forum/index.php?action=mambo_login;wap2

So where from this mambo_login comes out?
It was ok until i instaled tne newer version of the bridge

hmm... I didn't notice that mambo_login
thanx goosemoose ;)

Karmalakas

#3
Actualy now it doesn't show errors but it doesn't log me in, it just brings to board index
And when you're loged in (using opera) it doesn't log you out

Now i'm loged in and logout button has this link: http://www.mobiles.lt/forum/index.php?action=logout;sesc=....;wap2
But when i press" logout it redirects to http://www.mobiles.lt/forum/index.php?action=mambo_logout;wap2 and brings me to board index without logging me out :(

Anyone? :'(

[Unknown]

I would guess there are significant conflicts here.  I assume it works fine without the bridge?

-[Unknown]

Karmalakas

How can i test it without the bridge?
I don't want to disable it.
And the links mentioned above aren't through bridge. It's all in WAP.

I've noticed that if in  forum/Sources/LogInOut.php
// Log the user out.
function Logout()
{
global $db_prefix, $sourcedir, $ID_MEMBER, $context;
      redirectexit('action=mambo_logout');

i change that one line to redirectexit('action=logout');
then it tries to log me out but it always Sends Receives request and it doesn't stop

Karmalakas

#6
Hmmm...

I've managed to fix Loging out but now when logging in I get the same error as I wrote in 1st msg of this thread :'(

I get this error when i leave forum/index.php 'mambo_login' => array('MOS_SMF.php', 'MOS_Login'),not commented
but if i comment this line (add "//" in front) then it just doesn't log me in and brings to board index

in WWW it's ok in both ways but WAP...... hrrrr

Advertisement: