Announcement
Collapse
No announcement yet.
Custom module error on UPDATE
Collapse
X
-
That’s what it was. I was returning a zero.
Is there a rule of thumb for the function return? 0, 1, -1? I don’t think I’ve ever seen it documented and the LSK doesn’t have a lot of notes.
Scott
Leave a comment:
-
You're probably missing a return 1 somewhere so the software thinks an error has occurred. This is also indicative of the error message, it means an error was not set so it is just a general purpose error.
Leave a comment:
-
Custom module error on UPDATE
What are the possible reasons for this error?
Error Code: MER-ADM-00001 Description: <b>Unknown Error</b><br><br> Action = SMOD<br> Screen = SMOD
The functions are to either add a new row or update a field in the row. I am checking some input before I run the query to UPDATE or ADD. The same logic with nearly identical code works on a different table. My only guess from the Error Code Description is that the string for URL is getting clobbered somehow.
Thanks,
Scott
Tags: None
Leave a comment: