Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™ v2.5.x
Author Message
gsicard
Regular
Regular


Joined: May 21, 2003
Posts: 50
Location: Suffolk, VA USA

PostPosted: Thu Jul 27, 2006 3:16 pm Reply with quote

Hi guys,
phpnuke 7.6 patched 2.9 bb2nuke 2.0.21 NukeSentinel 2.5.0 upgraded from 2.4.2

with error reporting on I get this error
Code:


Notice: Undefined offset: -1 in /path/to/mywebsite.comhere/httpdocs/includes/nukesentinel.php on line 1111


The Line in question (line 1111) is:

Code:


    if(!strstr($floodwrite, $floodarray[$floodcount-10]))
    fputs($floodopen, $floodwrite);


Also get the following errors as indicated below

Code:


Notice: Undefined variable: aid in /path/to/mywebsite.comhere/httpdocs/includes/nukesentinel.php on line 106

Notice: Undefined variable: op in /path/to/mywebsite.comhere/httpdocs/includes/nukesentinel.php on line 229

Notice: Undefined variable: op in /path/to/mywebsite.comhere/httpdocs/includes/nukesentinel.php on line 237

Notice: Undefined variable: name in /path/to/mywebsite.comhere/httpdocs/includes/nukesentinel.php on line 275

Notice: Undefined variable: file in /path/to/mywebsite.comhere/httpdocs/includes/nukesentinel.php on line 275

Notice: Undefined variable: libpath in /path/to/mywebsite.comhere/httpdocs/includes/nukesentinel.php on line 275


NukeSentinel appears to work properly but those errors keep filling up my logs... any ideas how to get rid of them.

Best regards,

_________________
Gary Sicard Only registered users can see links on this board! Get registered or login!
[img]http://www.molosserdogs.com/modules.php?name=Forums&file=signature.png[/img]

Last edited by gsicard on Fri Jul 28, 2006 12:12 pm; edited 2 times in total 
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Thu Jul 27, 2006 3:34 pm Reply with quote

just a question...have you set that .ftaccess ?
if not....do so and check again...
 
View user's profile Send private message
gsicard
PostPosted: Thu Jul 27, 2006 4:53 pm Reply with quote

Yes. .ftaccess is set and chmod 666. It gets written to by Sentinel.


Last edited by gsicard on Thu Jul 27, 2006 4:55 pm; edited 1 time in total 
jaded
Theme Guru


Joined: Nov 01, 2003
Posts: 1006

PostPosted: Thu Jul 27, 2006 4:55 pm Reply with quote

it is htaccess just to be sure that you have not changed its name to ftaccess.

_________________
Themes BB Skins Only registered users can see links on this board! Get registered or login!
Graphic Tees Only registered users can see links on this board! Get registered or login!
Paranormal Tees Only registered users can see links on this board! Get registered or login!
Ghost Stories & More Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
hitwalker
PostPosted: Thu Jul 27, 2006 4:59 pm Reply with quote

no jaded dear...lol
that error refers to the .ftaccess file.
strange enough i saw exactly the same error at someones site,the .ftaccess wasnt set but also not used...so the error didnt make any sense.
after setting it all was ok...
trhats why i asked gscard...
 
gsicard
PostPosted: Thu Jul 27, 2006 5:06 pm Reply with quote

Hey Jaded,
all the files are set correctly and get written by Sentinel without problems.

Hitwalker - I verified them just now and they are all set and working properly. What else can it be.

htaccess Path: /home/hidden/httpdocs/.htaccess
staccess Path: /home/hidden/httpdocs/.staccess
ftaccess Path: /home/hidden/httpdocs/.ftaccess
 
hitwalker
PostPosted: Thu Jul 27, 2006 5:10 pm Reply with quote

well this goes beyond me...
i suggest you alter your topic to Undefined offset (not solved yet)
then sit back and wait for response from raven bob, or others..
 
gsicard
PostPosted: Fri Jul 28, 2006 6:15 am Reply with quote

The topic is altered. Now I wait for the masters. Thanks guys.
 
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9453
Location: Arizona

PostPosted: Fri Jul 28, 2006 7:43 am Reply with quote

Well, that is too funny, Raven (aka: "The Master"), just posted this here:
Only registered users can see links on this board! Get registered or login!

Based on what I am seeing in your path names in various posts, I am thinking this or something like it could be causing the issue. Basically thinking it is a real path issue.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
gsicard
PostPosted: Fri Jul 28, 2006 12:14 pm Reply with quote

Hi Montego,
Verified the real path and it is correct. I have display_errors off on the server for now. but it is indeed an annoying thing.
 
Susann
Moderator


Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Fri Jul 28, 2006 12:52 pm Reply with quote

Try the 3.2 b patch for Nuke 7.6 you can also commnt out the flood blocker in the nukesentinel.php but that means he doesn´t work and it´s no real solution.

Comment out that line and let us know what errors you still have:
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Sun Aug 13, 2006 8:42 am Reply with quote

Generally the notice errors do not indicate any fatal flaws. Should be able to surpress them and things should work. If not, then perhaps floodarray is not being filled correctly
Code:


  $floodarray = file($ab_config['ftaccess_path']);

_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
gsicard
PostPosted: Mon Aug 14, 2006 11:53 am Reply with quote

Only these few errors left to fix and all will be well. Undefined offset still a problem.

Code:


Notice: Undefined offset: -1 in pathtomyfiles//httpdocs/includes/nukesentinel.php on line 1111

Notice: Undefined offset: -1 in pathtomyfiles//httpdocs/includes/nukesentinel.php on line 1111

Notice: Undefined offset: -1 in pathtomyfiles//httpdocs/includes/nukesentinel.php on line 1111

Notice: Undefined offset: -1 in pathtomyfiles//httpdocs/includes/nukesentinel.php on line 1111

Notice: Undefined offset: -1 in pathtomyfiles//httpdocs/includes/nukesentinel.php on line 1111

Notice: Undefined offset: -1 in pathtomyfiles//httpdocs/includes/nukesentinel.php on line 1111

Notice: Undefined offset: -1 in pathtomyfiles//httpdocs/includes/nukesentinel.php on line 1111

Notice: Undefined offset: -1 in pathtomyfiles//httpdocs/includes/nukesentinel.php on line 1111

Notice: Undefined offset: -1 in pathtomyfiles//httpdocs/includes/nukesentinel.php on line 1111

Notice: Undefined variable: aid in pathtomyfiles//httpdocs/includes/nukesentinel.php on line 106

Notice: Undefined variable: op in pathtomyfiles//httpdocs/includes/nukesentinel.php on line 229

Notice: Undefined variable: op in pathtomyfiles//httpdocs/includes/nukesentinel.php on line 229

Notice: Undefined variable: op in pathtomyfiles//httpdocs/includes/nukesentinel.php on line 229

Notice: Undefined variable: op in pathtomyfiles//httpdocs/includes/nukesentinel.php on line 229

Notice: Undefined variable: op in pathtomyfiles//httpdocs/includes/nukesentinel.php on line 229

Notice: Undefined variable: op in pathtomyfiles//httpdocs/includes/nukesentinel.php on line 229

Notice: Undefined variable: op in pathtomyfiles//httpdocs/includes/nukesentinel.php on line 229

Notice: Undefined variable: op in pathtomyfiles//httpdocs/includes/nukesentinel.php on line 229

Notice: Undefined variable: name in pathtomyfiles//httpdocs/includes/nukesentinel.php on line 275

Notice: Undefined variable: file in pathtomyfiles//httpdocs/includes/nukesentinel.php on line 275

Notice: Undefined variable: libpath in pathtomyfiles//httpdocs/includes/nukesentinel.php on line 275
 
gsicard
PostPosted: Mon Aug 14, 2006 12:16 pm Reply with quote

With the Flood function commented out on line 92 of /includes/nukesentinel.php like so
Code:


// Check for Flood Attack
// CAUTION: This function sometimes can slow your sites load time
//$blocker_row = $blocker_array[11];
//if($blocker_row['activate'] > 0) {
//  if(!($_SESSION["NSNST_Flood"])){
//    $_SESSION["NSNST_Flood"] = time();
//    ab_flood($blocker_row);
//  }else{
//    ab_flood($blocker_row);
//    $_SESSION["NSNST_Flood"] = time();
//  }
//}


The Undefined offset goes away but the undefined variables are still around..
Code:


Notice: Undefined variable: aid in pathtomyfiles//httpdocs/includes/nukesentinel.php on line 106

Notice: Undefined variable: op in pathtomyfiles//httpdocs/includes/nukesentinel.php on line 229

Notice: Undefined variable: op in pathtomyfiles//httpdocs/includes/nukesentinel.php on line 229

Notice: Undefined variable: op in pathtomyfiles//httpdocs/includes/nukesentinel.php on line 229

Notice: Undefined variable: op in pathtomyfiles//httpdocs/includes/nukesentinel.php on line 229

Notice: Undefined variable: op in pathtomyfiles//httpdocs/includes/nukesentinel.php on line 229

Notice: Undefined variable: op in pathtomyfiles//httpdocs/includes/nukesentinel.php on line 229

Notice: Undefined variable: op in pathtomyfiles//httpdocs/includes/nukesentinel.php on line 229

Notice: Undefined variable: op in pathtomyfiles//httpdocs/includes/nukesentinel.php on line 229

Notice: Undefined variable: name in pathtomyfiles//httpdocs/includes/nukesentinel.php on line 275

Notice: Undefined variable: file in pathtomyfiles//httpdocs/includes/nukesentinel.php on line 275

Notice: Undefined variable: libpath in pathtomyfiles//httpdocs/includes/nukesentinel.php on line 275
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™ v2.5.x

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 ©