PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
stevewalsh
New Member
New Member


Joined: May 06, 2004
Posts: 7

PostPosted: Thu May 06, 2004 7:34 am Reply with quote Back to top

Ok, I've been looking at this nearly non-stop for a few days, and I think I found the problem. Now, for those more in the know, please correct me if I'm wrong before you flame me, but this is what i understand happens when a new user is registered;

1: they enter their details on the forms and the email is sent
2: Their information, including their temp_user ID is then placed into the nuke_users_temp table
3: Once they have activated themselves, their user is moved from this table into the nuke_users table and they have an account.

I recently had the (what appears to be common) problem of new users not able to activate their accounts. They would get the email ok, everything was fine, but when they clicked on the link, I got the good ol' "No user exists" error.

I delved into my Nuke database and found I had no nuke_users_temp table. Oh woe is me!

I hunted around in the Nuke 7.0 SQL statement and found this
Quote:
CREATE TABLE nuke_users_temp (
user_id int(10) NOT NULL auto_increment,
username varchar(25) NOT NULL default '',
user_email varchar(255) NOT NULL default '',
user_password varchar(40) NOT NULL default '',
user_regdate varchar(20) NOT NULL default '',
check_num varchar(50) NOT NULL default '',
time varchar(14) NOT NULL default '',
PRIMARY KEY (user_id)
)


I fed that into phpMyAdmin and hey presto change-o! My users can now activate their accounts.

So, why should any one else care? What I would suggest to people whose users cannot register on the site is check to see if you have a nuke_users_temp table. If you don't have phpMyAdmin, then just backup your database and look at in notepad. search or grep for nuke_users_temp. If you can't find it, you will need to post the above SQL code into the end of your SQL file and then restore it. If you don't know how, PM me and I'll send you an email with instructions.

Now, if you do have a Nuke_users_temp table, see if the data is being written in there when a user is registering (again using either phpMyAdmin or backup database). If it isn't in there, then you at least know where to start looking. Hopefully an admin will sticky this or make it an announcement, as I think this may get a lot of 7.0+ users out of trouble (from what I've found in my trawls while trying to fix this)
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15062
Location: Kansas

PostPosted: Thu May 06, 2004 7:47 am Reply with quote Back to top

Thanks Steve. This has been covered elsewhere but not as thoroughly as you have done here. I have moved it to this forum and made it a sticky.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
n0thinG
New Member
New Member


Joined: Oct 25, 2005
Posts: 3
Location: kosova

PostPosted: Tue Oct 25, 2005 3:56 am Reply with quote Back to top

i have this problem .. usesrs can't activate their username's from link that they received when they register to my website ..
i checked for nuke_users_temp table and it's there i browsed it and users for waiting to activate are still there .. but they can't activate their account with username activate link ...
any help please ?/
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15062
Location: Kansas

PostPosted: Tue Oct 25, 2005 4:04 am Reply with quote Back to top

Have you verified the url? See
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
n0thinG
New Member
New Member


Joined: Oct 25, 2005
Posts: 3
Location: kosova

PostPosted: Tue Oct 25, 2005 4:21 am Reply with quote Back to top

Raven wrote:
Have you verified the url? See
Only registered users can see links on this board!
Get registered or login to the forums!

thnx a lot .. .this really helped

.. i have one more question if it's ok . and right place ...
i have few users that did not activate their accounts ... so how can i do that manualy by myself .. ??
View user's profile Send private message Visit poster's website
stevewalsh
New Member
New Member


Joined: May 06, 2004
Posts: 7

PostPosted: Tue Oct 25, 2005 7:53 am Reply with quote Back to top

Wow..I wasn't expecting this link to stay sticky for so long..

Basically, all I did was cut and paste their info from nuke_users_temp to new entries in nuke_users and they were fine. From memory, someone wrote a hack to move users from this table to the right one, but I can't remember it's name.

PM me if you need any help..
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15062
Location: Kansas

PostPosted: Tue Oct 25, 2005 8:21 am Reply with quote Back to top

n0thinG wrote:
Raven wrote:
Have you verified the url? See
Only registered users can see links on this board!
Get registered or login to the forums!

thnx a lot .. .this really helped

.. i have one more question if it's ok . and right place ...
i have few users that did not activate their accounts ... so how can i do that manualy by myself .. ??

You can d/l and install my Resend, Activate, or Delete Activation Emails - V2.0.2 script
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
n0thinG
New Member
New Member


Joined: Oct 25, 2005
Posts: 3
Location: kosova

PostPosted: Tue Oct 25, 2005 10:20 am Reply with quote Back to top

thanks a lot .. and this link should stay sticky . it's great

and you really helped me Wink
View user's profile Send private message Visit poster's website
dad7732
Worker
Worker


Joined: Mar 18, 2007
Posts: 224

PostPosted: Mon Apr 07, 2008 12:48 pm Reply with quote Back to top

All I get after clicking "Finish" is "registration error!" ... that's it, no message or error explanation.

EDIT: Sorry folks, case of posting before exploring ...

Found this in another thread here:

Code:
ALTER TABLE `?????_users_temp` ADD `requestor` VARCHAR( 25 ) NOT NULL;


Worked like a charm ... thanks .. more donation on the way!
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15062
Location: Kansas

PostPosted: Mon Apr 07, 2008 2:06 pm Reply with quote Back to top

Thanks for letting us know Wink
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum