Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2007
    Posts
    1
    Plugin Contributions
    0

    bug [Done v1.3.8] 1064 mysql error on authorizenet table, v1.3.7

    When using the credit card payment module with v1.3.7, I received a 1064 mysql error when trying to insert into the authorizenet table on final checkout. One of my store items had an apostrophe in the description, so I believe that was not escaped and terminating the query.

    I removed apostrophe's from the descriptions and it seems to work.

    -Dan

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: 1064 mysql error on authorizenet table, v1.3.7

    Thanks for the report.

    You might check out the updated module code being tested here:
    http://www.zen-cart.com/forum/showthread.php?t=54443

    It has a few changes in it to trap for unexpected characters during database-inserts, including the one you mentioned.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. 1064 mysql error
    By m4rtyj in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 28 Mar 2010, 11:31 PM
  2. MySQL Error 1064 You have an error in your SQL syntax;
    By dmm2020 in forum General Questions
    Replies: 2
    Last Post: 22 Feb 2009, 05:02 AM
  3. Dreaded mYSQL 1064 error when importing MySQL 4 database into MySQL5
    By dml311071 in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 10 Jun 2008, 05:38 AM
  4. 1064 Error in displaying MYSQL data after creating custom table
    By qwerpoiu338 in forum General Questions
    Replies: 2
    Last Post: 15 Jan 2008, 04:44 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR