LetoDMS Community Forum
Solved - Headers already sent - op.Download + locale - Printable Version

+- LetoDMS Community Forum (https://community.letodms.com)
+-- Forum: LetoDMS Support (https://community.letodms.com/forumdisplay.php?fid=4)
+--- Forum: Bugs/Errors (https://community.letodms.com/forumdisplay.php?fid=11)
+--- Thread: Solved - Headers already sent - op.Download + locale (/showthread.php?tid=170)



Solved - Headers already sent - op.Download + locale - deb00t - 09-17-2010

The "headers already sent" error may also occur, when one of your inclusion files contains an Unicode BOM signature. I stumbled upon this while trying to find out why my op.Download sends raw document data starting with "headers already sent" error messages instead of firing up a file download dialog. In english locale, everything worked fine, in Slovak, the download failed.

While localizing, I used UTF8 encoding and didn't realize I had the "add signature" checkbox enabled in the editor. So I just crosschecked with other UTF8 translations and this was the only difference - voilá, the downloader works Wink Hope this saves a few nerves to others.