Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 88
3 members and 85 guests
celedxebritwb9b, lowsad4erback5s, pai5drdnters6sa
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
» .:.

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

Reply
 
LinkBack Thread Tools Display Modes
Users Cannot register and Cannot create Admins
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 22
Join Date: Jul 2004
Users Cannot register and Cannot create Admins - 07-19-2004, 09:44 AM

Users cannot register! The activation email is sent, but the error shows that the user does not exist in database.

I cannot also create the admins from EDit ADMINS in Administrator section. It just shows a blank page and the admins are also not added.

Kindly help. You can visit my site at http://www.pottersrealm.tk to see the problem for yourself.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Moderator
 
Status: Offline
Posts: 957
Join Date: Nov 2002
Location: Belgium
07-19-2004, 09:51 AM

users CAN register, proof is my registration
about the error for adding admins, compare your nuke_authors db against a nuke-authors delivered with a fresh isntallation of nuke, if there are more/less fielsd in your table then that's the cause of the error.
There aret wo fixes then:
- Make the tables match
or
- Adjust the authors.php so that it sees the new rows in the table


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
  (#3 (permalink))
Moderator
 
Status: Offline
Posts: 957
Join Date: Nov 2002
Location: Belgium
07-19-2004, 09:53 AM

I noticed something, users can't login when they use your tk address but they can when they use the IP address


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
  (#4 (permalink))
Junior Member
 
Status: Offline
Posts: 22
Join Date: Jul 2004
07-19-2004, 07:57 PM

Oh Oh! That is a problem, but I just dont understand about the admins. Here is a small code from the DB backup of my site. Is there something wrong?

Quote:
CREATE TABLE nuke_authors (
aid varchar(25) NOT NULL,
name varchar(50),
url varchar(255) NOT NULL,
email varchar(255) NOT NULL,
pwd varchar(40),
counter int(11) DEFAULT '0' NOT NULL,
radminarticle tinyint(2) DEFAULT '0' NOT NULL,
radmintopic tinyint(2) DEFAULT '0' NOT NULL,
radminuser tinyint(2) DEFAULT '0' NOT NULL,
radminsurvey tinyint(2) DEFAULT '0' NOT NULL,
radminsection tinyint(2) DEFAULT '0' NOT NULL,
radminlink tinyint(2) DEFAULT '0' NOT NULL,
radminephem tinyint(2) DEFAULT '0' NOT NULL,
radminfaq tinyint(2) DEFAULT '0' NOT NULL,
radmindownload tinyint(2) DEFAULT '0' NOT NULL,
radminreviews tinyint(2) DEFAULT '0' NOT NULL,
radminnewsletter tinyint(2) DEFAULT '0' NOT NULL,
radminforum tinyint(2) DEFAULT '0' NOT NULL,
radmincontent tinyint(2) DEFAULT '0' NOT NULL,
radminency tinyint(2) DEFAULT '0' NOT NULL,
radminNewsflashAdmin tinyint(2) DEFAULT '0' NOT NULL,
radminsuper tinyint(2) DEFAULT '1' NOT NULL,
admlanguage varchar(30) NOT NULL,
PRIMARY KEY (aid),
KEY aid (aid)
);
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#5 (permalink))
Moderator
 
Status: Offline
Posts: 957
Join Date: Nov 2002
Location: Belgium
07-20-2004, 02:54 AM

Code:
radminNewsflashAdmin tinyint(2) DEFAULT '0' NOT NULL,
that row isn't there by default and this causes problems in your files, remove that field out of your db and creating admins should work


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
  (#6 (permalink))
Junior Member
 
Status: Offline
Posts: 22
Join Date: Jul 2004
07-20-2004, 08:17 AM

I deleted that line from the DB, though the create admins is working, the newsflash block cannot be administered. So the main problem is that line. Could you please correct this problem for me? I am having no knowledge of this. So I turn to you. I would be highly obliged.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#7 (permalink))
Moderator
 
Status: Offline
Posts: 957
Join Date: Nov 2002
Location: Belgium
07-20-2004, 11:12 AM

Put back the line, and post your admin/modules/author.php
I'll modify it so there will be no more problems


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
  (#8 (permalink))
Junior Member
 
Status: Offline
Posts: 22
Join Date: Jul 2004
07-20-2004, 12:14 PM

Here is my authors.php : And thank you!

edit Mighty_Y:
removed the code, for as long as the original poster didn't tell me that my new file worked his original code is available here => http://users.skynet.be/fa091229/image/authors.php (save target as)
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#9 (permalink))
Moderator
 
Status: Offline
Posts: 957
Join Date: Nov 2002
Location: Belgium
07-20-2004, 12:55 PM

working on it


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
  (#10 (permalink))
Moderator
 
Status: Offline
Posts: 957
Join Date: Nov 2002
Location: Belgium
07-20-2004, 01:01 PM

http://users.skynet.be/fa091229/authors.php (Save target as..., best way to download it )

Makes sure you have inserted the row again at the same place otherwise this file isn't going to help much either


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
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
Admins can log in, nobody else can rickdrew Nuke 7.x - General 3 01-30-2006 07:22 AM
Getting admins evilsmiley Nuke 7.x - General 9 10-25-2004 06:16 PM
Everyone Registering Are Admins. DyNaMiX Purged Topics 0 06-20-2003 09:07 AM
Error gallery 1.3.3 with register users PosSeidDo Nuke 6.5 to 6.9 - Modules 5 04-12-2003 10:18 AM
How to: Make it so that admins can load avatars for users IACOJ Purged Topics 4 02-02-2003 05:06 PM




vBulletin Skin developed by: vBStyles.com


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