Results 1 to 4 of 4

Thread: Data too long for column 'from_name' at row 1

  1. #1
    cwoodward is offline Sugar Community Member
    Join Date
    Feb 2007
    Posts
    12

    Default Data too long for column 'from_name' at row 1

    My users regularly get the following error when Checking Mail. I have included a snippet of the error message below.



    , from_name='-�2�轩ݕ�2r*�uا�Ʈ', to_addrs='xxx@xxxxxxx.com', cc_addrs=null, bcc_addrs=null, type='inbound', status='unread', message_id='954d61a7-c5e7-df7c-8d53-45c651ff379c', reply_to_name='-�2�轩ݕ�2r*�uا�Ʈ', intent='pick', mailbox_id='954d61a7-c5e7-df7c-8d53-45c651ff379c', raw_source=null, deleted='0'::MySQL error 1406: Data too long for column 'from_name' at row 1


    I have increased the width of from_name in our DB to VARCHAR(255) but still see the error. Anybody have any thoughts?

  2. #2
    chinwoei's Avatar
    chinwoei is offline Sugar Community Member
    Join Date
    Jul 2007
    Posts
    91

    Default Re: Data too long for column 'from_name' at row 1

    Is it the from_name is the chinese character word?
    Will it because of the chinese character set problem?

  3. #3
    cwoodward is offline Sugar Community Member
    Join Date
    Feb 2007
    Posts
    12

    Default Re: Data too long for column 'from_name' at row 1

    Thanks for the reply. We are using an English character set. I am unsure why the from_name looks like binary characters.

  4. #4
    conradt is offline Member
    Join Date
    Oct 2004
    Posts
    6

    Thumbs down Re: Data too long for column 'from_name' at row 1

    Retrieving emails is also a hassle for me. I get the same errors occassionally on different fields, sometimes it's the body field, sometimes the subject fields, etc.
    The funny thing is, when I get this error, I copy/paste the exact sql statement and try to execute it in my MySql manager directly, and there the statement gets executed without a problem and the mail inserted into the email table.
    I'm using SugarCRM4.5.1e, PHP5, MySql5 on Windows.
    I didn't notice any "Chinese" characters in my mails as you describe below.

    I also noticed: sometimes after clicking the 'check mail' button, Sugar ends up with a white screen, although when I go back then and to my inbox, some emails have actually been retrieved.

    Nevertheless, I notice that some (unread) emails in my IMAP account are still there and haven't been retrieved by Sugar.

    All in all, I always have to check with my regular email client if I missed any email. The Sugar email client is currently hardly usuable if you can't be sure which email has been missed.
    Also, in case a problem such as 'field too long' occurs, it should at least skip that mail (but leave it unread, which is obviously not the case at the moment) and proceed with all other mails.


    Quote Originally Posted by cwoodward
    My users regularly get the following error when Checking Mail. I have included a snippet of the error message below.

    , from_name='-�2�轩ݕ�2r*�uا�Ʈ', to_addrs='xxx@xxxxxxx.com', cc_addrs=null, bcc_addrs=null, type='inbound', status='unread', message_id='954d61a7-c5e7-df7c-8d53-45c651ff379c', reply_to_name='-�2�轩ݕ�2r*�uا�Ʈ', intent='pick', mailbox_id='954d61a7-c5e7-df7c-8d53-45c651ff379c', raw_source=null, deleted='0'::MySQL error 1406: Data too long for column 'from_name' at row 1


    I have increased the width of from_name in our DB to VARCHAR(255) but still see the error. Anybody have any thoughts?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Saving and updating custom fields data
    By jones70 in forum Developer Help
    Replies: 2
    Last Post: 2011-10-05, 06:10 AM
  2. Replies: 5
    Last Post: 2007-11-13, 02:51 PM
  3. Import Question
    By Deland01 in forum Help
    Replies: 8
    Last Post: 2007-04-18, 05:53 PM
  4. Importing "Target_type" data
    By JoeK in forum Help
    Replies: 1
    Last Post: 2006-01-09, 02:15 AM
  5. Serious issue with sugarcrm 3.5.1.c
    By wp.rauchholz in forum Help
    Replies: 17
    Last Post: 2005-12-01, 07:22 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •