설치시 에러가 나서 메인화면 못들어가네요 > 그누4 질문답변

그누4 질문답변

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

설치시 에러가 나서 메인화면 못들어가네요 정보

설치시 에러가 나서 메인화면 못들어가네요

본문

오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.

오류 주소 :

Warning: fwrite() expects parameter 1 to be resource, boolean given in C:\Inetpub\wwwroot\bbsins\install\install_db.php on line 325

Warning: fwrite() expects parameter 1 to be resource, boolean given in C:\Inetpub\wwwroot\bbsins\install\install_db.php on line 328

Warning: fwrite() expects parameter 1 to be resource, boolean given in C:\Inetpub\wwwroot\bbsins\install\install_db.php on line 329

Warning: fwrite() expects parameter 1 to be resource, boolean given in C:\Inetpub\wwwroot\bbsins\install\install_db.php on line 330

Warning: fwrite() expects parameter 1 to be resource, boolean given in C:\Inetpub\wwwroot\bbsins\install\install_db.php on line 331

Warning: fwrite() expects parameter 1 to be resource, boolean given in C:\Inetpub\wwwroot\bbsins\install\install_db.php on line 332

Warning: fclose(): supplied argument is not a valid stream resource in C:\Inetpub\wwwroot\bbsins\install\install_db.php on line 334
여기까지가 설치시 에러화면입니다


Fatal error: Call to undefined function get_magic_quotes_gpc() in C:\Inetpub\wwwroot\bbsins\common.php on line 31
메인화면 접속시 에러

해당소스
322 $file = "../dbconfig.php";
323 $f = @fopen($file, "w");


325 fwrite($f, "<?\n");

328 fwrite($f, "\$mysql_host = \"$mysql_host\";\n");
329 fwrite($f, "\$mysql_user = \"$mysql_user\";\n");
330 fwrite($f, "\$mysql_password = \"$mysql_pass\";\n");
331 fwrite($f, "\$mysql_db = \"$mysql_db\";\n");
332 fwrite($f, "?>");

334 fclose($f);


31 if( !get_magic_quotes_gpc() )

왜 나는지 알려주세요.
부탁드립니다.
현재 여기서 막혀있어요

설치환경은 iis6.0 + php6.0 + mysql 6.0 입니다.
좋은 하루 되시구요.
고수님들의 친절한 답변 부탁드립니다.
  • 복사

댓글 전체

IIS의 설정문제는 잘 몰라유...ㅠㅠ


서버를 직접관리하신다면 이부분을 참고해보세요..^^

MySQL 설정 파일에 보시면

sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

이렇게 되어있을 경우 그누보드가 설치되지 않더군요....

이 부분을

sql-mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

이렇게 바꿔줘보세요...^^
그누보드를 설치한 폴더에 dbconfig.php파일이 생성이 안되는 모양이네요.
dbconfig.php 파일을 찾아보시고 없으면 아래 소스에 필요한 데이터를 넣어 
dbconfig.php파일을 직접 만들어 넣고 테스트 해보시면
원인을 찾는데 도움이 될겁니다...^^

<?
$mysql_host = "localhost";
$mysql_user = "사용자";
$mysql_password = "비밀번호";
$mysql_db = "디비명";
?>
© SIRSOFT
현재 페이지 제일 처음으로