Jump to content



Latest News: (loading..)

shuffled

Member Since 30 Mar 2007
OFFLINE Last Active Oct 19 2012 09:23 PM
-----

Posts I've Made

In Topic: CONTRIBUTION Social Login with Facebook / Google 2.3.1/2

17 October 2012 - 12:01 PM

Receiving the following on regular account creation.  Double checked my 14a, 14b, and 14c instructions and they match the install instructions.

1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1,1' at line 1

insert into customers_info (customers_info_id, customers_info_number_of_logons, customers_info_date_account_created, valid_address, personal_details_valid) values ('3', '0', now()),1,1



Code that was used on create_account.php:
// social login start
  tep_db_query("insert into " . TABLE_CUSTOMERS_INFO . " (customers_info_id, customers_info_number_of_logons, customers_info_date_account_created, valid_address, personal_details_valid) values ('" . (int)$customer_id . "', '0', now()),1,1");
// social login end


Facebook and Google logins both work.  Thank you for the contribution!