Results 1 to 3 of 3

Thread: TCPDF ERROR: Some data has already been output, can't send PDF file

  1. #1
    Join Date
    Aug 2011
    Posts
    3

    Default TCPDF ERROR: Some data has already been output, can't send PDF file

    Hello, I am evaluating sugar pro right now, and whenever I try to print a quote to pdf, I get the following error:

    TCPDF ERROR: Some data has already been output, can't send PDF file

    It did work once but now it always gives me this error. Is there an easy fix to this problem?

    I'm using Sugar Pro 6.2.1

    Thanks!

  2. #2
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: TCPDF ERROR: Some data has already been output, can't send PDF file

    This usually happens when a file has been edited and blank spaces have been left at the top of the fie or maybe a BOM (Byte order mark) has been added to the file by the editor. If you have edited files then copy the stock files back and try it again. Any file can be at fault, most of the tile its the config.php or the config_override.php if you manually edit them.
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  3. #3
    Join Date
    Aug 2011
    Posts
    3

    Default Re: TCPDF ERROR: Some data has already been output, can't send PDF file

    Thank you! It was the BOM. I had created some logic hooks using Notepad++, and then uploaded them to our server. Notepad added the BOM, so I just deleted the uploaded files from the server and created the files with VI instead, and it works now. Thanks for your help!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 2011-05-20, 08:33 AM
  2. Use MySQL-Function to output subpanel-data?
    By iparker in forum Developer Help
    Replies: 3
    Last Post: 2011-02-03, 06:31 PM
  3. TCPDF error: Some data has already been output, can't send PDF
    By kamalesh2008 in forum Developer Help
    Replies: 2
    Last Post: 2010-05-17, 12:31 PM
  4. Creating output to a file (text report)
    By miavfw in forum Help
    Replies: 0
    Last Post: 2008-10-23, 04:31 PM
  5. Replies: 3
    Last Post: 2007-09-07, 04:40 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
  •