Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.
 

Corrupted Attachments?


#1

Hi,

I create testing TestRail installation and all is fine, but have problems with attachments.
If upload any type of file (png, jpeg, docx, txt) so in folder on disk is correct saved, but If want donwload it via Testrail file is corrupted.

Please see:
http://dl.dropbox.com/u/18976092/testrail.zip

21.funny.png - this file is stored in attachments folder
funny-original.PNG - this is original file
funny-downloaded - this file are downloaded via TestRail

Enviroment:
OS: Windows Server 2008 R2
WEB SERVER: IIS7
DB: MSSQL 2008 R2 express installed via WPI
PHP: PHP 5.3 installed via WPI
System Locale: English(United Kingdom)

Testrail version: 2.2.0.426
Testrail locale: English(United Kingdom)


#2

OK, this is PEBKAC

I have space as first character in config.php.

sorry for useless post.


#3

Hello,

Glad to hear that you found the problem and thanks for reporting back what the problem was (if we see a similar problem with another installation in the future, we now know what the problem might be).

Thanks,
Dennis