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
Dauthus
Worker
Worker



Joined: Oct 07, 2003
Posts: 211

PostPosted: Sat May 07, 2005 5:41 pm Reply with quote

I completed the install and modified the files for a 2.8 patch. I can access my forums admin section fine.

IF I put the:

Code:
define('ADMIN_FILE', true);


in the admin.php file, I can access the admin portion of phpnuke. I CANNOT however access the admin portion of Sentinel. I receive the 404 Page Not Found error.

If I remove the above code, I cannot even access my admin.php file. I have reverted back to 2.2.0 for now until I can figure out what I have done wrong.

Any suggestions?
 
View user's profile Send private message Visit poster's website
Dauthus







PostPosted: Sat May 07, 2005 7:03 pm Reply with quote

Ok, I found the solution. For some reason the link in the PHP-Nuke Admin page isn't correct. After a default install the link shows up as:
[ Only registered users can see links on this board! Get registered or login! ]

it should be:
[ Only registered users can see links on this board! Get registered or login! ]

I substituted the admin/case/case.nukesentinel.php and the admin/links/links.nukesentinel.php from the 2.2.0 version and now it works fine.

I also was using the wrong Patched 2.8 post. Users need to use this one:
[ Only registered users can see links on this board! Get registered or login! ]
 
BobMarion
Former Admin in Good Standing



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

PostPosted: Sat May 07, 2005 11:05 pm Reply with quote

You can add global $admin_file; to your admin/case/case.nukesentinel.php file and your admin/links/links.nukesentinel.php file to sure the problem. I've corrected this in the download packs already Smile

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



Joined: Jan 29, 2004
Posts: 624

PostPosted: Thu May 12, 2005 11:48 am Reply with quote

After putting the code $admin_file='admin'; in config.php and re-d/ling and re-u/ling 2.2.1 admin files from BobMarion's revision I now have two NukeSentinel entries in my admin area, both point to NS 2.2.1 admin areas and both work. The remaining problem behind this, I assume, is that the mainfile.php code

if (defined('FORUM_ADMIN')) {
@include_once("../../../includes/nukesentinel.php");
} elseif (defined('INSIDE_MOD')) {
@include_once("../../includes/nukesentinel.php");
} else {
@include_once("includes/nukesentinel.php");

doesn't 'take', I keep getting told to put back the old mainfile code from 2.1.3.
 
View user's profile Send private message
BobMarion







PostPosted: Wed May 18, 2005 10:33 pm Reply with quote

Check to make sure you have removed all the old sentinel files and only have nukesentinel files. The filenames changed for clarity which is most likely the cause of the issue you are having.
 
southern







PostPosted: Thu May 19, 2005 9:22 am Reply with quote

OK I'll do this. Thanks.
 
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 ©