Forums / Bug Reports / [Done v1.3.8] 1064 mysql error on authorizenet table, v1.3.7

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

Locked

Views: 2,755

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
5 Jan 2007, 5:58 PM
#1
dminear avatar

dminear

New Zenner

Join Date:
Jan 2007
Posts:
1
Plugin Contributions:
0

[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

7 Jan 2007, 1:51 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: [Done v1.3.8] 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.