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™
Author Message
Metal
New Member
New Member


Joined: Dec 03, 2004
Posts: 3

PostPosted: Sun Dec 05, 2004 12:12 pm Reply with quote

I messed up my site after -> I <- screwed up the installation. Obvious to me now, when I installed it and started to config it I did not select a NukeSentinel admin password. When I try to login I get a pop-up that says restricted with a login and passwd box. I did not have a passwd to enter.

So then I tried to uninstall it (ran the deinstall), removed the lines from main.php and header.php.

No such luck the resticted pop-up still happens expecting some admin login and password. The regular one does not work.

Can you please help me I am at a loss and apparently I am dangerous enough to just mess everything up.

My site is Only registered users can see links on this board! Get registered or login!. Thanks for anything you can do!
 
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2496

PostPosted: Sun Dec 05, 2004 12:28 pm Reply with quote

I think you skipped the edit in includes/javascript.php

_________________
[b][size=5]openSUSE 11.4-x86 | Linux 2.6.37.1-1.2desktop i686 | KDE: 4.6.41>=4.7 | XFCE 4.8 | AMD Athlon(tm) XP 3000+ | MSI K7N2 Delta-L | 3GB Black Diamond DDR
| GeForce 6200@433Mhz 512MB | Xorg 1.9.3 | NVIDIA 270.30[/size:2b8 
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17086

PostPosted: Sun Dec 05, 2004 12:31 pm Reply with quote

Remove the sentinel files from your admin folder. Also check your .htaccess file.
 
View user's profile Send private message
Metal
PostPosted: Sun Dec 05, 2004 3:16 pm Reply with quote

Okay I went back in and removed the added lines in javascript.php and removed sentinel directory from admin and checked out the .htaccess files which were fine. Still having same problem, I even clear my browser cache...to no avail.

Still in need of some ideas...Thanks!
 
Raven
PostPosted: Sun Dec 05, 2004 4:07 pm Reply with quote

Did you remove the sentinel.php file from the admin/modules directory?
 
Metal
PostPosted: Sun Dec 05, 2004 4:18 pm Reply with quote

Raven wrote:
Did you remove the sentinel.php file from the admin/modules directory?
Yep, that is gone too! Really strange, something just does not want to let go...

Thanks again for your patient and quick responses! Much appreciated
 
Raven
PostPosted: Sun Dec 05, 2004 5:37 pm Reply with quote

If you have removed all of that, then it is not NukeSentinel.
 
proud
New Member
New Member


Joined: Apr 04, 2005
Posts: 2

PostPosted: Mon Apr 04, 2005 11:33 pm Reply with quote

This is the closest thread I've found to my problem, so I'm going to post it here. I installed Sentinal today, and I had the same problem...I was lucky enough to have someone here who could fix it for me and he did. But now EVERY time my site is opened that pop up menu shows up, so I can log in as an admin and the site will come up. But the only way anyone else can get to the site would be for me to give them the admin password....when you click cancel or don't put in the password of course it goes to the "Authorization Required" screen...

PLEASE HELP!!!!!
 
View user's profile Send private message
Raven
PostPosted: Mon Apr 04, 2005 11:39 pm Reply with quote

If you have this code in your .htaccess file, remove it. You should not use it unless you need it for CGIAuthentication. Make sure you read the installation instructions very carefully.
Code:
<Files .staccess>

  deny from all
</Files>

<Files admin.php>
   <Limit GET POST PUT>
      require valid-user
   </Limit>
   AuthName "Restricted by NukeSentinel(tm)"
   AuthType Basic
   AuthUserFile /home/whatever/public_html/whatever/.staccess
</Files>
 
proud
PostPosted: Mon Apr 04, 2005 11:51 pm Reply with quote

Ok well it works now I had to change the .htaccess file to this to make it work. I am assuming I don't need CGIAuthenication since I have no idea what it is...Is leaving this file like this ok or not?

Options All -Indexes
DirectoryIndex index.php index.htm index.html

# -------------------------------------------
# Start of NukeSentinel(tm) admin.php Auth
# -------------------------------------------

# -------------------------------------------
# Start of NukeSentinel(tm) DENY FROM area
# -------------------------------------------
 
Raven
PostPosted: Tue Apr 05, 2005 7:06 am Reply with quote

You do not need those areas if PHP is compiled as an Apache Module. It's just an added layer of security. Chances are you can use it (and should) if you set the paths up correctly. But, even w/o it you will be well protected.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™

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 ©