[SOLVED] Attachment issue

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

[SOLVED] Attachment issue

Postby khalidtaha » Thu Jan 02, 2014 1:17 pm

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
khalidtaha
TestLink user
 
Posts: 3
Joined: Fri Dec 27, 2013 9:23 am

Re: Attachment issue

Postby fman » Thu Jan 02, 2014 3:33 pm

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.
fman
Member of TestLink Community
 
Posts: 3063
Joined: Tue Nov 15, 2005 7:19 am

Re: Attachment issue

Postby khalidtaha » Fri Jan 03, 2014 9:58 am

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

Postby khalidtaha » Fri Jan 03, 2014 12:03 pm

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
khalidtaha
TestLink user
 
Posts: 3
Joined: Fri Dec 27, 2013 9:23 am

Re: [SOLVED] Attachment issue

Postby fman » Fri Jan 03, 2014 1:42 pm

greats news! good to know
fman
Member of TestLink Community
 
Posts: 3063
Joined: Tue Nov 15, 2005 7:19 am


Return to Installation and configuration



Who is online

Users browsing this forum: No registered users and 2 guests