» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 44
0 members and 44 guests
No Members online
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Football Betting - best nfl betting promotions at sportsbook.com.
Oral Chelation - initial cleansing of your veins & arteries
Portatiles - Ofertas en Ordenadores y Portatiles. Increibles Ofertas DELL.

Register Now! Contact Us

About this Page
This is a discussion on Notice: Undefined variable: aid in admin.php on line 16 within the Nuke 7.x - General forums, part of the PHP-Nuke 7.x category; i get this error everytime i try to access anything in the Administration panel. Notice: Undefined variable: aid in C:\...



Go Back   Nukemods Forum » PHP-Nuke 7.x » Nuke 7.x - General

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-20-2005, 12:23 AM
Junior Member
 
Join Date: Aug 2004
Posts: 2
Notice: Undefined variable: aid in admin.php on line 16
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:
Code:
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:
Code:
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();
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-20-2005, 05:14 AM
Junior Member
 
Join Date: Apr 2005
Location: Phnom Penh, Cambodia.
Posts: 23
Send a message via Yahoo to web_design
Congratulation! ya got the same problem like me. i got an error on line 16 at admin.php on my own PC too.

Hope ya got a solution and me too. :wink:
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-20-2005, 08:49 AM
Junior Member
 
Join Date: Aug 2004
Posts: 2
well obviously i don't have a solution otherwise i wouldn't have posted that last message, lol
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-20-2005, 01:40 PM
Moderator
 
Join Date: Nov 2002
Location: Belgium
Posts: 957
help me out here: what version of phpnuke are you running?? Have you installed ChatServ's patches (3.0b is the latest, I believe)??
I'll check if I can find something
__________________
Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 05-21-2005, 11:10 PM
Junior Member
 
Join Date: Apr 2003
Posts: 60
See if this helps:

http://www.humpa.com/HelpMeHumpa/index.php?humpa_id=2
__________________
http://www.bootleghollow.com/images/sig1.gif
Vivere disce, cogita mori
Molon Labe!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 05-23-2005, 01:42 PM
Member
 
Join Date: Jul 2004
Posts: 450
Re: Notice: Undefined variable: aid in admin.php on line 16
Originally Posted by VIPER_JOSH_RULZ
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:
Code:
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:
Code:
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();
Run the code again, but this time before you enter a new Admin username & password clear your browsers cookies.
__________________
What is Pay Per Play ?
ADVERTISING has commenced!!! We have launched!!!!!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change subBlack from variable to fixed width? getphased Site design 2 03-05-2006 04:52 PM
iCGstation: Call to undefined function: public_message() in medicnicks Nuke 7.x - Themes 2 09-06-2005 01:47 AM
undefined variable problem SeeYa Nuke 7.x - General 17 05-28-2005 06:04 AM
Call to undefined function: opentable() in mainfile.php Voodoo Nuke 7.x - General 1 10-05-2004 02:23 AM
Fatal error: Call to undefined function: themeheader() ..... sweetquads Open topics 2 07-08-2003 03:08 PM


All times are GMT -5. The time now is 03:32 AM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31