New Zenner
- Join Date:
- May 2006
- Posts:
- 62
- Plugin Contributions:
- 0
Newsletter-Only Subscriptions for v1.3x
SaraJacobson:
Ken,
There's an error in -includes\modules\YOUR_TEMPLATE\create_account.php where the bindvars were not being assigned.
I've uploaded a patch (2.2.2) but here's the patch (6 lines to change):
332,334c332,334
< $db->bindVars($sql, ':customer_id:', (int)$_SESSION['customer_id'], 'integer');
< $db->bindVars($sql, ':email_format:', $email_format, 'string');
< $db->bindVars($sql, ':email_address:', $email_address, 'string');$sql = $db->bindVars($sql, ':customer_id:', (int)$_SESSION['customer_id'], 'integer'); $sql = $db->bindVars($sql, ':email_format:', $email_format, 'string'); $sql = $db->bindVars($sql, ':email_address:', $email_address, 'string');344,346c344,346
< $db->bindVars($sql, ':customer_id:', (int)$_SESSION['customer_id'], 'integer');
< $db->bindVars($sql, ':email_address:', $email_address, 'string');
< $db->bindVars($sql, ':email_format:', $email_format, 'string');$sql = $db->bindVars($sql, ':customer_id:', (int)$_SESSION['customer_id'], 'integer'); $sql = $db->bindVars($sql, ':email_address:', $email_address, 'string'); $sql = $db->bindVars($sql, ':email_format:', $email_format, 'string');
Sara, THANK YOU THANK YOU THANK YOU :clap:
That code fix did the trick, and all is well !!! I received your other e-mail and will answer privately there. Thanks SO MUCH for a great module and your great help!!