Results 1 to 6 of 6

Thread: Error importing CSV for accounts

  1. #1
    necranom is offline Junior Member
    Join Date
    Mar 2009
    Posts
    2

    Default Error importing CSV for accounts

    Hi all,

    We have a new installation of Sugar Enterprise 5.2. We have everything working except the CSV imports.

    When we try to upload a CSV file (even a pristine test file with only 2 records) we get this error:

    File was not uploaded successfully. It may be that the 'upload_max_filesize' setting in your php.ini file is set to a small number

    Other applications on the server can upload files via the web fine and the PHP.INI files are set correctly as follows:

    ;;;;;;;;;;;;;;;;
    ; File Uploads ;
    ;;;;;;;;;;;;;;;;

    ; Whether to allow HTTP file uploads.
    file_uploads = On

    ; Temporary directory for HTTP uploaded files (will use system default if not
    ; specified).
    ;upload_tmp_dir =

    ; Maximum allowed size for uploaded files.
    upload_max_filesize = 8M


    Has anyone else run into this issue or have any ideas as to how it might be resolved?

    Thanks!

  2. #2
    salesagility's Avatar
    salesagility is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    2,379

    Default Re: Error importing CSV for accounts

    change your upload max to 32m and try again

    sugarcrm needs a lot of headroom

  3. #3
    necranom is offline Junior Member
    Join Date
    Mar 2009
    Posts
    2

    Default Re: Error importing CSV for accounts

    Sorry I did not reply sooner.. increasing both the post_max_size and upload_max_filesize to 32M did nothing.

    The test file we are trying to import is only 1k

    Anyone else?

  4. #4
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Error importing CSV for accounts

    Check the php.ini parameters:

    post_max_size
    upload_max_filesize

    Restart the web service after updating such file.

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  5. #5
    salesagility's Avatar
    salesagility is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    2,379

    Default Re: Error importing CSV for accounts

    Are you saying that you have changed the max upload PHP.INI parameter and you are still getting the same error message?

    And, as above ... did you reboot?

    Finally, can you post your environment details .... OS, DB serv & Version etc

  6. #6
    clint's Avatar
    clint is offline Sugar Team Member | Forums Lead Moderator
    Join Date
    Aug 2004
    Location
    Silicon Valley
    Posts
    2,120

    Default Re: Error importing CSV for accounts

    There is a file upload configuration value in your Sugar installation as well. Go to Admin->System Settings->Advanced and set "Maximum upload size" to 33554432 (which is 32MB in bytes).
    Sugar Developer Zone - developer resources | Sugar University - user and admin training
    Sugar Docs - user and admin documentation |
    Sugar Bug Tracker - Enter or view bugs
    SugarForge- open source modules, themes, lang packs | SugarExchange - commercial extensions

    Clint Oram
    Chief Technology Officer and Co-founder
    SugarCRM

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: 2006-08-03, 09:17 PM
  2. Replies: 11
    Last Post: 2005-12-28, 09:32 PM
  3. Error importing accounts
    By unHookt in forum Help
    Replies: 1
    Last Post: 2005-12-11, 12:08 AM
  4. Replies: 0
    Last Post: 2005-10-06, 03:35 PM
  5. Error Importing Contacts & Accounts
    By BStoffel in forum Help
    Replies: 1
    Last Post: 2005-04-22, 05:10 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
  •