
Jason
Staff
/ Moderator

Nov 6, 2011, 11:04 PM
Post #2 of 3
(790 views)
Shortcut
|
|
Re: [zick] Membership Saved Searches MySQL Error: Data too long for column
[In reply to]
|
Can't Post
|
|
Hi, Sorry for the blank post. What is happening here is that the text being entered is too long for the name field in the database. The "max length" value is only used for error checking when creating a record inside the cms. The _website_saved_searches table that the plugin creates is of type varchar(255) (ie, can accept a maximum of 255 characters). Any reasonable length saved search name would be under that length. However, if you want to be able to increase this length, try this: -edit your saved searches section and click modify for "name". -under Advanced Options, in the MySql Column Type, type in MEDIUMTEXT NOT NULL Remember to backup your database and files prior to attempting this. This will increase the size of the name field to take in the length of name you are referring to. The "Prevent this page from creating additional dialogs" is a javascript feature of your browser. It is meant to stop the same error from showing up multiple times. The error is still occurring, it just wouldn't be reported. Hope this helps --------------------------------------------------- Jason Sauchuk - Programmer interactivetools.com Hire me! Save time by getting our experts to help with your project. http://www.interactivetools.com/consulting/
(This post was edited by Jason on Nov 7, 2011, 9:30 AM)
|