What is wrong with my code?
I should start by saying, I am not a cold fusion expert. I put together a little dynamic admin for some friends for their bead shop.
However, our host recently switched servers and now several of my UPDATE pages are not working.
I get the error:
Error Executing Database Query. | |
| [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Syntax error in UPDATE statement. | |
| The error occurred in E:\WEB\wholebeadshop.com\admin\beads_edit_confirm.cfm: line 4 | |
2 : datasource="wholebead" 3 : tablename="beads" 4 : Formfields="sku, productLine, unitType, catID, shape, size, colorName, desc, qtyPerStrand, price, isImage, inStock, gallery, limitedStock, dateAdded, display"> 5 : <CFLOCATION URL="admin.cfm"> | |

I have scoured over the code, I see no discrepancies. I have matched all fields from the EDIT page to the UPDATE page. I have also tested my other update pages they work fine.
My take is, this page has worked fine for years and suddenly doesn't. I do not know what version of CF their host is running, but I have to think this is related to some kind of syntax change.
Any ideas? Thanks.
