?admin is b0rked...
Brought to you by:
osqdb
the login panel was borked... couldn't login... after
spending some great deal of time combing the code ive
found the problem within an include file.
\includes\para.inc.php
line 98 currently reads:
else if(isset($admin)) {
but it should read:
else if(isset($_GET['admin'])) {
a simple coding error if one is going too quickly...
hope this helps everyone out a bit :)
(this erorr is specific to osqdb-v0.1.alpha as far as i
can tell)
Logged In: YES
user_id=996000
i got hastey in this fix... it seems to show the form if i
do this, but nothing further, upon deeper look into the code
im finding some possible problems with the sessions include
file.
is this right?
if(isset($pwd2)){ $pwd=md5($pwd2); }
if(!isset($uid)) { $loggedin = false; }
should it not read
if(isset($_POST['pwd2'])){ $pwd=md5($_POST['pwd2']); }
if(!isset($_POST['uid'])) { $loggedin = false; }
need advise from original coding team, im willing to help
with repairs but this seems confusing to me. not sure of the
coding style that is being used.
Logged In: YES
user_id=1680180
Originator: NO
this is how i did it..
$uid = $_POST['uid'];
$pwd2 = $_POST['pwd2'];
$pwd=md5($pwd2);
and it works... well not 100% because i have to input my login credentials twice so it logs you in but i think thats another story.