Page 1 of 1
do not open attachments
Posted: Tue Nov 12, 2013 1:55 pm
by vladsn07
Script URL:
Version of script: 2.5.2
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
When you open a file attached to the knowledge base *.exe and *.png files do not open before all opened.
viewtopic.php?f=13&t=2604 - does not help
Re: do not open attachments
Posted: Tue Nov 12, 2013 4:25 pm
by Klemen
That's probably a setting on the server (or your browser) regarding supported content types.
Can you provide a link with example?
Re: do not open attachments
Posted: Tue Nov 12, 2013 5:14 pm
by vladsn07
Unfortunately I loklany ubuntu server. More precisely I initially they worked, and then perstal open exe files, and png. jpg opens. The rest did not check. I can make a screenshot
Re: do not open attachments
Posted: Tue Nov 12, 2013 5:22 pm
by Klemen
Yes, you can make a screenshot of what happens as I do not fully understand the problem.
Re: do not open attachments
Posted: Tue Nov 12, 2013 5:30 pm
by vladsn07
I switched the language helpdesk in English, then it worked. Russian use - does not work
Re: do not open attachments
Posted: Tue Nov 12, 2013 6:34 pm
by Klemen
This means the problem is in your Russian text.php file - there is probably a hidden UTF-8 BOM (byte order mark) at the beginning of the file.
I don't know what editor you use, but see if it has option to save in UTF-8 without BOM.
If not, use a more powerful editor, such as this one:
http://notepad-plus-plus.org/
You can manually confirm the issue and remove the extra bytes also by following these steps:
viewtopic.php?t=2713
Username: php
Password: php
Or you can try a tool to detect and remove BOM:
https://github.com/emrahgunduz/BomCleaner
Re: do not open attachments
Posted: Tue Nov 12, 2013 6:41 pm
by vladsn07
Thank you. was really a problem in the coding. The encoded files are encoded in UTF 8 without the BOM and it worked.