로그도 남지 않고 아무런 에러 메시지 없지 파일 업로드가 동작하지 않는 문제가 있었다.
1.9.12 버전인데 repository_max_filesize 가 MB 단위로 표시되어 있는데 설정값 2048 에서는 동작하지 않다가
2048000000 으로 설정하니 동작한다. 아무래도 MB 단위 버그인 듯 싶다.
// the maximum allowed file size for each repository entry, default 1MB.
// Also check your PHP settings (default is usually 2MBs)
$tlCfg->repository_max_filesize = 2048000000; //MB
// TRUE -> when you upload a file you can give no title
$g_attachments->allow_empty_title = TRUE;
// $g_attachments->allow_empty_title == TRUE, you can ask the system
// to do something
//
// 'none' -> just write on db an empty title
// 'use_filename' -> use filename as title
//$g_attachments->action_on_save_empty_title='use_filename';
//
$g_attachments->action_on_save_empty_title = 'use_filename';
// Remember that title is used as link description for download
// then if title is empty, what the system has to do when displaying ?
// 'show_icon' -> the $g_attachments->access_icon will be used.
// 'show_label' -> the value of $g_attachments->access_string will be used .
$g_attachments->action_on_display_empty_title = 'show_icon';
// need to be moved AFTER include of custom_config
//
// $g_attachments->access_icon = '<img src="' . $tlCfg->theme_dir . 'images/new_f2_16.png" style="border:none" />';
$g_attachments->access_string = "[*]";
// Set display order of uploaded files
//$g_attachments->order_by = " ORDER BY date_added DESC ";
$g_attachments->order_by = " ORDER BY title ";
'Engineering > __00. SRS' 카테고리의 다른 글
[Testlink] Bad Request (Cookie) Error (0) | 2015.09.15 |
---|---|
[Testlink] 요구사항명세 등 입력창 (textarea/FCKeditor) size 조정하기 (0) | 2014.03.04 |