Add a reply

ACCORD5 Company Forums » Trellis Desk » General Discussion

Attachment problem - "image contains errors"

  • Started 6 years ago by Spacey
  • 3 posts in this topic
  • Latest reply from Spacey
  1. User has not uploaded an avatar


    Strange problem here: More or less standard Debian lenny install with Plesk - Trellis itself is running fine: I can upload attachments to a ticket correctly and when I manually download them via FTP from the directory the pictures are OK but when I try to view them within Trellis I'm just getting this message:

    The image "" cannot be displayed, because it contains errors !

    Or in german:

    Die Grafik "" kann nicht angezeigt werden, weil sie Fehler enthält.

    Even the apache log doesn't show anything unusual: - - [06/Nov/2012:16:11:44 +0100] "GET /admin.php?section=manage&act=tickets&code=attachment&id=3 HTTP/1.1" 200 77496 "" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:16.0) Gecko/20100101 Firefox/16.0"

    So I guess something here is wrong with php & displaying inline pictures. Tried jpg and png - both the same result. Already searched the web & board here but found nothing good for me.

    Any useful hint for me?! I'm outa ideas :(

    Posted 6 years ago #
  2. User has not uploaded an avatar



    das Problem hatte ich auch. Es liegt an den deutschen Sprachdateien. In diesen steht leider vor jedem <?php die Byte-Order-Mark für UTF-8 (EF BB BF). Die musst du mit einen Hexeditor bei allen PHP Dateien im "de" Ordner entfernen.
    Dann klappts auch mit dem Bilder Anzeigen ;)

    Viele Grüße

    Posted 6 years ago #
  3. User has not uploaded an avatar


    Das hat mir den Tag gerettet - Thx!

    Posted 4 years ago #

RSS feed for this topic


You must log in to post.