Affiliate split pay pro script - Can't login to admin control panel

Discussion in 'PHP' started by Lydie, Feb 17, 2008.

  1. #1
    Hi !

    I installed AFFILIATE SPLIT PAY PRO script on my website but now I can't login. Everything seem correct but maybe I forget something.

    Does someone have met the same problem?

    Thank

    Lydie
     
    Lydie, Feb 17, 2008 IP
  2. James.Blant

    James.Blant Active Member

    Messages:
    250
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #2
    hmmm ...i think you can change login info in MySQL database manually .
     
    James.Blant, Feb 17, 2008 IP
  3. Lydie

    Lydie Peon

    Messages:
    66
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi!

    I do it mannualy but it still not working. I try MD5 too and admin login page still refresh.
     
    Lydie, Feb 18, 2008 IP
  4. James.Blant

    James.Blant Active Member

    Messages:
    250
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #4
    hmmm ...did you hashed password and login both ?
     
    James.Blant, Feb 18, 2008 IP
  5. Lydie

    Lydie Peon

    Messages:
    66
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Lydie, Feb 18, 2008 IP
  6. Lydie

    Lydie Peon

    Messages:
    66
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    this is my login.php file


    <?
    require "../includes/admin/connect.php";
    require "../includes/admin/variables.php";
    ?>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
    <HTML>
    <HEAD>
    <TITLE><?=$progname?> Admin</TITLE>
    <style type="text/css">
    body {
    background-image: url(<?=$path?>admin/images/bg2.gif);
    background-image: repeat;
    font-family : Verdana,Lucida,sans-serif;
    }
    body,tr,td {
    font-size : 85%;
    }
    a {
    color : #336699;
    text-decoration : none;
    }
    a:hover {
    text-decoration : underline;
    font-weight: bold;
    }
    TD{
    font-family: "verdana";
    font-size: "12px";
    text-align: left;
    font-weight: normal;
    }
    </style>
    </head>
    <BODY LEFTMARGIN=0 TOPMARGIN=10 MARGINWIDTH=0 MARGINHEIGHT=10 BGPROPERTIES=FIXED>
    <CENTER><TABLE width=686 border=2 bordercolor=#000855 cellpadding=5 cellspacing=0 bgcolor=#ffffff>
    <TR>
    	<TD><IMG SRC="<?=$path?>admin/images/header.gif" WIDTH=700 HEIGHT=100 BORDER=0  ALT=""></TD>
    </TR>
    <TR>
    	<TD><CENTER><form name="login" action="<? echo ($PHP_SELF); ?>" method="POST">
    <TABLE width=50%>
    <TR>
    	<TD width=15%>Email</TD>
    	<TD width=85%><input type="text" name="uid" size="30"/></TD>
    </TR>
    <TR>
    	<TD>Password</TD>
    	<TD><input type="password" name="pwd" size="30"/></TD>
    </TR>
    <TR>
    	<TD colspan=2><CENTER><input type="hidden" name="page" value="0"/><input style="background: #6699CC; color: #FFFFFF; border-width: 1; border-color: #8DDAD9;" class="pushbutton" type="submit" name="submit" value="Admin Login" title="Admin Login"/></TD>
    </TR>
    </TABLE></form></CENTER><CENTER><form name="reminder" action="reminder.php" method="POST"><TABLE width=50%><TR>	<TD colspan=2><CENTER><input type="text" name="email" size="30"/><br><input style="background: #6699CC; color: #FFFFFF; border-width: 1; border-color: #8DDAD9;" class="pushbutton" type="submit" name="submit" value="Forgot Password" title="Forgot Password Click Here"/></CENTER></form></TD></TR></TABLE></form></CENTER></TD>
    </TR>
    <TR>
    	<TD><IMG SRC="<?=$path?>admin/images/footer.gif" WIDTH=700 HEIGHT=35 BORDER=0  ALT=""></TD>
    </TR>
    </TABLE>
    </CENTER></BODY></HTML>
    PHP:
    is it wrong?

    Lydie
     
    Lydie, Feb 18, 2008 IP
  7. James.Blant

    James.Blant Active Member

    Messages:
    250
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #7
    your login form post variables to login.php again and i can't see any code to check authentication !did you write this codes yourself ?

    what is content of 2 php file(s) included ?
     
    James.Blant, Feb 19, 2008 IP
  8. Lydie

    Lydie Peon

    Messages:
    66
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Hi!

    I found the error. It was a problem of path

    Thanks

    Lydie
     
    Lydie, Feb 20, 2008 IP