|
|
|
17년 전
|
조회 1,536
|
|
|
|
17년 전
|
조회 1,986
|
|
|
|
17년 전
|
조회 1,682
|
|
|
|
17년 전
|
조회 1,563
|
|
|
|
17년 전
|
조회 1,513
|
|
|
|
17년 전
|
조회 2,033
|
|
|
|
17년 전
|
조회 1,607
|
|
|
|
17년 전
|
조회 1,602
|
|
|
|
17년 전
|
조회 1,760
|
|
|
|
17년 전
|
조회 2,171
|
|
|
|
17년 전
|
조회 1,927
|
|
|
|
17년 전
|
조회 1,889
|
|
|
|
17년 전
|
조회 2,732
|
|
|
|
17년 전
|
조회 1,943
|
|
|
|
17년 전
|
조회 1,682
|
|
|
|
17년 전
|
조회 3,406
|
|
|
|
17년 전
|
조회 1,688
|
|
|
|
17년 전
|
조회 1,539
|
|
|
|
17년 전
|
조회 1,545
|
|
|
|
17년 전
|
조회 1,550
|
댓글 9개
common.php와 head_bible.php 화일의 위치를 확인해 보세요.
path로 봐서는 gnuboard4/bbs/haeorm/이렇게 구성이 되어야 맞는 것 같은데
현재는 root/haeorm/ 이네요
출처를 알려 주실 수 있나요?
도움이 될 것 같은데...
이싸이트로 가시면 확인하실수있습니다.
학교 국어 선생님이 만들었다고 합니다.
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파일이 없어서 읽지 못하나봐요.
해결방법이 없네요..ㅠ
그렇다면 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"); ?>
http://www.digholic.com/bbs/haeorm/admin.php 관리자용
http://www.digholic.com/bbs/haeorm/index.php 사용자용
그런데
dumok.net 온라인시험처럼 게시판에 삽입시키려고 하는데 그런부부은 어떻게 해야하죠?