1. mantis를 내려받는다.(mantis-1.1.0.tar.gz)
http://www.mantisbt.org/

2. CAFE24에 파일을 올려놓은 후 텔넷으로 접속, tar 압축을 푼다. 폴더명은 mantis로 한다.

3. config_inc.php의 파일을 생성하여 아래의 설정대로 잡는다.

################################
 # Mantis Database Settings
 ################################

# --- database variables ---------
# set these values to match your setup
 # hostname should be either a hostname or connection string to supply to adodb.
 # For example, if you would like to connect to a mysql server on the local machine,
 # set hostname to 'localhost', and db_type to 'mysql'.
 # If you need to supply a port to connect to, set hostname as 'localhost:3306'.
 $g_hostname    = 'localhost';
 $g_db_username   = 'darkkaiser';
 $g_db_password   = '*******';
 $g_database_name  = 'darkkaiser';
 $g_db_type       = 'mysql';
################################
 # Mantis Language Settings
 ################################
# --- language settings -----------
# If the language is set to 'auto', the actual
 # language is determined by the user agent (web browser)
 # language preference.
 $g_default_language  = 'korean';
# Fallback for automatic language selection
 $g_fallback_language = 'korean';

4. http://darkkaiser.cafe24.com/mantis/admin/ 에 접속하여 DB 생성 혹은 업그레이드를 수행한다.
이 때 만약 ‘SET NAMES UTF8’ 관련 에러가 발생할 경우 /core/database_api.php 를 오픈하여 해당 부분을 주석 처리한다.

5. 업그레이드 후 /admin/ 폴더명을 삭제 혹은 임의의 폴더 명으로 변경한다.

6. 접속한다. 이때 만약 글자가 깨져서 출력이 되는 경우 /lang/strings_korean.txt 파일을 내려 받고 메모장으로 연 후 $s_charset = ‘utf-8’; => $s_charset = ‘ansi’; 으로 수정 후 저장을 ansi 로 저장한다. 다시 올려서 접속하면 OK~

Related Posts

답글 남기기

이메일 주소는 공개되지 않습니다.