OK, Let me see if I could explain this issue: Looking at the log when a successfully payment is made to Paypal and the results are written to my earning database:
Here is the process: (PayPal uses two ips for the process
(1) Hit the donate.php
(2) Paypal (IP 1) return get my robots.txt
(3) Paypal (IP 1) need access to these strings in /includes/sentinel.php
Code:
$db->sql_query('UPDATE `'.$prefix."_nsnst_flood` SET `lastpost` = '".time()."' WHERE `ip` = '".$nsnst_const['remote_ip']."'");
} else {
$db->sql_query('INSERT INTO `'.$prefix."_nsnst_flood` (`ip`, `lastpost`) VALUES ('".$nsnst_const['remote_ip']."', '".time()."')");
$lpdelete = time() - 600;
$db->sql_query('DELETE FROM `'.$prefix.'_nsnst_flood` ORDER BY `lastpost` LIMIT '.$ab_config['flood_del']);
$db->sql_query('OPTIMIZE TABLE `'.$prefix.'_nsnst_flood`');
}
} else {
// let's make a brand new cookie
$lp = intval($HTTP_COOKIE_VARS['nsnst_flood_lastreq']);
(4)Paypal (IP 2) must POST /ws_donate.php?action=ipn.
(5) If the payment went through, I am taken back to my site and the ws_donate.php?action=success string is reported in my browser. Also, paypal IP 1 reports back to my site the same string as in condition 5.
Now when I have Sentinel "Enable" condition 2 & 3 are not taking place.
That's it .. In my opinion sentinel is cause action
Again Thanks fro previous suggestions and any new which could help me.
Finally....The Good news
From my thinking, I replaced /includes/sentinel.php with version before 2.5 and the results. OKOKOKOK--FINE. Therefore, how save is it to run as this. I don't want by site to be hacked so I replaced back 2.5 and will hold.
Could the developers of Sentinel HELP ME OUT PLEASE.
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