Go Back   Novahq.net Forum > Computers > Tech Support
FAQ Community Calendar Today's Posts Search

Tech Support Have a problem? Maybe we can help!

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old Yesterday, 04:53 AM
Coopwarriors is online now Coopwarriors
Coopwarriors's Avatar
Registered User

Join Date: Mar 2003
Posts: 262

Send a message via ICQ to Coopwarriors Send a message via AIM to Coopwarriors Send a message via Yahoo to Coopwarriors
eek babstats admin

Hi all. I have a problem with my babstats, I can no longer log in as an admin, anyone give me a hint as to what I should do and where I should look?
__________________
Reply With Quote
  #2  
Old Yesterday, 12:53 PM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,927

You should be able to change the login username and password in the config.php file?
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
  #3  
Old Today, 05:03 AM
Coopwarriors is online now Coopwarriors
Coopwarriors's Avatar
Registered User

Join Date: Mar 2003
Posts: 262

Send a message via ICQ to Coopwarriors Send a message via AIM to Coopwarriors Send a message via Yahoo to Coopwarriors
Hi Scott is this what i need

if(!empty($_POST['Login'])) {

$tempName = (!empty($_POST['adminName']) ? $_POST['adminName'] : "");
$tempPass = (!empty($_POST['adminPass']) ? sha1($joSalt.$_POST['adminPass'].$joSalt) : "");

if($tempName == $joName && $tempPass == $joPass) {

$_SESSION['Token']=$joPass;
header("location: ./admin.php");
exit;
__________________

Last edited by Coopwarriors; Today at 06:13 AM.
Reply With Quote
  #4  
Old Today, 08:19 AM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,927

No,

You edit the config.php file and these 2 lines:

$joName = ""; // Admin name
$joPass = ""; // Admin pass
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
  #5  
Old Today, 09:16 AM
Coopwarriors is online now Coopwarriors
Coopwarriors's Avatar
Registered User

Join Date: Mar 2003
Posts: 262

Send a message via ICQ to Coopwarriors Send a message via AIM to Coopwarriors Send a message via Yahoo to Coopwarriors
ok i have change the login username and password but still cant login
__________________
Reply With Quote
  #6  
Old Today, 10:51 AM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,927

Where you able to login previously? Seems odd it would just stop working unless you were typing the info wrong. Can PM me the FTP info and url to the stats and I can take a quick look.
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
  #7  
Old Today, 11:43 AM
Coopwarriors is online now Coopwarriors
Coopwarriors's Avatar
Registered User

Join Date: Mar 2003
Posts: 262

Send a message via ICQ to Coopwarriors Send a message via AIM to Coopwarriors Send a message via Yahoo to Coopwarriors
it would just stop working
__________________
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 2 (1 members and 1 guests)
Coopwarriors

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 11:45 AM.




Powered by vBulletin®