Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 31
0 members and 31 guests
No Members online
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
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
The Lyric Archive
Dining Room Furniture

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

Reply
 
LinkBack Thread Tools Display Modes
Notice: Undefined variable: aid in admin.php on line 16
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 2
Join Date: Aug 2004
Notice: Undefined variable: aid in admin.php on line 16 - 05-20-2005, 01:23 AM

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
Old
  (#2 (permalink))
Junior Member
 
Status: Offline
Posts: 23
Join Date: Apr 2005
Location: Phnom Penh, Cambodia.
05-20-2005, 06:14 AM

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:
  Send a message via Yahoo to web_design  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
Junior Member
 
Status: Offline
Posts: 2
Join Date: Aug 2004
05-20-2005, 09:49 AM

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
Old
  (#4 (permalink))
Moderator
 
Status: Offline
Posts: 957
Join Date: Nov 2002
Location: Belgium
05-20-2005, 02:40 PM

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
Old
  (#5 (permalink))
Junior Member
 
Status: Offline
Posts: 60
Join Date: Apr 2003
05-22-2005, 12:10 AM

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
Re: Notice: Undefined variable: aid in admin.php on line 16
Old
  (#6 (permalink))
Member
 
Status: Offline
Posts: 450
Join Date: Jul 2004
Re: Notice: Undefined variable: aid in admin.php on line 16 - 05-23-2005, 02:42 PM

Quote:
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 05:52 PM
iCGstation: Call to undefined function: public_message() in medicnicks Nuke 7.x - Themes 2 09-06-2005 02:47 AM
undefined variable problem SeeYa Nuke 7.x - General 17 05-28-2005 07:04 AM
Call to undefined function: opentable() in mainfile.php Voodoo Nuke 7.x - General 1 10-05-2004 03:23 AM
Fatal error: Call to undefined function: themeheader() ..... sweetquads Open topics 2 07-08-2003 04:08 PM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.2.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