Author |
Message |
gsicard
Regular
Joined: May 21, 2003
Posts: 50
Location: Suffolk, VA USA
|
Posted:
Thu Jul 27, 2006 3:16 pm |
|
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 |
|
|
|
hitwalker
Sells PC To Pay For Divorce
Joined:
Posts: 5661
|
Posted:
Thu Jul 27, 2006 3:34 pm |
|
just a question...have you set that .ftaccess ?
if not....do so and check again... |
|
|
|
|
gsicard
|
Posted:
Thu Jul 27, 2006 4:53 pm |
|
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
|
Posted:
Thu Jul 27, 2006 4:55 pm |
|
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! ] |
|
|
|
hitwalker
|
Posted:
Thu Jul 27, 2006 4:59 pm |
|
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
|
Posted:
Thu Jul 27, 2006 5:06 pm |
|
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
|
Posted:
Thu Jul 27, 2006 5:10 pm |
|
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
|
Posted:
Fri Jul 28, 2006 6:15 am |
|
The topic is altered. Now I wait for the masters. Thanks guys. |
|
|
|
|
montego
Site Admin
Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Fri Jul 28, 2006 7:43 am |
|
|
|
|
gsicard
|
Posted:
Fri Jul 28, 2006 12:14 pm |
|
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
|
Posted:
Fri Jul 28, 2006 12:52 pm |
|
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! ] |
|
|
|
|
evaders99
Former Moderator in Good Standing
Joined: Apr 30, 2004
Posts: 3221
|
Posted:
Sun Aug 13, 2006 8:42 am |
|
|
|
|
gsicard
|
Posted:
Mon Aug 14, 2006 11:53 am |
|
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
|
Posted:
Mon Aug 14, 2006 12:16 pm |
|
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
|
|
|
|
|
|
|