PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  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
sek-sports
Hangin' Around


Joined: Jul 18, 2007
Posts: 39

PostPosted: Mon Oct 01, 2007 5:33 am Reply with quote Back to top

This just started happening out of the blue. When new members register, they put in their username and password and it tells them log-in incorrect. I even tried it myself and got the same result. But I can go in and edit their profile and retype their password and then they can login. Any suggestions?
View user's profile Send private message
jakec
Moderator


Joined: Feb 06, 2006
Posts: 1839
Location: United Kingdom

PostPosted: Mon Oct 01, 2007 6:02 am Reply with quote Back to top

Have you made any changes to your site recently? Changed host?
View user's profile Send private message
sek-sports
Hangin' Around


Joined: Jul 18, 2007
Posts: 39

PostPosted: Mon Oct 01, 2007 6:08 am Reply with quote Back to top

No, I haven't changed anything. I do back-ups all the time and have a back-up from a couple days ago. Could I just upload a certain file or folder that contains the registration program? Which folder would it be?
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 7452
Location: Arizona

PostPosted: Mon Oct 01, 2007 6:50 am Reply with quote Back to top

modules/Your_Account/index.php
View user's profile Send private message Visit poster's website
jakec
Moderator


Joined: Feb 06, 2006
Posts: 1839
Location: United Kingdom

PostPosted: Mon Oct 01, 2007 3:07 pm Reply with quote Back to top

I'm wondering if your DB has got corrupted, you could try running a repair on your nuke_users table.
View user's profile Send private message
sek-sports
Hangin' Around


Joined: Jul 18, 2007
Posts: 39

PostPosted: Mon Oct 01, 2007 3:23 pm Reply with quote Back to top

How do I do that? I tried updoading the back-up of "Your Account" but that didn't work. Thanks for your help guys.
View user's profile Send private message
jakec
Moderator


Joined: Feb 06, 2006
Posts: 1839
Location: United Kingdom

PostPosted: Mon Oct 01, 2007 3:26 pm Reply with quote Back to top

You will need to do it through phpmyadmin.
View user's profile Send private message
sek-sports
Hangin' Around


Joined: Jul 18, 2007
Posts: 39

PostPosted: Mon Oct 01, 2007 3:30 pm Reply with quote Back to top

I just tried that as well, I did "check table" first and it came back as ok. Then did "repair table" and it came back ok. Still no luck.
View user's profile Send private message
sek-sports
Hangin' Around


Joined: Jul 18, 2007
Posts: 39

PostPosted: Tue Oct 02, 2007 12:29 am Reply with quote Back to top

Anyone have any other ideas on how I can fix this? It is puzzling as to why when you type your password it recognizes your login as incorrect but I can go in and edit their profile and type in the exact same password and it works!

Also, when a new member chooses "lost password" and goes through that process the generated password allows them to login correctly.
View user's profile Send private message
PHrEEkie
Subject Matter Expert


Joined: Feb 23, 2004
Posts: 250

PostPosted: Tue Oct 02, 2007 2:17 am Reply with quote Back to top

sek-sports wrote:
Also, when a new member chooses "lost password" and goes through that process the generated password allows them to login correctly.


So when you reset their pass, or they do it through lost password, they can login, but only once? Next login is nerfed again?

Honestly, this type of random 'out of the blue' type of problems generally require someone to go in and place stop points in the login sequence and examine/compare variables. It's kinda hard to help through a message board once we've gone through the usual 'have you made any changes recently' or 'have you verified the SQL table is sound'.

That being said, there's usually several things that will generate the same verbose error to the user, so it might not be the password... do you use the captcha? If so, turn it off and test. Fire off an email to your host and ask them if THEY made any changes to the server config. Did they upgrade PHP or MySQL recently? You might be getting bit by the old_password variable in the new MySQL, or they might have changed something in the php.ini file. My .02's

PHrEEk
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 7452
Location: Arizona

PostPosted: Tue Oct 02, 2007 6:04 am Reply with quote Back to top

I have a feeling that you/they are trying to use some special characters within the password. Try just alphanumeric and see if the same problem occurs.

I have seen throughout nuke where there can be different rules applied between modules and admin. For example, in some cases something could be "encoded" and in other cases not. It is quite a mess under the hood...
View user's profile Send private message Visit poster's website
sek-sports
Hangin' Around


Joined: Jul 18, 2007
Posts: 39

PostPosted: Tue Oct 02, 2007 4:52 pm Reply with quote Back to top

That was my first thought also. So I tried just a straight text password, a straight numerical password still no luck.

"So when you reset their pass, or they do it through lost password, they can login, but only once? Next login is nerfed again?"-No it works fine from then on. Crazy isn't it?
View user's profile Send private message
PHrEEkie
Subject Matter Expert


Joined: Feb 23, 2004
Posts: 250

PostPosted: Tue Oct 02, 2007 8:47 pm Reply with quote Back to top

Ok, then this is less random... I can either go in and fix it, or fix up a script that will output results that we can analyze. Your call...

PHrEEk
View user's profile Send private message
sek-sports
Hangin' Around


Joined: Jul 18, 2007
Posts: 39

PostPosted: Tue Oct 02, 2007 9:00 pm Reply with quote Back to top

What do you need from me to go in and fix? Right now I have my "new register" links going to a content page asking everyone to send me an e-mail so I can add them manually. Not much fun that way.
View user's profile Send private message
evaders99
Moderator


Joined: Apr 30, 2004
Posts: 2845

PostPosted: Tue Oct 02, 2007 10:08 pm Reply with quote Back to top

Can you link us to the site so we can see what's going on?
View user's profile Send private message Visit poster's website
PHrEEkie
Subject Matter Expert


Joined: Feb 23, 2004
Posts: 250

PostPosted: Tue Oct 02, 2007 10:32 pm Reply with quote Back to top

sek-sports wrote:
What do you need from me to go in and fix? Right now I have my "new register" links going to a content page asking everyone to send me an e-mail so I can add them manually. Not much fun that way.


You can just create a temp password to the system, then set it back once we're done. PM me the info, including FTP address, etc. Also the site base URL.

PHrEEk
View user's profile Send private message
sek-sports
Hangin' Around


Joined: Jul 18, 2007
Posts: 39

PostPosted: Tue Oct 02, 2007 11:16 pm Reply with quote Back to top

I sent you what I thought you would need. Let me know what else you may need. Like I said, I changed my registration links to go to a content page. I know that will need to be changed back if you can figure out what is going on.
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message
PHrEEkie
Subject Matter Expert


Joined: Feb 23, 2004
Posts: 250

PostPosted: Wed Oct 03, 2007 12:00 am Reply with quote Back to top

Ok, right off the bat, there are some serious MySQL or phpMyAdmin issues on your server... I am trying to create a temp Admin login for nuke, and phpMyAdmin throws about 9 errors when trying to insert the new row.

That's not too good for starters Rolling Eyes hehe

Sending you a PM and hopefully you can login as Nuke Admin and create an Admin acct for me from inside Nuke...

PHrEEk
View user's profile Send private message
sek-sports
Hangin' Around


Joined: Jul 18, 2007
Posts: 39

PostPosted: Wed Oct 03, 2007 12:39 am Reply with quote Back to top

Got your PM and sent you one back. I appreciate your help, I know nothing when it comes to MySQL stuff. I do know when I had a different site a few years ago, I could go in and edit and add with no problems. But like you said, when I try anything I get errors all over the place with this one.
View user's profile Send private message
PHrEEkie
Subject Matter Expert


Joined: Feb 23, 2004
Posts: 250

PostPosted: Wed Oct 03, 2007 2:34 am Reply with quote Back to top

UPDATE: Problem solved...

Field length for password in the users_temp table was set to 25, which was truncating the password as it was stored for a new user. Modified the field for 40 chars, and problem solved.

Thanks for being patient SEK!

PHrEEk
View user's profile Send private message
sek-sports
Hangin' Around


Joined: Jul 18, 2007
Posts: 39

PostPosted: Wed Oct 03, 2007 2:39 am Reply with quote Back to top

Dude, thank you so much. For someone to take their personal time and fix a complete strangers problem is awesome.

PHrEEkie=Member of the Month!
View user's profile Send private message
jakec
Moderator


Joined: Feb 06, 2006
Posts: 1839
Location: United Kingdom

PostPosted: Wed Oct 03, 2007 6:02 am Reply with quote Back to top

Nice catch PHrEEkie.

I wonder why that should suddenly change though. It's worth keeping an eye on and if it should happen again try to find out what it is causing it.
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 7452
Location: Arizona

PostPosted: Wed Oct 03, 2007 6:23 am Reply with quote Back to top

Thanks PHrEEkie!
View user's profile Send private message Visit poster's website
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