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, 71 guest(s) and 5 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Beta 6 New User/Login Problems - FIXED [ ]
 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
Phred
Nuke Soldier
Nuke Soldier


Joined: Jan 26, 2003
Posts: 28

Location: USA

PostPosted: Sun Jan 26, 2003 11:23 am Reply with quoteBack to top

On my own site recent d/load of 6.5 Beta 6 ...

1) Unable to register new user. Messages received ...

Registration Error!

ERROR: Email address already registered

and

Registration Error!

ERROR: Email address invalid

2) Unable to login existing user

message: table users_bbconfig non existent.

---------------------------------------------------

I had the same problem on sci-fi.com as (1), could not regsiter
new user - email address already exists

The rest is just great!
Find all posts by PhredView user's profileSend private message
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Sun Jan 26, 2003 11:42 am Reply with quoteBack to top

I'm on it. Thanks, woudln't have noticed otherwise

ArtificialIntel
Find all posts by ArtificialIntelView user's profileSend private message
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Sun Jan 26, 2003 11:51 am Reply with quoteBack to top

Here's the fix, open /modules/Your_Account/index.php

look for function docookie(bla bla bla)
change this:
Code:
function docookie($setuid, $setusername, $setpass, $setstorynum, $setumode, $setuorder, $setthold, $setnoscore, $setublockon, $settheme, $setcommentmax) {
    $info = base64_encode("$setuid:$setusername:$setpass:$setstorynum:$setumode:$setuorder:$setthold:$setnoscore:$setublockon:$settheme:$setcommentmax");
    setcookie("user","$info",time()+2592000);
}
to this
Code:
function docookie($setuser_id, $setusername, $setpass, $setstorynum, $setumode, $setuorder, $setthold, $setnoscore, $setublockon, $settheme, $setcommentmax) {
    $info = base64_encode("$setuser_id:$setusername:$setpass:$setstorynum:$setumode:$setuorder:$setthold:$setnoscore:$setublockon:$settheme:$setcommentmax");
    setcookie("user","$info",time()+2592000);
}


ArtificialIntel
Find all posts by ArtificialIntelView user's profileSend private message
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Sun Jan 26, 2003 12:07 pm Reply with quoteBack to top

as for the new user bug, I found the fix on phpnuke.org.

in the same file, on line 79 change
Code:
userCheck($username, $email);
to
Code:
userCheck($username, $user_email);


ArtificialIntel
Find all posts by ArtificialIntelView user's profileSend private message
Phred
Nuke Soldier
Nuke Soldier


Joined: Jan 26, 2003
Posts: 28

Location: USA

PostPosted: Sun Jan 26, 2003 12:14 pm Reply with quoteBack to top

Damn! Didn't make a difference. Now I note that I can't login back the super Admin set up at start.

Login Incorrect! Please Try Again...

I'll restart this from scratch again, but thought I'd let u know. THX
Find all posts by PhredView user's profileSend private message
Phred
Nuke Soldier
Nuke Soldier


Joined: Jan 26, 2003
Posts: 28

Location: USA

PostPosted: Sun Jan 26, 2003 12:38 pm Reply with quoteBack to top

ArtificialIntel wrote:
as for the new user bug, I found the fix on phpnuke.org.

in the same file, on line 79 change
Code:
userCheck($username, $email);
to
Code:
userCheck($username, $user_email);


ArtificialIntel


This one DID fix the new user registration problem but I still can't login with the info sent in the email

Login Incorrect! Please Try Again...

Despite getting the reg email I do not see a new entry in the nuke_users table. But I didn't get any MySQL, ... err messages. Just the anon user in there.

Where would the "Admin" be stored a s a user?
Find all posts by PhredView user's profileSend private message
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Sun Jan 26, 2003 2:09 pm Reply with quoteBack to top

Admin is stored in nuke_authors.

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Sun Jan 26, 2003 8:58 pm Reply with quoteBack to top

Code:


Last edited by chatserv on Mon Sep 13, 2004 1:49 pm; edited 1 time in total
Find all posts by chatservView user's profileSend private messageVisit poster's website
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Mon Jan 27, 2003 1:08 am Reply with quoteBack to top

possibly. my original fix works fine on my site though.

ArtificialIntel
Find all posts by ArtificialIntelView user's profileSend private message
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Mon Jan 27, 2003 1:14 am Reply with quoteBack to top

well ur suggestion doesn't stop my original fix from working, so I'll go with it Smile

Just to confirm, the docookie function should look like this:
Code:
function docookie($setuser_id, $setusername, $setuser_pass, $setstorynum, $setumode, $setuorder, $setthold, $setnoscore, $setublockon, $settheme, $setcommentmax) {
    $info = base64_encode("$setuser_id:$setusername:$setuser_pass:$setstorynum:$setumode:$setuorder:$setthold:$setnoscore:$setublockon:$settheme:$setcommentmax");
    setcookie("user","$info",time()+2592000);
}

ArtificialIntel
Find all posts by ArtificialIntelView user's profileSend private message
Phred
Nuke Soldier
Nuke Soldier


Joined: Jan 26, 2003
Posts: 28

Location: USA

PostPosted: Mon Jan 27, 2003 8:04 am Reply with quoteBack to top

$setuser_pass docookie update made. I can log god back in and he is in the authors table and I'm not sure where that problem was before.

But still - I get the new user email but can't log him in and I see only the one anonymous entry in the users table. I get no SQL update errors.

I only counted one place to make the $email change.

Indeed I can log on to sci-factor now. Were there other changes u made?

An odd thing. My server on my PC is named "testserver" (I go to http://testserver/html/index.php ... ). The cookies I get from PHPnuke are named 'testserver.local' (where other programs just send them back named 'testserver'). It seems to me that the browser is sending cookies back anyway (god stays validated, english is used, ...) but I wonder if the appending of ".local" by PHPnuke is causing any problems.
Find all posts by PhredView user's profileSend private message
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Mon Jan 27, 2003 8:14 am Reply with quoteBack to top

Servername? Hmm, run the analyzer as it reports back the env variable server_name.

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Mon Jan 27, 2003 8:28 am Reply with quoteBack to top

Code:


Last edited by chatserv on Mon Sep 13, 2004 1:48 pm; edited 1 time in total
Find all posts by chatservView user's profileSend private messageVisit poster's website
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Mon Jan 27, 2003 8:49 am Reply with quoteBack to top

good call Very Happy

I'd misst the changing variables bit in the theme I use too.

My site works fine with the new user reg and password stuff, so I don't know why urs would be any different Phred. I've not made any changes I didn't post on here. Heck, I forgot to make half of the ones I did.

ArtificialIntel
Find all posts by ArtificialIntelView user's profileSend private message
linspatz
Nuke Soldier
Nuke Soldier


Joined: Jan 18, 2003
Posts: 15

Location: USA

PostPosted: Mon Jan 27, 2003 2:14 pm Reply with quoteBack to top

Can someone just send me a working 6.5 b6 your account index.php to linspatz@inetplus.net When ever i try to edit it i just end up messing it more and more
Find all posts by linspatzView user's profileSend private message
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.468 Seconds - 287 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::