Author |
Message |
chris48178
New Member


Joined: Jan 24, 2005
Posts: 8
|
Posted:
Mon Jan 24, 2005 3:08 pm |
|
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. |
|
|
|
 |
sixonetonoffun
Spouse Contemplates Divorce

Joined: Jan 02, 2003
Posts: 2496
|
Posted:
Mon Jan 24, 2005 4:31 pm |
|
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 |
|
|
 |
chris48178

|
Posted:
Mon Jan 24, 2005 8:19 pm |
|
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.
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 www.domain.com Port 80 |
|
|
|
 |
sixonetonoffun

|
Posted:
Mon Jan 24, 2005 9:46 pm |
|
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

|
Posted:
Tue Jan 25, 2005 8:05 am |
|
Unfortunately, http_auth is set to 0.
That is why I am confused to the reason I am still getting that login pop-up.
 |
|
|
|
 |
sixonetonoffun

|
Posted:
Tue Jan 25, 2005 9:12 am |
|
Did you happen to upload the sample htaccess and staccess files? |
|
|
|
 |
chris48178

|
Posted:
Tue Jan 25, 2005 9:29 am |
|
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

|
Posted:
Tue Jan 25, 2005 9:50 am |
|
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 http://www.YOURDOMAIN.com/nsnst.php
But all the links from NukeSentinel™: Administration look like: http://www.YOURDOMAIN.com/.php?op=ABMain
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

|
Posted:
Tue Jan 25, 2005 10:15 am |
|
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

|
Posted:
Tue Jan 25, 2005 10:27 am |
|
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

|
Posted:
Tue Jan 25, 2005 10:36 am |
|
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

|
Posted:
Tue Jan 25, 2005 10:40 am |
|
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

|
Posted:
Tue Jan 25, 2005 10:47 am |
|
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

|
Posted:
Tue Jan 25, 2005 10:50 am |
|
Note* You might have to restart apache for the changes to take effect. |
|
|
|
 |
chris48178

|
Posted:
Wed Jan 26, 2005 9:41 am |
|
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.
 |
|
|
|
 |
|