|
» Online Users: 49 |
| 0 members and 49 guests |
| No Members online |
| Most users ever online was 611, 03-21-2008 at 11:10 PM. |
|
 |
|
Nukemods Forum
> PHP-Nuke 7.x
> Nuke 7.x - General
|
an error on the top admin.phpThis is a discussion on an error on the top admin.php within the Nuke 7.x - General forums, part of the PHP-Nuke 7.x category; hmm! i got a problem after i installed phpNuke v7.7. i saw a welcome message on the index page. but ... |
|
|
 |
|
|
|
|
Junior Member
Status: Offline
Posts: 23
Join Date: Apr 2005
Location: Phnom Penh, Cambodia.
|
an error on the top admin.php -
05-06-2005, 12:19 AM
hmm! i got a problem after i installed phpNuke v7.7. i saw a welcome message on the index page. but when i go to www.mysite.com/admin.php it has a following error on the top:
Notice: Undefined variable: aid in c:\program files\apache group\apache\htdocs\html\admin.php on line 16
Therefore, i cant do anything on Adminstrator Menu.
Please help! :cry:
|
|
|
|
|
|
|
|
Member
Status: Offline
Posts: 450
Join Date: Jul 2004
|
05-06-2005, 06:21 AM
Can you confirm the nuke version 7.7 doesnt make sence ? where did you get this version ?
Line 16 is not a file directive in either 7.6 7.5 or 7.6 Platinum, maybe your admin.php file is corrupt, try uploading this file again.
|
|
|
|
|
|
|
|
Junior Member
Status: Offline
Posts: 23
Join Date: Apr 2005
Location: Phnom Penh, Cambodia.
|
05-07-2005, 12:42 AM
Actually, i got phpnuke 7.7.0 from thise site codezwiz.com. hmm i tested it on my own PC again and again. But an error always appear on the top of admin.php, so i can not control it anymore.
i will upload it to try on my new hosting soon. then will give ya the link to see it. Are ya gnna help me out?
Thanks in advance.
|
|
|
|
|
|
|
|
Member
Status: Offline
Posts: 450
Join Date: Jul 2004
|
05-07-2005, 06:17 AM
Hmm seems to be a knockoff of Nuke Platinum.
Ok emm the "aid" refered to is in nuke_authors, try creating that field again, using the following sql text in phpmyadmin, that will reset your admin Username & Password so you'll need to set that up again.
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;
BTW just asking did you edit the sites key in config.php ?
|
|
|
|
|
|
|
|
Junior Member
Status: Offline
Posts: 23
Join Date: Apr 2005
Location: Phnom Penh, Cambodia.
|
05-08-2005, 07:52 AM
Marty: thanks so much. now my site is working. but one more question how to change passworld Super User?
|
|
|
|
|
|
|
|
Member
Status: Offline
Posts: 450
Join Date: Jul 2004
|
05-08-2005, 08:15 AM
Quote:
|
Originally Posted by web_design
now my site is working. but one more question how to change passworld Super User?
|
Emm iam not with you ?
Your the admin so that makes you the God user if you have added members & made them Super Users you can edit there passwords from your admin panel selecting "Edit Admins" you can change your own details (God) there aswell.
Is that what your asking ?
Note ! I always post this lol, Dont use spaces between words, if you must use spaces between words, use the underscore symbol. ie : my_username
|
|
|
|
|
|
|
|
Junior Member
Status: Offline
Posts: 23
Join Date: Apr 2005
Location: Phnom Penh, Cambodia.
|
05-09-2005, 04:41 AM
Marty, i have followed ya guide, atfer i go to Edit Admintrator and edit the pass and e-mail. i lose my password, so i cant loggin Admin anymore. Plz! help i just PM ya bro.
|
|
|
|
|
|
|
|
Member
Status: Offline
Posts: 450
Join Date: Jul 2004
|
05-09-2005, 05:05 AM
Run the above sql text again, set your username & password again. This is your God username & password it gives you access to admin.php over all members you set up as Super Users. Why are you trying to edit this God username & password ?
I dont understand what your trying to do, Iam under the impression that your site is new and doesnt have any members yet. Please correct me if iam wrong.
If you don't have any members run this instead.
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;
DROP TABLE IF EXISTS nuke_users;
CREATE TABLE nuke_users (
user_id int(11) NOT NULL auto_increment,
name varchar(60) NOT NULL default '',
username varchar(25) NOT NULL default '',
user_email varchar(255) NOT NULL default '',
femail varchar(255) NOT NULL default '',
user_website varchar(255) NOT NULL default '',
user_avatar varchar(255) NOT NULL default '',
user_regdate varchar(20) NOT NULL default '',
user_icq varchar(15) default NULL,
user_occ varchar(100) default NULL,
user_from varchar(100) default NULL,
user_interests varchar(150) NOT NULL default '',
user_sig varchar(255) default NULL,
user_viewemail tinyint(2) default NULL,
user_theme int(3) default NULL,
user_aim varchar(18) default NULL,
user_yim varchar(25) default NULL,
user_msnm varchar(25) default NULL,
user_password varchar(40) NOT NULL default '',
storynum tinyint(4) NOT NULL default '10',
umode varchar(10) NOT NULL default '',
uorder tinyint(1) NOT NULL default '0',
thold tinyint(1) NOT NULL default '0',
noscore tinyint(1) NOT NULL default '0',
bio tinytext NOT NULL,
ublockon tinyint(1) NOT NULL default '0',
ublock tinytext NOT NULL,
theme varchar(255) NOT NULL default '',
commentmax int(11) NOT NULL default '4096',
counter int(11) NOT NULL default '0',
newsletter int(1) NOT NULL default '0',
user_posts int(10) NOT NULL default '0',
user_attachsig int(2) NOT NULL default '0',
user_rank int(10) NOT NULL default '0',
user_level int(10) NOT NULL default '1',
broadcast tinyint(1) NOT NULL default '1',
popmeson tinyint(1) NOT NULL default '0',
user_active tinyint(1) default '1',
user_session_time int(11) NOT NULL default '0',
user_session_page smallint(5) NOT NULL default '0',
user_lastvisit int(11) NOT NULL default '0',
user_timezone tinyint(4) NOT NULL default '10',
user_style tinyint(4) default NULL,
user_lang varchar(255) NOT NULL default 'english',
user_dateformat varchar(14) NOT NULL default 'D M d, Y g:i a',
user_new_privmsg smallint(5) unsigned NOT NULL default '0',
user_unread_privmsg smallint(5) unsigned NOT NULL default '0',
user_last_privmsg int(11) NOT NULL default '0',
user_emailtime int(11) default NULL,
user_allowhtml tinyint(1) default '1',
user_allowbbcode tinyint(1) default '1',
user_allowsmile tinyint(1) default '1',
user_allowavatar tinyint(1) NOT NULL default '1',
user_allow_pm tinyint(1) NOT NULL default '1',
user_allow_viewonline tinyint(1) NOT NULL default '1',
user_notify tinyint(1) NOT NULL default '0',
user_notify_pm tinyint(1) NOT NULL default '0',
user_popup_pm tinyint(1) NOT NULL default '0',
user_avatar_type tinyint(4) NOT NULL default '3',
user_sig_bbcode_uid varchar(10) default NULL,
user_actkey varchar(32) default NULL,
user_newpasswd varchar(32) default NULL,
points int(10) default '0',
last_ip varchar(15) NOT NULL default '0',
karma tinyint(1) default '0',
PRIMARY KEY (user_id),
KEY uid (user_id),
KEY uname (username),
KEY user_session_time (user_session_time),
KEY karma (karma)
) TYPE=MyISAM;
|
|
|
|
 |
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|