Author Topic: Editing saved set  (Read 2327 times)

vrinfo

  • Posts: 14
    • View Profile
Editing saved set
« on: February 28, 2008, 10:02:27 am »
I'm having difficulties getting a saved set once edited re-saved.

I'm encountering an error message of "incorrect integer value set2' for column 'list' at row 1...

The column in question is a smallint(5) database column so the error message is understandable. The code on occasion sets $tolist to set.$sid or compares it to rs.$rid; yet retrieves a smallint from the database ????

It would appear from the upgrade.php file that the list column in lm_follow used to be something other than its current smallint - so I guess the code is a hangover from an earlier era ?

What is the fix ?

Thanks

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Editing saved set
« Reply #1 on: February 28, 2008, 01:11:37 pm »
The $tolist var will confuse you. :)  ListMail reads and then removes the "rs" and "set" substrings when interpreting the value.  With "rs" the ID is not a list at all, but rather a User Selection set ID.

It does, however, appear that for some reason ListMail -is- trying to set the int field to contain a string that should not be there.

Are you on the latest files available from the member area?  If so, please submit your information here along with a link back to this post and exact steps to recreate this consistently.

Thanks
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting