Admin Log In Loop, PLEASE HELP!!!

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Admin Log In Loop, PLEASE HELP!!!
pavilion
CZ Newbie
pavilion has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: May 08, 2005
0.00 posts per day
Posts: 1
Points: 41
   
Ok im sure this has been complained about a lot but i just started using phpnuke, im using phpnuke 7.6 and when i installed it for my site i made the superuser account but it automatically changed the password! i uninstalled and reinstalled several times but it didnt work, so i went into phpMyadmin and dropped the author tables and i created a php file
<?php
require_once("mainfile.php");
if (!isset($prefix)) die('config.php not loaded properly.');
if (!isset($db)) die('database layer not loaded properly.');

$sql = "DELETE FROM " . $prefix . "_authors";
$result = $db->sql_query($sql);
if ($result) {
  echo "All administrator accounts has been removed.<br/>";
  echo "Now run admin.php to create new admin account.";
} else {
  echo "Unable to access to database.";
}
?>
using that code and now im stuck in a loop! im not all that great with scripting and i searched for about 5 hours through the material on this site but i couldnt find an answer, can someone give me an easy solution?


Back to top Reply with quote
#2   re: Admin Log In Loop, PLEASE HELP!!!
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.71 posts per day
Posts: 5530
Points: 481,695
   
admin loop can be a lot of things. Have you cleared your cache, cookies, etc.? Also, some of these threads might help you further
[ Register or login to view links on this board. ]
[ Register or login to view links on this board. ]
[ Register or login to view links on this board. ]



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum