PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
emilacosta
New Member
New Member


Joined: Apr 07, 2009
Posts: 8
Location: Miami, FL

PostPosted: Tue Apr 07, 2009 10:06 pm Reply with quote Back to top

Hi,

Just a quick note.

One the file /includes/nukesentinel.php on line 375 there is a little bug that can cause this PHP Warning:

Code:
PHP Warning:  stristr() [<a href='function.stristr'>function.stristr</a>]: Empty delimiter in /home/host/public_html/includes/nukesentinel.php on line 375, referer: http://host/admin.php


To solve the issue you can go to the line and change this:

Code:
if(stristr($nsnst_const['user_agent'], $harvest) AND !empty($harvest))


for this:

Code:
if(!empty($harvest) AND stristr($nsnst_const['user_agent'], $harvest))


There reason why you are getting this warning is because on the conversion to array of your list of harvesters there are empty lines and the function "stristr" will not take a second parameter empty, by switching the condition you are stopping the execution of the function "stristr" if the harvest string is empty.

Thank you,

Enjoy. Wink
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16646
Location: Kansas

PostPosted: Tue Apr 07, 2009 10:31 pm Reply with quote Back to top

Thank you for this. I will check it out and get back. And, welcome to the forums!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2010 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum