You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 150 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - User disappears from db after activation in PHP-Nuke [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
mocho
Nuke Cadet
Nuke Cadet


Joined: Feb 12, 2007
Posts: 3


PostPosted: Mon Feb 12, 2007 12:16 pm Reply with quoteBack to top

hi
I have a problem with users registration.
they register, recieve confirmation email, user click link, nuke says account its activated, but after cant login.

I can see when user register that he is stored in nuke_users_temp table, but when user click on confirmation link he disapears from database.

Cant find any help on this.
qhen i imported .sql tables from original 8.0 file the only thing i changed was deleting all cities not from my country.
My comercial web hoster uses a windows server and register globals is off.
I get this message from phpmyadmin in nuke_users
Code:

PRIMARY and INDEX keys should not both be set for column `user_id`

can it be one of this reasons or can I somehow debug the error


regards
Find all posts by mochoView user's profileSend private message
arnoldkrg
Major
Major


Joined: Aug 03, 2003
Posts: 936

Location: United Kingdom

PostPosted: Tue Feb 13, 2007 11:51 am Reply with quoteBack to top

This may be the bio and ublock problem experienced on MySQL 5.x database servers. Try editing the attributes of the bio field in the nuke_users table of your database. Change the NULL field from NOT NULL to NULL also give the ublock field a default value of 0.

_________________
Image
Find all posts by arnoldkrgView user's profileSend private messageSend e-mailVisit poster's website
mocho
Nuke Cadet
Nuke Cadet


Joined: Feb 12, 2007
Posts: 3


PostPosted: Tue Feb 13, 2007 2:18 pm Reply with quoteBack to top

Already made the change in bio field and didnt solve the problem.
in ublock i cant hust assign directly a 0 value to default

Code:

Mensagens do MySQL : Documentação
#1101 - BLOB/TEXT column 'ublock' can't have a default value


I gess its because its a text column

If I change Type to "Tinyint" size/value to 1 and default to 0 I get

Code:

Mensagens do MySQL : Documentação
#1366 - Incorrect integer value: '' for column 'ublock' at row 1


I dont want to mess to much trying to gess.
could you please be more precise?

_________________
Ericeira Surf Clube
http://ericeirasurfclube.com
Find all posts by mochoView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12397


PostPosted: Wed Feb 14, 2007 4:07 pm Reply with quoteBack to top

As I can't post the code on this forum, I posted it on my own:

For a solution
http://evaders.swrebellion.com/forums/postp309.html#309

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
arnoldkrg
Major
Major


Joined: Aug 03, 2003
Posts: 936

Location: United Kingdom

PostPosted: Thu Feb 15, 2007 5:43 am Reply with quoteBack to top

My apologies for the error. I didnt see that the ublock field was of type tinytext (See I am human after all Embarassed ).

Evaders script works fine. Or you could use phpMyAdmin to change the NULL attribute of the ublock field from NOT NULL to NULL. You should also remove the default 0 for that field if it was added.

_________________
Image
Find all posts by arnoldkrgView user's profileSend private messageSend e-mailVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.205 Seconds - 132 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::