Bug in /includes/pnUser.php
"Oliver Gading" <[email protected]> Fri, 13 Sep 2002 13:42:43 +0200
| Newsgroups | gmane.comp.web.envolution.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi
i started with Envolution one week ago (used PHPNuke and Postnuke before
over a year) and now it's my first time ever playing around with XMLRPC.
xmlrpc module (server) seems to work properly when using a standalone
xmlrpc-client test application programmed with php.
But when i try to login with a blogger client application like w.bloggar,
Envolution (xmlrpc module) rejects during authentication.
After some debugging i found a problem in function pnUserLogIn() in
/includes/pnUser.php
This function returns FALSE even if the user has logged in already.
I fixed this with putting a 'return true' in the last line of the function:
return true;
}
+ return true;
}
Now the blogger client app (in my case w.blogga) works properly. I am able
to post and edit News (blogs) over xmlrpc module with ease. :)
BTW: In dot8 tree of Postnuke they changed a lot in pnUserLogIn(), but now
it returns TRUE too.
Actually i don't need w.blogga but i want to try to implement an application
which synchronizes two book databases across the internet using XMLRPC. With
using w.blogga I just wanted i quick overview of what is possible with
XMLRPC.
Greetings from Bremen, Germany
Oliver