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
chris48178
New Member
New Member


Joined: Jan 24, 2005
Posts: 8

PostPosted: Mon Jan 24, 2005 3:08 pm Reply with quote

I have PHP-Nuke 7.6
At first I downloaded and installed NukeSentinal for v7.5
After realizing there was a specific version for 7.6 I uninstalled per the instructions in the readme.
Then I installed the proper version, and followed the instructions in the readme.

My site is working, but I cannot access my Admin panel.
I get a pop-up window for a login any time I try to access it.

I have looked in the http_auth and it is set to 0

I am pretty new to PHP-Nuke as well as PHP in general. Not sure where to go.
 
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2496

PostPosted: Mon Jan 24, 2005 4:31 pm Reply with quote

Now it lets you into the admin area? With http_auth=0 ?
If so then find out if your php is installed as a CGI or an Apache Module.
If it is not as a CGI then you should be able to scan for new admins while logged into the God admin account and set the username and password for your http login.

Then go to the Nuke-Sentinel setup page again and activate the http auth again and the popup should come up asking for the login info you just entered. It is case sensitive.

If it bugs out on you again check into the CGI vs Apache module again as you may have to use the other method. Also note this won't work if you are using Apache2.xx

_________________
[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
chris48178
PostPosted: Mon Jan 24, 2005 8:19 pm Reply with quote

Sorry like I said, this is new territory for me. Let me clarify:

I can access the site, but not the admin area.

When I try to go to the admin.php area I get promted for Username and Password, see below.

Image

I have tried the admin login, but I eventually get:

Authorization Required
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.


--------------------------------------------------------------------------------

Apache/2.0.49 (Win32) PHP/4.3.6 Server at Only registered users can see links on this board! Get registered or login! Port 80
 
sixonetonoffun
PostPosted: Mon Jan 24, 2005 9:46 pm Reply with quote

Yes shut it off in with phpmyadmin by setting http_auth to 0 again.
This feature is not supported under Apache2 yet. You will find some more discussion regarding it in another thread but no solution has been reached that I know of yet.
 
chris48178
PostPosted: Tue Jan 25, 2005 8:05 am Reply with quote

Unfortunately, http_auth is set to 0.

That is why I am confused to the reason I am still getting that login pop-up.

Image
 
sixonetonoffun
PostPosted: Tue Jan 25, 2005 9:12 am Reply with quote

Did you happen to upload the sample htaccess and staccess files?
 
chris48178
PostPosted: Tue Jan 25, 2005 9:29 am Reply with quote

Yes and I opened them in Textpad and saved as .htaccess and .staccess

But that was all I needed to know. Renamed them OLD.htaccess and OLD.staccess, and now I have access.

THANKS!
 
chris48178
PostPosted: Tue Jan 25, 2005 9:50 am Reply with quote

OK, now I am not sure on how to get back my access to Neke Sentinel.

I can get to NukeSentinel™: Administration from the link after running Only registered users can see links on this board! Get registered or login!

But all the links from NukeSentinel™: Administration look like: Only registered users can see links on this board! Get registered or login!

Notice nothing b4 .php...

When I add "admin" in front of .php in the URL manually, it works.
For some reason "admin" is missing in all of the Hyperlinks as well as the Save button in Administration.
 
sixonetonoffun
PostPosted: Tue Jan 25, 2005 10:15 am Reply with quote

Try deleting and reuploading the files for Nuke-Sentinel for 760 it really sounds like the files are from the UNI version.

Also check for the register globals status in most cases it has to be on for the "peek a boo" admin file to work.

Backing up a little is your admin.php filename changed from admin.php to something else or is it still admin.php?
 
chris48178
PostPosted: Tue Jan 25, 2005 10:27 am Reply with quote

Quote:
Backing up a little is your admin.php filename changed from admin.php to something else or is it still admin.php?


I haven't renamed anything...

Quote:
Try deleting and reuploading the files for Nuke-Sentinel for 760 it really sounds like the files are from the UNI version.


Tried with no success...actually went over the complete install again.

Quote:
Also check for the register globals status in most cases it has to be on for the "peek a boo" admin file to work.


Not sure I follow this one. I looked in all the usual places, but my newbieness is getting the better of me.
 
sixonetonoffun
PostPosted: Tue Jan 25, 2005 10:36 am Reply with quote

register globals will show in phpinfo.
If you don't have a phpinfo page.
Create a text file with
<? phpinfo(); ?>
Save it as myphpi.php or some other obscure name and upload it to you webspace then go to that page in your browser. Find register globals there should be a value shown for it indicating on/off

After all is said and done delete the file.
 
chris48178
PostPosted: Tue Jan 25, 2005 10:40 am Reply with quote

Looked there, missed it the 1st time, hrmmm.

At any rate it is set to off.

Where's the best place to turn em on? PHP.ini?
 
sixonetonoffun
PostPosted: Tue Jan 25, 2005 10:47 am Reply with quote

You could try doing it in the web root of the site this would be "globally" more secure for the rest of the server.

In .htaccess at or near the very top add
php_flag register_globals on

Otherwise in php.ini it is easy to find and change.
 
sixonetonoffun
PostPosted: Tue Jan 25, 2005 10:50 am Reply with quote

Note* You might have to restart apache for the changes to take effect.
 
chris48178
PostPosted: Wed Jan 26, 2005 9:41 am Reply with quote

Strange, I tried turning on the register globals in both locations, and even restarted the server, but the Local and Master values remain OFF.

I would like to note that in the admin panel, only the Nuke Sentinal hyperlink is missing the "admin" portion of the URL. All other links are working fine.

Image

Image
 
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 ©