Unable to INSERT #1870
-
Another "new to Propel2" issue:
This is a table of log entries - we only ever insert records into this table. The insert interactions all look like this:
I've been through the other sections of code and can't find any locations where I have referenced of set the ID field (I've been using Propel1.6 for many years, and this code has been working fine up until now). Any ideas why this might be happening? Cheers |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Update: I'm recalling a similar error, something to do with fields that clash with the MySQL reserved words list. |
Beta Was this translation helpful? Give feedback.
-
Nice, you found it. |
Beta Was this translation helpful? Give feedback.
Update: I'm recalling a similar error, something to do with fields that clash with the MySQL reserved words list.
I have two, "code" and "explain".
I will try changing these.