Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm)
Author Message
schrags11
New Member
New Member



Joined: Oct 15, 2004
Posts: 13

PostPosted: Sat Oct 16, 2004 11:04 pm Reply with quote

I upgraded seninel from 2.0.2 to 2.1 and now i can't get in because the http auth password and username changed. How do I fix this? I went into the database and "nsnst" tables in the database and did a clean install but it is still locking me out. What do i do?
 
View user's profile Send private message
GeekyGuy
Client



Joined: Jun 03, 2004
Posts: 302
Location: Huber Heights Ohio

PostPosted: Sat Oct 16, 2004 11:25 pm Reply with quote

schrags11,
In phpMyAdmin, find nuke_nsnst_config. Then change the http_auth to 0 (zero).

Then once you are back in your site, go to the NukeSentinel™ admin panel, and click on Admin Auth List. You should see your admin name there. On the far right, click on the Edit icon. The screen will change, and allow you to set the password for that admin account.

I am only going to be online for 30 minutes or so, just let me know if it didn't work.

_________________
"The Daytona 500 is ours! We won it, we won it, we won it!", Dale Earnhardt, February 15th, 1998, Daytona 500 
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger ICQ Number
dean
Worker
Worker



Joined: Apr 14, 2004
Posts: 193

PostPosted: Sun Oct 17, 2004 4:26 am Reply with quote

I had same problem and found the http_auth talbe was already set to 0 and I still was presented with a http log in that didnt recognize my usual admin name and password
 
View user's profile Send private message
schrags11







PostPosted: Sun Oct 17, 2004 11:28 am Reply with quote

The auth table is set at 0 and still locks me out so..dean thats the situation im at. How did you fix it?
 
dean







PostPosted: Sun Oct 17, 2004 2:56 pm Reply with quote

I didn't fix it, was hoping somone would help............. Sad
 
BobMarion
Former Admin in Good Standing



Joined: Oct 30, 2002
Posts: 1037
Location: RedNeck Land (known as Kentucky)

PostPosted: Sun Oct 17, 2004 4:58 pm Reply with quote

Okay, please explain in as much detail how you installed/upgraded to include any other modules you installed that maybe interfering and your PHP-Nuke version.

I test it with PHP-Nuke 7.0 thru 7.5 with CS's Patched 2.6 installed first.

_________________
Bob Marion
Codito Ergo Sum
http://www.nukescripts.net 
View user's profile Send private message Send e-mail Visit poster's website
schrags11







PostPosted: Sun Oct 17, 2004 6:01 pm Reply with quote

I have nuke 7.0. I uploaded all of the new files for 2.1 and replaced the 2.0 files then ran the nsnst.php file and did a 2.0.2 to 2.1 upgrade. Then it said that the http auth had been changed and to go into the admin panel and make new settings or something like that. Then i tried to go to the admin panel and the http auth box popped up and my old username and password did not work.
 
echo
Hangin' Around



Joined: Nov 27, 2003
Posts: 37

PostPosted: Sun Oct 17, 2004 6:14 pm Reply with quote

You have to click "Scan for New Admins" then under the Sentinel settings you will see this:
Admin Auth Login Auth Password Protected Functions

Under the functions menu click the "Edit" image. Then type in your password. I found this after having the same problem. Confused
 
View user's profile Send private message
schrags11







PostPosted: Sun Oct 17, 2004 6:53 pm Reply with quote

It won't let me access anything dealing with the admin panel... When i try to go to it thats when the http auth password box pops up with a different username and password then i previously had.
 
echo







PostPosted: Sun Oct 17, 2004 7:00 pm Reply with quote

Yes, I should of mentioned that I had to uninstall the tables, then re-install, then do as described before exiting your admin section. It worked for me that way. I'm still lookin for the ip-to-country.php file Confused
 
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sun Oct 17, 2004 7:37 pm Reply with quote

IP2Country is a separate download.
 
View user's profile Send private message
BobMarion







PostPosted: Sun Oct 17, 2004 8:01 pm Reply with quote

Now let me ask you this, did you rename sample.htaccess to .htaccess and upload it as well? If you did you'll never get in because the sample htaccess file has the sample code for CGIAuth which is server level auth. If you did so open the .htaccess file and remove the:
Code:
# -------------------------------------------

# Start of NukeSentinel(tm) admin.php Auth
# -------------------------------------------
<Files .staccess>
  deny from all
</Files>

<Files admin.php>
   <Limit GET POST PUT>
      require valid-user
   </Limit>
   AuthName "Restricted"
   AuthType Basic
   AuthUserFile /path/to/your/.staccess
</Files>
 
schrags11







PostPosted: Sun Oct 17, 2004 8:52 pm Reply with quote

Yes i did exacly that! Thank you!!! It works now!!!!
 
dean







PostPosted: Tue Oct 19, 2004 2:46 pm Reply with quote

I followed Bob's latest post and things work fine now. However, I would like to add server level auth component. My host has php compiled as CGI. I take it now that Ive added myself to the Sentinels list of admins I can add this script back to my htaccess file and then add the staccess file to make it work?
 
Raven







PostPosted: Tue Oct 19, 2004 4:15 pm Reply with quote

In theory, yes.
 
BobMarion







PostPosted: Tue Oct 19, 2004 11:36 pm Reply with quote

First upload the .staccess file and CHMOD it to 666. Goto NukeSentinel's main admin panel and make sure you have Admin Auth: set to Admin CGIAuth. Then goto admin.php?op=ABAuthList and there should be a link with a label of Build CGIAuth file:. Click that link which will then store the CGIAuth aid's and passwords into the .staccess file. Then you can add the code above back into your .htaccess file Smile
 
dean







PostPosted: Tue Nov 02, 2004 1:35 am Reply with quote

That works! Wave
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm)

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©