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

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - PLEASE HELP - Admin Login Loop [ ]
 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
methyus
Nuke Soldier
Nuke Soldier


Joined: Mar 10, 2005
Posts: 27


PostPosted: Thu Mar 10, 2005 4:23 pm Reply with quoteBack to top

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? Evil or Very Mad

Thank you in advance.

- Aedryan
Find all posts by methyusView user's profileSend private message
Guzzi
Nuke Soldier
Nuke Soldier


Joined: Mar 19, 2005
Posts: 14


PostPosted: Fri Apr 01, 2005 10:48 am Reply with quoteBack to top

I have exactly the same problem a never ending loop when I log in Sad

Please if anyone has any suggestions ??
Find all posts by GuzziView user's profileSend private message
methyus
Nuke Soldier
Nuke Soldier


Joined: Mar 10, 2005
Posts: 27


PostPosted: Sat Apr 02, 2005 9:12 am Reply with quoteBack to top

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
Find all posts by methyusView user's profileSend private message
Vangari
Nuke Cadet
Nuke Cadet


Joined: Jun 15, 2005
Posts: 1


PostPosted: Wed Jun 15, 2005 2:34 am Reply with quoteBack to top

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)

\banners.php:
-> line 129 (maxlength=10)

\mainfile.php:
-> line 899 (maxlength=20)

\admin\modules\authors.php:
-> lines 116 (maxlength=12)
-> lines 220 (maxlength=12)
-> lines 222 (maxlength=12)

\blocks\block-Login.php:
-> line 30 (maxlength=20)

\blocks\block-User_Info.php:
-> line 113 (maxlength=20)

\modules\Your_Account\index.php:
-> lines 604 (maxlength=20)
-> lines 644 (maxlength=40)
-> lines 645 (maxlength=40)
-> lines 1054 (maxlength=20)

\modules\Your_Account\admin\index.php:
-> lines 91 (maxlength=12)
-> lines 233 (maxlength=12)
-> lines 235 (maxlength=12)
Find all posts by VangariView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12342


PostPosted: Wed Jun 15, 2005 5:46 am Reply with quoteBack to top

You may want to see what the Patched files changed as well. http://www.nukefixes.com

_________________
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
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.384 Seconds - 311 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::