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
craigmack
Hangin' Around


Joined: Jan 07, 2006
Posts: 35

PostPosted: Mon Mar 06, 2006 8:29 pm Reply with quote

I posted this is an old topic no replies so i figured i would open a new topic. I am running the raven distro 2 and i dont know if sentinel is messing with the hot or not mod, but im having the same problem curtish had in his post

Quote:
Hot or Not 2.0 - When viewers (members or anonymous) try to browse the available images, they are not able to navigate beyond the first page (via the navigation at the bottom off the module) of images because when they click on the any of the navigation links (i.e. Back :: 1 2 :: Next) the page merely refreshes just like the Your Account module did before the fix was applied.


I couldn't find the answer so im asking.

Thanks in advance
 
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17077

PostPosted: Mon Mar 06, 2006 11:44 pm Reply with quote

So comment out the includes NukeSentinel(tm) code in mainfile.php and find out if that's the problem or not.
 
View user's profile Send private message
craigmack
PostPosted: Mon Mar 06, 2006 11:57 pm Reply with quote

I never claimed it to be sentinel i found this post Only registered users can see links on this board! Get registered or login!
and was wondering if there was a fix or not i will try what you said
 
Raven
PostPosted: Tue Mar 07, 2006 12:11 am Reply with quote

craigmack wrote:
I never claimed it to be sentinel i found this post Only registered users can see links on this board! Get registered or login!
and was wondering if there was a fix or not i will try what you said

I didn't accuse you. You said in your original post and i dont know if sentinel is messing with the hot or not mod, so I simply gave you a way to test it.
 
craigmack
PostPosted: Thu Mar 09, 2006 8:52 pm Reply with quote

Raven i setup a test site with a regular version of nuke 7.6 and the pagination for this mod works if you would like to take a look its here Only registered users can see links on this board! Get registered or login!

If you would like to look at the files i have them i know your busy but i looked everywhere for this. Thanks
 
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6792
Location: Ha Noi, Viet Nam

PostPosted: Fri Mar 10, 2006 5:08 am Reply with quote

Did you try Ravens suggestion?
 
View user's profile Send private message Send e-mail
craigmack
PostPosted: Fri Mar 10, 2006 11:38 am Reply with quote

To test it without sentinel i made the test site in my last post and the mod pagination works
 
Guardian2003
PostPosted: Fri Mar 10, 2006 12:25 pm Reply with quote

But this doesnt help us to narrow down the problem much.
For example, when you say 'regular' nuke, did that one include Chatserv's patches?

In your current production site, make the file edit as Raven suggested. If the problem still exists then it is not a Sentinel issue.
If it doesn't work then it must related to an incompatibility security patches and that specific module which will entail updating the module.
 
craigmack
PostPosted: Fri Mar 10, 2006 12:32 pm Reply with quote

I got ya so to comment out sentinel i see it in a few places would it be this one
Code:


// Additional security (Union, CLike, XSS)
if(!file_exists('includes/nukesentinel.php')) {
  if(isset($_SERVER['QUERY_STRING']) && (!stripos_clone($_SERVER['QUERY_STRING'], "ad_click") || !stripos_clone($_SERVER['QUERY_STRING'], "url"))) {
    $queryString = $_SERVER['QUERY_STRING'];
    if (stripos_clone($queryString,'%20union%20') OR stripos_clone($queryString,'/*') OR stripos_clone($queryString,'*/union/*') OR stripos_clone($queryString,'c2nyaxb0') OR stripos_clone($queryString,'+union+') OR stripos_clone($queryString,'http://') OR (stripos_clone($queryString,'cmd=') AND !stripos_clone($queryString,'&cmd')) OR (stripos_clone($queryString,'exec') AND !stripos_clone($queryString,'execu')) OR stripos_clone($queryString,'concat')) {
      die('Illegal Operation');
    }
  }
}
 
CurtisH
Life Cycles Becoming CPU Cycles


Joined: Mar 15, 2004
Posts: 638
Location: West Branch, MI

PostPosted: Fri Mar 10, 2006 1:51 pm Reply with quote

Craigmack's problem is definitely a Sentinel related issue. Something about the way that the Hot or Not module is coded is causing the anomaly when Sentinel is installed. Issue confirmed with RavenNuke 2.0 - I was able to duplicate the issue and when Sentinel is then disabled, correct functionality of the module is restored.

In my experience this complaint about the "broken" pagination in the Hot or Not module always ended being the result of it being used on a site that was Sentinel protected. Therefore i can only assume that the Hot or Not module needs some code correction.

Hope this helps in some way.

_________________
Those who dream by day are cognizant of many things which escape those who dream only by night. ~Poe 
View user's profile Send private message Visit poster's website Yahoo Messenger
Guardian2003
PostPosted: Fri Mar 10, 2006 1:51 pm Reply with quote

No.
Further down that file you will see
Code:
@require_once(INCLUDE_PATH."includes/nukesentinel.php");
all you have to do is comment it out so it looks like this
Code:
\\ @require_once(INCLUDE_PATH."includes/nukesentinel.php");

Save it and re-upload it to your server than we can go from there.
 
Guardian2003
PostPosted: Fri Mar 10, 2006 1:55 pm Reply with quote

Thanks CurtisH it looks like we both posted at about the same time so I just wanted to acknowledge your post.
Unfortunately I dont have the time right now to install this module and do anything with it but I'm guessing you have already taken a look at it at some point with no easy solution in sight?
 
CurtisH
PostPosted: Fri Mar 10, 2006 2:04 pm Reply with quote

No worries my friend. Smile

Yes, you are correct. I was never able to isolate where exactly the problem lies. It is definately an odd problem.
 
craigmack
PostPosted: Fri Mar 10, 2006 3:12 pm Reply with quote

Well i commented it out as you showed and i still have the same problem
 
CurtisH
PostPosted: Fri Mar 10, 2006 6:10 pm Reply with quote

Strange, when I comment out all Sentinel includes it works just fine.
 
craigmack
PostPosted: Fri Mar 10, 2006 8:13 pm Reply with quote

i just commented out what he showed
 
craigmack
PostPosted: Tue Mar 14, 2006 11:59 pm Reply with quote

Curtish you are right about sentinel affecting this mod on my test site i installed patch for 7.6 then tried the hot or not mod and it worked, then i installed NukeSentinel_242pl4_70-79 once i completed the install and tried the hot or not mod the pagination stopped working.
 
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 ©