22
Okay, let's try a next step. It looks like the query is not working because the values are not interpreted as text (at least the e-mail value).
Could you change the sql statement line into:
$sql = sprintf("INSERT INTO %s (login, email, password) VALUES (%s, %s, %s)", 'pcpin_user', ''.$newuser->getvar('uname').'', ''.$newuser->getvar('email').'', ''.$newuser->getvar('pass').'');
If that does not work it could be possible that the e-mail address is too long for the table field, but that is a long shot. First you could try this code.