Author |
Message |
craigmack
Hangin' Around

Joined: Jan 07, 2006
Posts: 35
|
Posted:
Mon Mar 06, 2006 8:29 pm |
|
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 |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Mon Mar 06, 2006 11:44 pm |
|
So comment out the includes NukeSentinel(tm) code in mainfile.php and find out if that's the problem or not. |
|
|
|
 |
craigmack

|
Posted:
Mon Mar 06, 2006 11:57 pm |
|
|
|
 |
Raven

|
Posted:
Tue Mar 07, 2006 12:11 am |
|
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

|
Posted:
Thu Mar 09, 2006 8:52 pm |
|
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
http://www.ratedrm.com/nuke/modules.php?name=Hot_Or_Not
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: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Fri Mar 10, 2006 5:08 am |
|
Did you try Ravens suggestion? |
|
|
|
 |
craigmack

|
Posted:
Fri Mar 10, 2006 11:38 am |
|
To test it without sentinel i made the test site in my last post and the mod pagination works |
|
|
|
 |
Guardian2003

|
Posted:
Fri Mar 10, 2006 12:25 pm |
|
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

|
Posted:
Fri Mar 10, 2006 12:32 pm |
|
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
|
Posted:
Fri Mar 10, 2006 1:51 pm |
|
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 |
|
|
 |
Guardian2003

|
Posted:
Fri Mar 10, 2006 1:51 pm |
|
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

|
Posted:
Fri Mar 10, 2006 1:55 pm |
|
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

|
Posted:
Fri Mar 10, 2006 2:04 pm |
|
No worries my friend.
Yes, you are correct. I was never able to isolate where exactly the problem lies. It is definately an odd problem. |
|
|
|
 |
craigmack

|
Posted:
Fri Mar 10, 2006 3:12 pm |
|
Well i commented it out as you showed and i still have the same problem |
|
|
|
 |
CurtisH

|
Posted:
Fri Mar 10, 2006 6:10 pm |
|
Strange, when I comment out all Sentinel includes it works just fine. |
|
|
|
 |
craigmack

|
Posted:
Fri Mar 10, 2006 8:13 pm |
|
i just commented out what he showed |
|
|
|
 |
craigmack

|
Posted:
Tue Mar 14, 2006 11:59 pm |
|
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. |
|
|
|
 |
|