Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Export csv problems

  1. #1
    SayedFarouk is offline Member
    Join Date
    Nov 2009
    Posts
    8

    Default Export csv problems

    I can't export any csv from sugar !! any help ?

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    5,205

    Default Re: Export csv problems

    Are you getting an error? Do you see the export button? Version of Sugar??? Please elaborate.
    Regards,

    Angel Magaņa
    Technical Solutions Architect
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

  3. #3
    SayedFarouk is offline Member
    Join Date
    Nov 2009
    Posts
    8

    Default Re: Export csv problems

    I got the popup from explorer starting to download and then nothing happen

  4. #4
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    5,205

    Default Re: Export csv problems

    Have you tried it using a version of PHP that is supported?
    Regards,

    Angel Magaņa
    Technical Solutions Architect
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

  5. #5
    SayedFarouk is offline Member
    Join Date
    Nov 2009
    Posts
    8

    Default Re: Export csv problems

    yes I did with php 5.2 and older versions as well in 2 different servers and on my local machine.

  6. #6
    bcanning is offline Junior Member
    Join Date
    Dec 2009
    Posts
    4

    Default Re: Export csv problems

    I have the same problem. None of the export buttons do anything but allow me choose the file destination and then they hang until I eventually get a "Connection to server reset" error message.

    I am getting this with the latest version of Sugar 5.2.0k (Build 5837) on PHP 5.2.11 (cli) (built: Sep 16 2009 19:32:02) running on Windows server 2008.

  7. #7
    bcanning is offline Junior Member
    Join Date
    Dec 2009
    Posts
    4

    Default Re: Export csv problems

    After more searching I found a thread that had addressed this issue and the suggested fix worked for me. I don't know how to refer to another thread so here is a copy/paste of the solution:
    ---------------------------------
    As explained in the bug description, you can comment out the following code from the "export.php" file: ----- Please be sure and make a backup of this file before editing -----

    /*
    header("Content-Length: ".strlen($content)); */

    Now there is one catch to this that I found. This fixes the export problem when you try to export a list of contacts or accounts, for instance, from the listview of their respective modules. If you try to export a report, it still does not work. I'm hoping I'll hear something back from them soon on this.
    ---------------------------------

  8. #8
    hg698f is offline Junior Member
    Join Date
    Dec 2009
    Posts
    2

    Default Re: Export csv problems

    I am trying to export a report also and that export.php fix didn't work. (my export button is broken also)

  9. #9
    dhaivatnaik is offline Senior Member
    Join Date
    Apr 2009
    Location
    Ahmedabad, India
    Posts
    24

    Default Re: Export csv problems

    Quote Originally Posted by bcanning View Post
    After more searching I found a thread that had addressed this issue and the suggested fix worked for me. I don't know how to refer to another thread so here is a copy/paste of the solution:
    ---------------------------------
    As explained in the bug description, you can comment out the following code from the "export.php" file: ----- Please be sure and make a backup of this file before editing -----

    /*
    header("Content-Length: ".strlen($content)); */

    Now there is one catch to this that I found. This fixes the export problem when you try to export a list of contacts or accounts, for instance, from the listview of their respective modules. If you try to export a report, it still does not work. I'm hoping I'll hear something back from them soon on this.
    ---------------------------------
    for me it didnt worked... i have sugar enterprice Version 4.5.1g (Build 1003) and i have updated php to 5.2.13. my export button doesnot work.

    i have debuged up to some extend.
    the $content variable gives me the perfect data.
    PHP Code:
    $content export(clean_string($_REQUEST['module']), $_REQUEST['uid']); 
    just after that their are few statements for header controls (for downloading).
    that doest not works.

    any help will be appreciated.
    __________________
    Best Regards
    ---------------------------------------
    Dhaivat Naik

  10. #10
    dhaivatnaik is offline Senior Member
    Join Date
    Apr 2009
    Location
    Ahmedabad, India
    Posts
    24

    Default Re: Export csv problems

    i got the solution, the php tag was not closed in this file

    include/utils/user_utils.php

    and there was some problem in the variable $sam1="579DB344334SAFGHY6A9ZngdmNtc..........";
    __________________
    Best Regards
    ---------------------------------------
    Dhaivat Naik

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Custom export function or logic hook for export?
    By ivit in forum Developer Help
    Replies: 2
    Last Post: 2012-08-01, 05:57 AM
  2. Replies: 1
    Last Post: 2009-11-16, 09:55 AM
  3. Replies: 0
    Last Post: 2008-04-16, 12:04 PM
  4. Replies: 2
    Last Post: 2008-01-23, 08:57 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
  •