[SOLVED] Attachment issue

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Locked
khalidtaha
TestLink user
Posts: 3
Joined: Fri Dec 27, 2013 9:23 am

[SOLVED] Attachment issue

Post by khalidtaha »

i have uploaded some attachments in execution tab and when i try to to download them,they open in new IE in junk characters.Event tab shows me these warnings ("E_WARNING Cannot modify header information - headers already sent by (output started at H:\xampp\htdocs\testlink\locale\en_GB\strings.txt:1) - in H:\xampp\htdocs\testlink\lib\attachments\attachmentdownload.php - Line 31")

testlink version is 1.9.9 and same happens in 1.9.8 version also.IE version is 9.

Let me know if i am missing any thing here
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Attachment issue

Post by fman »

1. I kinldy request you to review our guidelines (you will find it on forum.testlink.org) regarding forum usage.
2. if you think you have an issue on 1.9.9, first thing to do (if possible) is to test again our demo site.
3. if issue persist the open a detailed issue on our issue tracking system (please review our guidelines regarding issue reporting)
4. I'm using linux then can not test using IE, but have tested on our demo site uploading a PDF and a TEXT file, using firefox without any issue.
khalidtaha
TestLink user
Posts: 3
Joined: Fri Dec 27, 2013 9:23 am

Re: Attachment issue

Post by khalidtaha »

thanks for the reply i have raised issue.although i did was able to download successfully by commenting @ob_end_clean() and adding ob_start(); in attachmentdownload.php.but am not sure whether this is right solution.it did worked for me and was able to download the attachments successfully
khalidtaha
TestLink user
Posts: 3
Joined: Fri Dec 27, 2013 9:23 am

Re: Attachment issue

Post by khalidtaha »

issue resolved.it was a silly mistake.Somehow strings file in locale en_gb got saved Encoding in UTF -8 with BOM and thats why i was getting this warning.Saved the file with Encoding in UTF-8 without BOM and issue got resolved
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: [SOLVED] Attachment issue

Post by fman »

greats news! good to know
Locked