Notice: Undefined variable: aid in admin.php on line 16

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Notice: Undefined variable: aid in admin.php on line 16
VIPER_JOSH_RULZ
CZ Newbie
VIPER_JOSH_RULZ has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Sep 06, 2004
0.00 posts per day
Posts: 7
Points: 2,070
   
i get this error everytime i try to access anything in the Administration panel.

Notice: Undefined variable: aid in C:\Program Files\Apache Group\Apache2\htdocs\nuke\admin.php on line 16

i have tried:
DROP TABLE IF EXISTS nuke_authors;
CREATE TABLE nuke_authors (
  aid varchar(25) NOT NULL default '',
  name varchar(50) default NULL,
  url varchar(255) NOT NULL default '',
  email varchar(255) NOT NULL default '',
  pwd varchar(40) default NULL,
  counter int(11) NOT NULL default '0',
  radminsuper tinyint(1) NOT NULL default '1',
  admlanguage varchar(30) NOT NULL default '',
  PRIMARY KEY  (aid),
  KEY aid (aid)
) TYPE=MyISAM;


but i still get the error and once logged into the admin panel. i click on a link and i go straight back to login to Admin screen (the error is up the top on every admin page)

can some1 please help me..
cheers,
Viper-Inc

lINE 15-20 of admin.php:

Line 15:   define('ADMIN_FILE', true);
Line 16:   if($aid AND (!isset($admin) OR empty($admin)) AND
              $op!='login') {
Line 17:   unset($aid);
Line 18:   unset($admin);
Line 19:   echo "Access denied";
Line 20:   die();



Back to top Reply with quote
#2   
Dauthus
CZ Addict
 Codezwiz Site Donator
Dauthus has been a member for over 20 year's 20 Year Member
usa.gif illinois.gif
Age: 60
Gender: Male
Website:
Status: Offline
Joined: Mar 17, 2004
0.06 posts per day
Posts: 426
Points: 15,917
   
See if the tutorial below helps:
[ Register or login to view links on this board. ]




_________________
[ Register or login to view links on this board.]
Vivere disce, cogita mori
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