설치방법좀 알려주세요, ㅜㅜ 정보
설치방법좀 알려주세요, ㅜㅜ
본문
↑ 파일 압축해서 올렸습니다.
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
어디서 잘못됐는지 알려주시면 감사하겟습니다.
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
어디서 잘못됐는지 알려주시면 감사하겟습니다.
추천
0
0
댓글 전체
그누보드가 설치된 폴더내의 bbs 폴더에 chat.php 와 chat_update.php 화일을 넣어보세요.
위를 참조하면 업로드 경로가
/gun/bbs/chat.php
/gun/bbs/chat_update.php
위를 참조하면 업로드 경로가
/gun/bbs/chat.php
/gun/bbs/chat_update.php

gnu/chat/--->에 _common.php파일을 복사해 넣으세요. _common.php이파일 없어서 나오는 증상이네요...
_common.php안의 내용은 아래와 같이 하시면 되요.... bbs폴더의 _common.php를 카피해서 사용해도 무방합니다.
<?
$g4_path = ".."; // common.php 의 상대 경로
include_once("$g4_path/common.php");
?>
_common.php안의 내용은 아래와 같이 하시면 되요.... bbs폴더의 _common.php를 카피해서 사용해도 무방합니다.
<?
$g4_path = ".."; // common.php 의 상대 경로
include_once("$g4_path/common.php");
?>

그리고 유창화님의 파일 버전은 디비 테이블 생성을 하지 않아도 되는 것인데...
디비 테이블생성은 관리자님의 소스입니다.
디비 테이블생성은 관리자님의 소스입니다.