설치시 에러가 나서 메인화면 못들어가네요
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 :
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 입니다.
좋은 하루 되시구요.
고수님들의 친절한 답변 부탁드립니다.
오류 주소 :
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 입니다.
좋은 하루 되시구요.
고수님들의 친절한 답변 부탁드립니다.
|
댓글을 작성하시려면 로그인이 필요합니다.
로그인
댓글 5개
서버를 직접관리하신다면 이부분을 참고해보세요..^^
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파일을 직접 만들어 넣고 테스트 해보시면
원인을 찾는데 도움이 될겁니다...^^
<?
$mysql_host = "localhost";
$mysql_user = "사용자";
$mysql_password = "비밀번호";
$mysql_db = "디비명";
?>