Re: [Phpip-support] Problems logging in
Brought to you by:
trilexcom
|
From: Rob D. <dur...@ya...> - 2003-11-07 16:51:46
|
OK made some progress with debugging
In the results.php
$username and $passwd are never set so the login check
never runs. I've added these to the
$username = $_POST["username"];
$passwd = $_POST["passwd"];
just above
if ($username && $passwd)
// they have just tried logging in
{
(sorry need to learn diff someday)
That get's me into the login function in
user_auth_fns.php
as long as you set username and password this runs
problem is the results return.
$result get set to
"Resource id #1"
which pass the !$result check, but fails the $result
>0 check.
Any suggestions on how to fix this?
BTW I'm running PHP Version 4.2.2
--- Rob Duran <dur...@ya...> wrote:
> michael,
>
> I've got phpip installed and the database up and
> running, but authentication continues to fail. I get
> the standard:
> WARNING... You do not appear to be logged on.
> This could be due to your Session timing out.
> Please enter your User ID and Password.
> I've got a debug lib I've been using and when I go
> from the index.php post to results.php I don't get a
> $username. seems a bit odd.
>
> Rob
>
>
>
-------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback
> Program.
> Does SourceForge.net help you be more productive?
> Does it
> help you create better code? SHARE THE LOVE, and
> help us help
> YOU! Click Here: http://sourceforge.net/donate/
> _______________________________________________
> Phpip-support mailing list
> Php...@li...
>
https://lists.sourceforge.net/lists/listinfo/phpip-support
|