Results 1 to 8 of 8

Thread: Sugar 5.2 Import Failure

  1. #1
    jerryhelms is offline Sugar Community Member
    Join Date
    Jan 2009
    Posts
    11

    Default Sugar 5.2 Import Failure

    I tied loading a CSV file in Sugar 5.2. It fails on the email address.

    I installed 4.5.1 and the import works fine.

    Is Sugqr 5.2 stable?

  2. #2
    jmertic is offline Sugar Community Manager
    Join Date
    Dec 2007
    Posts
    2,224

    Default Re: Sugar 5.2 Import Failure

    Could you let me know what module you were trying to import into and more details on what data you were importing?

  3. #3
    jerryhelms is offline Sugar Community Member
    Join Date
    Jan 2009
    Posts
    11

    Default Re: Sugar 5.2 Import Failure

    Sugar 5.2.0a
    WAMP Stack

    Import to accounts:

    "company","email"
    "xyz company","xyz@syz.com"

    Fails on email address

  4. #4
    jmertic is offline Sugar Community Manager
    Join Date
    Dec 2007
    Posts
    2,224

    Default Re: Sugar 5.2 Import Failure

    Quote Originally Posted by jerryhelms View Post
    Sugar 5.2.0a
    WAMP Stack

    Import to accounts:

    "company","email"
    "xyz company","xyz@syz.com"

    Fails on email address
    Testing this on 5.2.0CE works fine; perhaps there is an error in your data. Do you have any information on the error you are receiving.

  5. #5
    jerryhelms is offline Sugar Community Member
    Join Date
    Jan 2009
    Posts
    11

    Default Re: Sugar 5.2 Import Failure

    I made two changes in my php.ini file to install Infoathand -- now the import seems to work okay. The changes were:

    memory_limit = 200M ; Maximum amount of memory a script may consume (128MB)

    allow_call_time_pass_reference = Off

    I have not tried putting the parameters back to their original values to see if the problem comes back again.

  6. #6
    jmertic is offline Sugar Community Manager
    Join Date
    Dec 2007
    Posts
    2,224

    Default Re: Sugar 5.2 Import Failure

    Quote Originally Posted by jerryhelms View Post
    I made two changes in my php.ini file to install Infoathand -- now the import seems to work okay. The changes were:

    memory_limit = 200M ; Maximum amount of memory a script may consume (128MB)

    allow_call_time_pass_reference = Off

    I have not tried putting the parameters back to their original values to see if the problem comes back again.
    It's best to keep allow_call_time_pass_reference = Off, since that's a deprecated PHP feature that will be removed in the future ( http://www.php.net/ini.core#ini.allo...pass-reference ). Let us know if turning it back on causes import problems to resurface; if so then we'll make sure we add it to the app as a requirement to be off.

  7. #7
    jerryhelms is offline Sugar Community Member
    Join Date
    Jan 2009
    Posts
    11

    Default Re: Sugar 5.2 Import Failure

    The same problem with the email upload to Accounts is occurring again. The upload is just a company name and email address. The import fails.

    The upload error message is:

    Invalid Email address LBL_EMAIL (email1) "xyz@syz.com" 1

    I have uploaded a copy of my PHPINFO.
    Attached Images Attached Images

  8. #8
    jmertic is offline Sugar Community Manager
    Join Date
    Dec 2007
    Posts
    2,224

    Default Re: Sugar 5.2 Import Failure

    Quote Originally Posted by jerryhelms View Post
    The same problem with the email upload to Accounts is occurring again. The upload is just a company name and email address. The import fails.

    The upload error message is:

    Invalid Email address LBL_EMAIL (email1) "xyz@syz.com" 1

    I have uploaded a copy of my PHPINFO.
    Did you change the previous allow_call_time_pass_reference setting? If not, it sounds like there are some extra hidden characters in your string which are causing the problem.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Import To Sugar
    By gcipolletti in forum Italiano
    Replies: 2
    Last Post: 2008-04-05, 08:48 AM
  2. upgrading from V.4.5.1h to Sugar 5.0 - Failure
    By TakeMarket in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2007-12-18, 10:33 AM
  3. Sugar Import?
    By Danielg42 in forum Help
    Replies: 5
    Last Post: 2007-09-20, 07:28 PM
  4. Accounts Import Failure
    By howardjacobson in forum General Discussion
    Replies: 3
    Last Post: 2006-11-22, 11:45 AM
  5. Replies: 1
    Last Post: 2006-09-26, 03:59 PM

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
  •