Results 1 to 4 of 4

Thread: Documents corrupted

  1. #1
    pawel.mazur is offline Member
    Join Date
    Jan 2009
    Posts
    13

    Default Documents corrupted

    Hi,

    I have installed Sugar on Windows 2003 server with IIS 6.0, PHP 5.2.8 and MySQL 5.1 . In general database and all scripts are working fine, but I'm having problem with opening documents.
    When I click on the document name link, browser is asking Open, Save as, Cancel, I choose either Open or Save as and after I try to open the document (i.e. jpg, doc, pdf) I have info that document is damaged ((jpg, pdf), or like in case of docs I'm asked to choose document coding page.
    When I'm trying to look at the file after I copy it to my desktop with changeing the name the file is opening correctly.
    On Sugar, my coding page is UTF-8, in IIS 6.0 it is UTF-8, in MySQL it is UTF-8 general. It seems for me like it has something with coding page or the server somehow infulences the content sent through, but I cannot find any reasons.
    Please help me to solve this issue.

    Regards
    Paweł

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

    Default Re: Documents corrupted

    Does this happen on all workstations? Have you tried a different browser?

    What happens if you take the saved file and drop it into the root install folder of Sugar then try to pull it up with your browser?
    Regards,

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

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  3. #3
    pawel.mazur is offline Member
    Join Date
    Jan 2009
    Posts
    13

    Default Re: Documents corrupted

    Does this happen on all workstations? Have you tried a different browser?
    >> Yes, I tried directly on the server, I have tried on Windows XP, Windows Vista and Fedora - on Internet explorer and Firefox - on all of them I have same issue.


    What happens if you take the saved file and drop it into the root install folder of Sugar then try to pull it up with your browser

    >>I have tried that from \wwwroot\ location and \wwwroot\Sugar\ location from both files are opening perfectly.

    Regards,

    Paweł

  4. #4
    pawel.mazur is offline Member
    Join Date
    Jan 2009
    Posts
    13

    Default Re: Documents corrupted

    Hi,

    Finally I found what was my problem.
    config.php file was corrupted when I was transfering data from my pc to server. There were few characters that were not visible in "normal" text viewers. After i opened it with notepad++ I found them and removed.
    All now works perfectly ))))

    Regards,

    Paweł

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 2009-02-12, 02:00 PM
  2. Replies: 2
    Last Post: 2008-03-20, 03:18 PM
  3. 4.5.d attatchments corrupted!
    By HenrikE in forum Help
    Replies: 36
    Last Post: 2007-12-03, 09:35 PM
  4. Zip Files Corrupted
    By asimzaidi in forum Help
    Replies: 2
    Last Post: 2007-06-27, 09:31 PM
  5. Replies: 2
    Last Post: 2005-11-24, 08:42 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
  •