Page 36 of 50 FirstFirst ... 26343536373846 ... LastLast
Results 351 to 360 of 491
  1. #351
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Additional Customers Fields

    [update customers set customers_default_address_id = '22', where customers_id = '22']
    Special fix for you it would seem (since I cannot reproduce this problem).

    In your create_account.php file,

    find:

    PHP Code:
    if (isset($_POST[$key]) && isset($table_fields[$key]) && eregi("^[[:alnum:]][a-z0-9_.-]*@[a-z0-9.-]+\.[a-z]{2,6}$"zen_db_prepare_input($_POST[$key])) && zen_validate_email($_POST[$key]) == true) {                              
                          
    $additional_sql .= "$key = '".zen_db_prepare_input($_POST[$key])."', ";
                      } elseif (isset(
    $_POST[$key]) && isset($table_fields[$key]) && preg_match("/[a-zA-Z0-9\.\,;:%&#@!\^-_~`\"'\[\]\{\}\*\/\?\(\)\n\r]/"$_POST[$key])) {
                          
    $additional_sql .= "$key = '".zen_db_prepare_input(strip_tags($_POST[$key]))."', ";          
                      } 
    // End of if statement. 
    replace with:

    PHP Code:
    if (isset($_POST[$key]) && isset($table_fields[$key]) && eregi("^[[:alnum:]][a-z0-9_.-]*@[a-z0-9.-]+\.[a-z]{2,6}$"zen_db_prepare_input($_POST[$key])) && zen_validate_email($_POST[$key]) == true) {                              
                          
    $additional_sql .= "$key = '".zen_db_prepare_input($_POST[$key])."'";
                      } elseif (isset(
    $_POST[$key]) && isset($table_fields[$key]) && preg_match("/[a-zA-Z0-9\.\,;:%&#@!\^-_~`\"'\[\]\{\}\*\/\?\(\)\n\r]/"$_POST[$key])) {
                          
    $additional_sql .= "$key = '".zen_db_prepare_input(strip_tags($_POST[$key]))."'";          
                      } 
    // End of if statement. 
    Then, retry the same instructions as above. It should work now (perhaps it's another fix for mySQL v5.x).

  2. #352
    Join Date
    Apr 2005
    Posts
    99
    Plugin Contributions
    0

    Default Re: Additional Customers Fields

    Its not working still, I am still getting the same error. Forgot to test to input data, when I input a cellphone number I get this error:

    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 'customers_cellphone = '213-555-220 where customers_id = '32'' at line 2
    in:
    [update customers set customers_default_address_id = '32', customers_cellphone = '213-555-2200'customers_cellphone = '213-555-220 where customers_id = '32']
    I think this code is the problem
    Code:
        $sql = "update " . TABLE_CUSTOMERS . "
                   set customers_default_address_id = '" . (int)$address_id . "', " . zen_db_output($additional_sql) . "
                   where customers_id = '" . (int)$_SESSION['customer_id'] . "'";

  3. #353
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Additional Customers Fields

    In order to resolve this problem, I'd need direct access to your FTP server and try this out. Otherwise, it would be quite difficult to fix this. If you wish, send me your server details by email and I will take a look at it.

  4. #354
    Join Date
    Apr 2005
    Posts
    99
    Plugin Contributions
    0

    Default Re: Additional Customers Fields

    Quote Originally Posted by TheOracle View Post
    In order to resolve this problem, I'd need direct access to your FTP server and try this out. Otherwise, it would be quite difficult to fix this. If you wish, send me your server details by email and I will take a look at it.
    Ok, email sent sxxxxxx######################.

  5. #355
    Join Date
    Apr 2006
    Location
    Phoenix, AZ
    Posts
    85
    Plugin Contributions
    1

    Default Re: Additional Customers Fields

    Oracle,

    I have noticed that this person may have drop-down date of birth installed.

    If this is the case, part of the login gets redirected to Wishmagic for processing rather than <your_template>. You might want to duplicate your code there.

    This may or may not be helpful.

    Good Luck guys

  6. #356
    Join Date
    Apr 2006
    Location
    Phoenix, AZ
    Posts
    85
    Plugin Contributions
    1

    Default Re: Additional Customers Fields

    Never mind - I was wrong. I am having the same problem. Let us all know when you fix it.

    Thanks,

  7. #357
    Join Date
    Jun 2007
    Posts
    71
    Plugin Contributions
    0

    Default Re: Additional Customers Fields

    I have finally gotten back to check the status of this MOD and thanks for your hard work and efforts on fixing this MOD. I was wondering what the newest version of the MOD is because I only can find v2.1 that was updated on the 17th and it looks like you did a update on the 22nd or some where around there. Do I need a paypal account to make a donation to you through paypal?

  8. #358
    Join Date
    Apr 2006
    Location
    Phoenix, AZ
    Posts
    85
    Plugin Contributions
    1

    Default Re: Additional Customers Fields

    Just another user trying to help out -

    Yes - they are fairly easy to set-up - I thought it was different at first, but you send it to his email address once you have set up your account.

  9. #359
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Additional Customers Fields

    Sorry for the delay in response. I seem to had difficulties with my internet connection (again) last night + this morning. It would seem to be back in normal now.

    I have finally gotten back to check the status of this MOD and thanks for your hard work and efforts on fixing this MOD. I was wondering what the newest version of the MOD is because I only can find v2.1 that was updated on the 17th and it looks like you did a update on the 22nd or some where around there. Do I need a paypal account to make a donation to you through paypal?
    Like I said; Package updated on my site. Do NOT trust the DEV team for the downloads section, they're too slow to update. Always check the upload date. Which is why, I have my own site for that (as I send updates to this topic to notify all users).

    I have noticed that this person may have drop-down date of birth installed.

    If this is the case, part of the login gets redirected to Wishmagic for processing rather than <your_template>. You might want to duplicate your code there.
    Again, I do NOT do integration with other MODs unless it involves one of the override files from my package.

    Do I need a paypal account to make a donation to you through paypal?
    Not that I know of. You can donate directly by using your credit card I believe. If not, then - personally - I'd still suggest to create a paypal account in order to donate (for security reasons in the mean time).

    I thought it was different at first, but you send it to his email address once you have set up your account.
    Thanks for your input on this.

  10. #360
    Join Date
    Jun 2007
    Posts
    71
    Plugin Contributions
    0

    Default Re: Additional Customers Fields

    Great job everthing works swell on both admin side and customers side, with one little error. I get this error on the customer registration:

    Fatal error: Call to undefined function get_support_ticket_tables() in /www/freehostingnow.com/c/o/m/commtech/htdocs/catalog/includes/modules/silverfish/create_account.php on line 324

    Any help?

 

 
Page 36 of 50 FirstFirst ... 26343536373846 ... LastLast

Similar Threads

  1. Additional Customers Fields
    By mizio78 in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 12 Aug 2011, 09:27 AM
  2. Additional Customers Fields Addon SQL problem
    By Dasha in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 12 Sep 2008, 05:41 PM
  3. Additional customers fields v2-55 Question
    By balonglong78 in forum General Questions
    Replies: 0
    Last Post: 26 May 2008, 04:04 AM
  4. Need help installing "additional customers fields" module
    By CKlemow in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 1 Sep 2007, 03:22 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg