해오름 1.4그누보드연동문제입니다. 정보
해오름 1.4그누보드연동문제입니다.
본문
댓글 전체
path문제인데요.
common.php와 head_bible.php 화일의 위치를 확인해 보세요.
path로 봐서는 gnuboard4/bbs/haeorm/이렇게 구성이 되어야 맞는 것 같은데
현재는 root/haeorm/ 이네요
common.php와 head_bible.php 화일의 위치를 확인해 보세요.
path로 봐서는 gnuboard4/bbs/haeorm/이렇게 구성이 되어야 맞는 것 같은데
현재는 root/haeorm/ 이네요
그런데 그누보드 연동 소스를 어디서 구하셨나요?
출처를 알려 주실 수 있나요?
도움이 될 것 같은데...
출처를 알려 주실 수 있나요?
도움이 될 것 같은데...


Warning: main(../../head_bible.php): failed to open stream: No such file or directory in /home/hosting_users/zzoljimacom/www/bbs/haeorm/install.php on line 7
Warning: main(): Failed opening '../../head_bible.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/zzoljimacom/www/bbs/haeorm/install.php on line 7
이렇게 됩니다.
head_bible.php파일이 없어서 읽지 못하나봐요.
해결방법이 없네요..ㅠ
Warning: main(): Failed opening '../../head_bible.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/zzoljimacom/www/bbs/haeorm/install.php on line 7
이렇게 됩니다.
head_bible.php파일이 없어서 읽지 못하나봐요.
해결방법이 없네요..ㅠ

digholic.com/bbs/haeorm/install.php확인해보세요
만일 소스에 head_bible.php화일이 없다면 없어도 실행에는 이상이 없다는 뜻이겠지요?
그렇다면 install.php 7행을 주석처리 하고 해 보세요!
include "./head_bible.php"; 이런 형식이라면
@include "./head_bible.php"; 이렇게 하시거나
<!-- include "./head_bible.php"; --> 혹은 이렇게
//include "./head_bible.php"; 또는 이렇게 해 보세요.
다 같은 기능입니다. 상황에 맞게 해 보심이....
아니면 소스를 볼 수 있도록 해 주시면 확인 해 드릴께요.
그렇다면 install.php 7행을 주석처리 하고 해 보세요!
include "./head_bible.php"; 이런 형식이라면
@include "./head_bible.php"; 이렇게 하시거나
<!-- include "./head_bible.php"; --> 혹은 이렇게
//include "./head_bible.php"; 또는 이렇게 해 보세요.
다 같은 기능입니다. 상황에 맞게 해 보심이....
아니면 소스를 볼 수 있도록 해 주시면 확인 해 드릴께요.

넵 감사합니다.
install.php파일내용입니다.
<?
// 상대 경로
$g4_path = "../.."; //본인에 맞게 경로수정
include_once("$g4_path/common.php");
$g4[title] = "LLL - 포에버 / 해오름(문제은행)";
include_once("../../head_bible.php");
if(!$install) {
echo "<center><img src=./img/logo.jpg border=0><br><br><br><br>
<font size=2>[시나브로] \"해오름\" v.1.4 Mysql버전을 설치하겠습니다.<br>
설치 작업을 시작하면 해오름을 위한 여섯개의 테이블이 생성되고,<br>그누보드 회원 테이블에 네개의 필드가 추가됩니다.
<br><br>
<font color=blue><b>(그누보드용 입니다.)</b></font>
<br><br><br><br>
<a href=$PHP_SELF?install=ok><img src=./img/install.jpg border=0></a>";
}
else {
include "sql.sql";
mysql_query($query1);
mysql_query($query2_1);
mysql_query($query2_2);
mysql_query($query2_3);
mysql_query($query2_4);
mysql_query($query3);
mysql_query($query4);
mysql_query($query5);
mysql_query($query6);
mysql_query($query7);
$query="INSERT INTO sinabro_haeorm_config values('1','1000','1','','','1','60','10','1','10','10','10','10','10','10','black','white','gray','black','white','<center><img src=./img/logo.jpg border=0><br>','')";
mysql_query($query);
if(mysql_error()) {
echo "<div align=center><br><br><br>".mysql_error()."<br>에러가 났습니다. db연결에 오류가 있는지 확인하세요.<br><br>
<a href=javascript:history.go(-1)>이전화면으로 이동</a>";
}
else {
echo"<br><br><br><br><br><br><br><center><font size=2>설치가 완료 되었습니다.<br><br>사용법을 보신후 사용하세요.";
echo "<meta http-equiv='refresh' content='1; url=member_first.php'>";
}
} // else
?>
<? include_once("../../tail.php"); ?>
install.php파일내용입니다.
<?
// 상대 경로
$g4_path = "../.."; //본인에 맞게 경로수정
include_once("$g4_path/common.php");
$g4[title] = "LLL - 포에버 / 해오름(문제은행)";
include_once("../../head_bible.php");
if(!$install) {
echo "<center><img src=./img/logo.jpg border=0><br><br><br><br>
<font size=2>[시나브로] \"해오름\" v.1.4 Mysql버전을 설치하겠습니다.<br>
설치 작업을 시작하면 해오름을 위한 여섯개의 테이블이 생성되고,<br>그누보드 회원 테이블에 네개의 필드가 추가됩니다.
<br><br>
<font color=blue><b>(그누보드용 입니다.)</b></font>
<br><br><br><br>
<a href=$PHP_SELF?install=ok><img src=./img/install.jpg border=0></a>";
}
else {
include "sql.sql";
mysql_query($query1);
mysql_query($query2_1);
mysql_query($query2_2);
mysql_query($query2_3);
mysql_query($query2_4);
mysql_query($query3);
mysql_query($query4);
mysql_query($query5);
mysql_query($query6);
mysql_query($query7);
$query="INSERT INTO sinabro_haeorm_config values('1','1000','1','','','1','60','10','1','10','10','10','10','10','10','black','white','gray','black','white','<center><img src=./img/logo.jpg border=0><br>','')";
mysql_query($query);
if(mysql_error()) {
echo "<div align=center><br><br><br>".mysql_error()."<br>에러가 났습니다. db연결에 오류가 있는지 확인하세요.<br><br>
<a href=javascript:history.go(-1)>이전화면으로 이동</a>";
}
else {
echo"<br><br><br><br><br><br><br><center><font size=2>설치가 완료 되었습니다.<br><br>사용법을 보신후 사용하세요.";
echo "<meta http-equiv='refresh' content='1; url=member_first.php'>";
}
} // else
?>
<? include_once("../../tail.php"); ?>

주석처리했더니 됩니다.
http://www.digholic.com/bbs/haeorm/admin.php 관리자용
http://www.digholic.com/bbs/haeorm/index.php 사용자용
그런데
dumok.net 온라인시험처럼 게시판에 삽입시키려고 하는데 그런부부은 어떻게 해야하죠?
http://www.digholic.com/bbs/haeorm/admin.php 관리자용
http://www.digholic.com/bbs/haeorm/index.php 사용자용
그런데
dumok.net 온라인시험처럼 게시판에 삽입시키려고 하는데 그런부부은 어떻게 해야하죠?
흠..