Author |
Message |
Plasma
Regular


Joined: May 17, 2005
Posts: 66
|
Posted:
Tue May 17, 2005 4:44 pm |
|
when i goto the Administration panel and click the NukeSentinel Icon, it brings up a page not found error.
the link shows
http://www.mysite.com/.php?op=ABMain
however, if i type in:
http://www.mysite.com/admin.php?op=ABMain,
it works.
I have the patched 7.5 version, using Sentinel version710 2.2.1. I've added the define('ADMIN_FILE', true); as suggested in previous posts to the config.php and the admin.php, but that hasn't helped.
One thing i've seen, but can't seem to find, is Chatserv 2.9 patch. If i d/l'ed 7.5 patch, is that included? If not, where can I find it?
any ideas? |
|
|
|
 |
BobMarion
Former Admin in Good Standing

Joined: Oct 30, 2002
Posts: 1037
Location: RedNeck Land (known as Kentucky)
|
Posted:
Tue May 17, 2005 9:17 pm |
|
Check the admin/modules/nukesentinel.php file and make sure hte begiing of it looks like:Code:<?php
/********************************************************/
/* NukeSentinel(tm) */
/* By: NukeScripts Network (webmaster@nukescripts.net) */
/* http://www.nukescripts.net */
/* Copyright © 2000-2005 by NukeScripts Network */
/********************************************************/
global $admin_file;
if(!isset($admin_file)) { $admin_file = "admin"; }
if(!defined('ADMIN_FILE')) {
header("Location: ../../".$admin_file.".php");
die();
}
|
Primarily the global line and the isset line MUST be there. |
_________________ Bob Marion
Codito Ergo Sum
Only registered users can see links on this board! Get registered or login! |
|
|
 |
Plasma

|
Posted:
Tue May 17, 2005 10:15 pm |
|
no luck. i modified what was there to look like what you posted. what else can i try? |
|
|
|
 |
Plasma

|
Posted:
Tue May 17, 2005 10:17 pm |
|
well, i put that in teh admin/links/nukesentinel.php and it worked. was that where you were referring to? |
|
|
|
 |
BobMarion

|
Posted:
Wed May 25, 2005 12:25 am |
|
In the first release copy i forgot to add the:Code:if(!isset($admin_file)) { $admin_file = "admin"; }
| so yes it needs to be added  |
|
|
|
 |
TheosEleos
Life Cycles Becoming CPU Cycles

Joined: Sep 18, 2003
Posts: 960
Location: Missouri
|
Posted:
Mon May 30, 2005 7:10 pm |
|
I must really be bad at this because I still am having this same problem.
Help me Bob, you're my only hope. |
_________________ Only registered users can see links on this board! Get registered or login! |
|
 |
 |
CurtisH
Life Cycles Becoming CPU Cycles

Joined: Mar 15, 2004
Posts: 638
Location: West Branch, MI
|
Posted:
Mon May 30, 2005 7:24 pm |
|
Quote: |
Help me Bob, you're my only hope.
|
*LOL* Sounds like StarWars.  |
_________________ Those who dream by day are cognizant of many things which escape those who dream only by night. ~Poe |
|
|
 |
TheosEleos

|
Posted:
Mon May 30, 2005 7:31 pm |
|
Figured that one out, you have. |
|
|
|
 |
Guardian2003
Site Admin

Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Mon May 30, 2005 10:13 pm |
|
|
|
 |
BobMarion

|
Posted:
Tue Jun 14, 2005 1:50 pm |
|
the force with me is strong, the bob seek you? |
|
|
|
 |
BobMarion

|
Posted:
Tue Jun 14, 2005 1:55 pm |
|
Okay, in the case.nukesentinel.php, links.nukesentinel.php, and nukesentinel.php admins files make sure you have:Code:global $admin_file;
if(!isset($admin_file)) { $admin_file = "admin"; }
|
Make sure it appears before the switch in case.nukesentinel.php and nukesentinel.php files. And before:Code:if ($radminsuper==1) {
adminmenu("".$admin_file.".php?op=ABMain", _AB_NUKESENTINEL, "nukesentinel.png");
}
| in links.nukesentinel.php . |
|
|
|
 |
|