Hello,
I recently uploaded phpNUKE 7.6 to my site manager. I created my admin account and my superuser as suggested and every time I try to login it just keeps looping back to the admin login screen. It shows me as a member and an admin, but it won't let me login. I also downloaded php NUKE Platinum and Inferno and the same exact thing happens when I try to run it locally. I am 100% certain that I have everything configured correctly and I know that cookies are enabled on my pc.
Can someone PLEASE tell me how to fix this most aggravating problem?
Thank you in advance.
- Aedryan
Guzzi Nuke Soldier
Joined: Mar 19, 2005
Posts: 14
Posted:
Fri Apr 01, 2005 10:48 am
I have exactly the same problem a never ending loop when I log in
Please if anyone has any suggestions ??
methyus Nuke Soldier
Joined: Mar 10, 2005
Posts: 27
Posted:
Sat Apr 02, 2005 9:12 am
FINALLY, I solved this mystery! The reason this happens is because you can't make your password more than 10 characters long when you create your superuser. Just get in your database, delete the superuser (God) that you created then go to your admin login and create a new superuser Just be sure to keep your password under 10 characters long and you'll be good to go.
By the way, Nuke 7.6 Platinum totally rawks!!!! I swear, the angels sang when I finally logged in as admin and saw all of it's kickbutt features!
- Aedryan
Vangari Nuke Cadet
Joined: Jun 15, 2005
Posts: 1
Posted:
Wed Jun 15, 2005 2:34 am
FYI ... Thanks for the tip on the password limit.
It seems that there are two main problems that people are suffering
a) you login to admin ... reach the admin panel ... and then get looped back to the Login when attempting any function.
and
b) you login to admin and are looped straight back to login.
Quite possibly there are multiple causes for each.
I was getting problem B)
This was because when you create a new admin password for the first time the form field for Password has a MAXLENGTH of 10 chars.
When you modify the password in Edit Admins it accepts 12
When you login to admin it accepts 18 chars.
When you login to the normal login it accepts 20 chars.
Now this is obviously an issue ..
When you create your first super account you key in the password "MyFirstAdminPassword".
This is truncated to 10 chars "MyFirstAdm" and stored in the DB. (encrypted/hashed of course)
When you go to login you key "MyFirstAdminPassword" which is truncated to "MyFirstAdminPasswo".
Nuke compares the hashes for "MyFirstAdm" against "MyFirstAdminPasswo" and fails your login.
For your information I am including the lines containing password fields with maxlengths, I would suggest that the majority of these MAXLENGTHs need to be set to a common value.
I may even post patched code after I go through and doublecheck passlength requirements for the various modules. (or not ... we'll see)
Hope this helps.
Below Details apply to Release 7.7
\admin.php
-> line 68 (maxlength=10)
-> line 167 (maxlength=18)
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