ListMailPRO Email Marketing Software Forums

ListMailPRO Email Marketing Software Forums => General Help & How-To => Topic started by: vrinfo on February 28, 2008, 10:02:27 am

Title: Editing saved set
Post by: vrinfo 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
Title: Editing saved set
Post by: DW 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 (http://listmailpro.com/support?t=other) along with a link back to this post and exact steps to recreate this consistently.

Thanks