Unloading of the attached files

The release related discussions, plans and questions.
Locked
Maatun
TestLink user
Posts: 3
Joined: Wed Sep 10, 2008 8:34 am

Unloading of the attached files

Post by Maatun »

Hi TestLink!
I use TestLink 1.7.4 + PHP 5.2.6 + Apache 2.0 + Postgres 8.1 in environment Windows XP
Problem: I have loaded files (*.doc, *.pdf, *.xls) in the Requirements, test cases and etc. When I try to open the loaded files the browser (IE, FireFox) is displayed the broken text .
How to make so that it was possible to correctly open or unload the necessary document?

Thanks
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

please report issue with detailed steps
Maatun
TestLink user
Posts: 3
Joined: Wed Sep 10, 2008 8:34 am

Post by Maatun »

Thanks that have answered :)
The TestLink is customised on storage of files in a file system ($g_repositoryType = TL_REPOSITORY_TYPE_FS)
I load a file on page "Edit Requirement" by means of the button "Upload..."
The file correctly attached (I check its presence in a folder c:\Program Files\Apache Group\Apache2\htdocs\upload_area\requirements\8\ and also it correctly opens in a browser by reference http://My_server/upload_area/requirements/8/a2c7b52b643d5304be873bd1e24937e7.doc)
But if to try to open a file having click its icon on page "Edit Requirement" in a browser tehe broken text is displayed. The similar text if to open file by means of a notepad.exe.
It occurs to all files (*.doc, *.pdf, *.xls, *.jpg)
Maatun
TestLink user
Posts: 3
Joined: Wed Sep 10, 2008 8:34 am

Post by Maatun »

The problem be solved! :)
When we configured a file "config.inc.php" in the block /** [LOCALIZATION] */ have written " $g_default_language = 'ru_RU' ". Because of it there was a described before error. After replacement by on " $g_default_language = 'en_GB' " - TestLink began to work normally.
Sorry to trouble you.
Locked