그누채팅 설치방법좀 알려주세요, > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

그누채팅 설치방법좀 알려주세요, 정보

그누채팅 설치방법좀 알려주세요,

본문

↑ 파일도 압축해서 올렸습니다.


1. 유창화 - 파일 채팅 수정본입니다.를 다운받았습니다.
2. 그리고 업로드했습니다.
/gun/chat/chat.php
/gun/chat/chat_update.php

3. 그누보드 기본 adm/upgrade.php 에 아래 넣고 클릭해서 테이블 생성한듯합니다.

//채팅추가
sql_query("CREATE TABLE `ch_chat` (
  `ch_id` int(11) NOT NULL auto_increment,
  `ch_name` tinytext NOT NULL,
  `ch_msg` tinytext NOT NULL,
  `ch_color` varchar(255) NOT NULL,
  `ch_datetime` datetime NOT NULL default '0000-00-00 00:00:00',
  `ch_ip` tinytext NOT NULL,
  PRIMARY KEY  (`ch_id`)
) TYPE=MyISAM", FALSE);

4. 주소/gnu/chat/chat.php 실행히나깐 에러납니다.

Warning: main(_common.php): failed to open stream: No such file or directory in /home/hosting_users/아이디/www/gnu/chat/chat.php on line 2

Warning: main(): Failed opening '_common.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/아이디/www/gnu/chat/chat.php on line 2


어디서 잘못됐는지 알려주시면 감사하겟습니다.

댓글 전체

-. 오류 : 해당 채팅 경로에 _common.php 파일이 없어서 경로 오류 유발

-. 해결 : /gnu/chat/ 경로에 하단의 내용으로 _common.php 파일을 생성시키십시오.
(주의사항 복사+붙여넣기 과정에서 php구문의 공백을 주의하십시오.)

<?
$g4_path = "..";
include_once("$g4_path/common.php");
?>
전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT