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


Joined: Jul 24, 2005
Posts: 3

PostPosted: Sun Jul 24, 2005 6:37 pm Reply with quote

I get an error when tryin to run the nsnst.php file

Sorry, ONLY super admins may run this script

im logged in as the superadmin account...any ideas?


Last edited by meriik on Sun Jul 24, 2005 8:31 pm; edited 1 time in total 
View user's profile Send private message
meriik
PostPosted: Sun Jul 24, 2005 6:44 pm Reply with quote

OK lol i changed the requirement in the nsnst.php file to let me install it regardless of it seeing me as a superadmin or not.....install went fine..seems to be there... but i still have the problem.

When i login to my admin.php it shows me the admin panel ..but if i click on any of the options..it returns me to the admin login screen.


any help at all would be cool Smile lol thanks

**EDIT**
i replaced my mainfile.php with my old unedited one and my admin stuff came back so...hmmm still workin on it

**EDIT**

its seems to be this little bit of code in the mainfile.php

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

put it in... no admin
take it out... admin works ....

im stumped
 
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17086

PostPosted: Sun Jul 24, 2005 11:17 pm Reply with quote

This has been dealt with many times in the forums. Here is one place that will help Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
meriik
PostPosted: Sun Jul 24, 2005 11:27 pm Reply with quote

im such a tard...man i was reading the core edits over again and i saw the thing that said "some servers need it in a diffrent place" well i did that and it seems to be working now...thanks for the link tho.
 
Manuel
Regular
Regular


Joined: May 28, 2005
Posts: 90

PostPosted: Tue Jul 26, 2005 11:47 am Reply with quote

yeah Smile

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
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 ©