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
LadySyren
Regular
Regular


Joined: Sep 03, 2004
Posts: 56
Location: Iowa

PostPosted: Mon Nov 08, 2004 1:46 pm Reply with quote

I think I've got everything set up as it's suppose to be. I followed the instructions very carefully and installed the newest version of Sentinel plus the patch files. Everythings all configured except for one thing and I'm hoping someone will be kind enough to simply tell me in plain english what I need to add to the following in order to finish:

I get the following errors at the top of my screen:

Warning: main(ban.php): failed to open stream: No such file or directory in /home/xxxx/public_html/xxxxxx/includes/my_header.php on line 2

Warning: main(ban.php): failed to open stream: No such file or directory in /home/xxxx/public_html/xxxxxx/includes/my_header.php on line 2

Warning: main(): Failed opening 'ban.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxx/public_html/xxxxxx/includes/my_header.php on line 2

Could someone please tell me what's missing and where to add it?


Last edited by LadySyren on Thu Nov 11, 2004 12:43 pm; edited 1 time in total 
View user's profile Send private message Send e-mail Visit poster's website AIM Address
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Mon Nov 08, 2004 2:07 pm Reply with quote

hi probably because of things you did you removed the ban.php in the file my_header.php (its included )
you can find that file in your includes folder.
open it and and make sure it looks like this...

Code:



if (eregi("my_header.php", $_SERVER['SCRIPT_NAME'])) {
    Header("Location: ../index.php");
    die();
}
include("ipban.php");

/*
 
View user's profile Send private message
LadySyren
PostPosted: Mon Nov 08, 2004 2:21 pm Reply with quote

Ok I did that and I get this:

Warning: main(ipban.php): failed to open stream: No such file or directory in /home/xxxx/public_html/xxxxxx/includes/my_header.php on line 21

Warning: main(ipban.php): failed to open stream: No such file or directory in /home/xxxx/public_html/xxxxxx/includes/my_header.php on line 21

Warning: main(): Failed opening 'ipban.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxx/public_html/xxxxxx/includes/my_header.php on line 21

Wait ... is there something from the IP Ban that I need to have included?


Last edited by LadySyren on Thu Nov 11, 2004 12:42 pm; edited 1 time in total 
hitwalker
PostPosted: Mon Nov 08, 2004 2:28 pm Reply with quote

well it is asking for the ipban.php
its not used anymore but its just a part of nuke..
make sure havent deleted any files or lines related to it...
 
LadySyren
PostPosted: Mon Nov 08, 2004 2:34 pm Reply with quote

Hmm, alright. Thank you very much, hitwalker Smile I'm sure I'll be back in the next few hours.
 
hitwalker
PostPosted: Mon Nov 08, 2004 2:37 pm Reply with quote

btw thats weird.....
ban.php ?
 
sharlein
Member Emeritus


Joined: Nov 19, 2002
Posts: 322
Location: On the Road

PostPosted: Mon Nov 08, 2004 5:04 pm Reply with quote

Quote:
Warning: main(ban.php): failed to open stream: No such file or directory in /home/syren/public_html/rpg/includes/my_header.php on line 2

Syren, it is never a good idea to expose the full path to your files. Some of the script kiddies could use it to hack your site. Maybe it should look like this:
Quote:
Warning: main(ban.php): failed to open stream: No such file or directory in /home/xxxx/public_html/xxxxxx/includes/my_header.php on line 2

I would go back and edit your posts, but that is just my opinion. Steve

_________________
Give Me Ambiguity Or Give Me Something Else! 
View user's profile Send private message
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 ©