Kellanved wrote: Hmm. Let's check another thing first.
Check if an invalid code causes the registration to fail (as it should). If so, then the problem is almost certainly in the addition after this block in usercp_register:
Code: Select all
$emailer->reset(); } $db->sql_freeresult($result); }
Double check that the code got added after the first closing brace behind "$db->sql_freeresult($result);" .
That's just because it sounds to me like the code doesn't get executed at all; but as I've mentioned before: I don't know much about Postgres and the troubles to expect with it. (The mod uses the dbal, though)
It was entered after the second bracket, it look like what i saw in your when i printed it out. i put the code after the first closed bracket and still same result though.