I have found the cause, in s2member/includes/functions/constants.inc.php, line 211. It uses $result where it should use $r. When I changed that the problem was fixed.
I hope this helps someone.
cheers
DavidStatistics: Posted by davidwebster48 — July 13th, 2010, 5:20 pm
]]>