게시판 글 작성할때 위의 그림처럼 에러가 발생합니다. 그러나 데이터는 저장됩니다.
그누보드 처음 설치할때 테이블 생성시 아래 에러가 발생하지만 테이블은 만들어 집니다.
Notice: Undefined index: path in C:\xampp\htdocs\utf8\config.php on line 10
Notice: Undefined index: path in C:\xampp\htdocs\utf8\config.php on line 12
Notice: Undefined index: path in C:\xampp\htdocs\utf8\config.php on line 15
Notice: Undefined index: path in C:\xampp\htdocs\utf8\config.php on line 18
Notice: Undefined index: path in C:\xampp\htdocs\utf8\config.php on line 21
Notice: Undefined index: path in C:\xampp\htdocs\utf8\config.php on line 24
Notice: Use of undefined constant mysql_host - assumed 'mysql_host' in C:\xampp\htdocs\utf8\install\install_db.php on line 25
Notice: Use of undefined constant mysql_user - assumed 'mysql_user' in C:\xampp\htdocs\utf8\install\install_db.php on line 26
Notice: Use of undefined constant mysql_pass - assumed 'mysql_pass' in C:\xampp\htdocs\utf8\install\install_db.php on line 27
Notice: Use of undefined constant mysql_db - assumed 'mysql_db' in C:\xampp\htdocs\utf8\install\install_db.php on line 28
Notice: Use of undefined constant admin_id - assumed 'admin_id' in C:\xampp\htdocs\utf8\install\install_db.php on line 29
Notice: Use of undefined constant admin_pass - assumed 'admin_pass' in C:\xampp\htdocs\utf8\install\install_db.php on line 30
Notice: Use of undefined constant admin_name - assumed 'admin_name' in C:\xampp\htdocs\utf8\install\install_db.php on line 31
Notice: Use of undefined constant admin_email - assumed 'admin_email' in C:\xampp\htdocs\utf8\install\install_db.php on line 32
Notice: Use of undefined constant charset - assumed 'charset' in C:\xampp\htdocs\utf8\install\install_db.php on line 34
Notice: Use of undefined constant charset - assumed 'charset' in C:\xampp\htdocs\utf8\install\install_db.php on line 43
회원 가입 정보를 입력하고 확인 클릭시 아래 에러가 발생합니다. 그러나 데이터는 저장됩니다.
객체 없음!
요청한 URL을 이 서버에서 찾을 수 없습니다. URL을 직접 입력하셨다면 바르게 입력하셨는지 확인하시고 다시 시도하시기 바랍니다.
만약 이것이 서버 오류라고 생각되면, 웹 관리자에게 연락하시기 바랍니다.
Error 404
localhost
2011-01-30 ¿ÀÀü 1:08:58
Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.4 mod_perl/2.0.4 Perl/v5.10.1<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:27:00 MySQL에서 이동 됨]</div>
그누보드 처음 설치할때 테이블 생성시 아래 에러가 발생하지만 테이블은 만들어 집니다.
Notice: Undefined index: path in C:\xampp\htdocs\utf8\config.php on line 10
Notice: Undefined index: path in C:\xampp\htdocs\utf8\config.php on line 12
Notice: Undefined index: path in C:\xampp\htdocs\utf8\config.php on line 15
Notice: Undefined index: path in C:\xampp\htdocs\utf8\config.php on line 18
Notice: Undefined index: path in C:\xampp\htdocs\utf8\config.php on line 21
Notice: Undefined index: path in C:\xampp\htdocs\utf8\config.php on line 24
Notice: Use of undefined constant mysql_host - assumed 'mysql_host' in C:\xampp\htdocs\utf8\install\install_db.php on line 25
Notice: Use of undefined constant mysql_user - assumed 'mysql_user' in C:\xampp\htdocs\utf8\install\install_db.php on line 26
Notice: Use of undefined constant mysql_pass - assumed 'mysql_pass' in C:\xampp\htdocs\utf8\install\install_db.php on line 27
Notice: Use of undefined constant mysql_db - assumed 'mysql_db' in C:\xampp\htdocs\utf8\install\install_db.php on line 28
Notice: Use of undefined constant admin_id - assumed 'admin_id' in C:\xampp\htdocs\utf8\install\install_db.php on line 29
Notice: Use of undefined constant admin_pass - assumed 'admin_pass' in C:\xampp\htdocs\utf8\install\install_db.php on line 30
Notice: Use of undefined constant admin_name - assumed 'admin_name' in C:\xampp\htdocs\utf8\install\install_db.php on line 31
Notice: Use of undefined constant admin_email - assumed 'admin_email' in C:\xampp\htdocs\utf8\install\install_db.php on line 32
Notice: Use of undefined constant charset - assumed 'charset' in C:\xampp\htdocs\utf8\install\install_db.php on line 34
Notice: Use of undefined constant charset - assumed 'charset' in C:\xampp\htdocs\utf8\install\install_db.php on line 43
회원 가입 정보를 입력하고 확인 클릭시 아래 에러가 발생합니다. 그러나 데이터는 저장됩니다.
객체 없음!
요청한 URL을 이 서버에서 찾을 수 없습니다. URL을 직접 입력하셨다면 바르게 입력하셨는지 확인하시고 다시 시도하시기 바랍니다.
만약 이것이 서버 오류라고 생각되면, 웹 관리자에게 연락하시기 바랍니다.
Error 404
localhost
2011-01-30 ¿ÀÀü 1:08:58
Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.4 mod_perl/2.0.4 Perl/v5.10.1<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:27:00 MySQL에서 이동 됨]</div>
댓글 4개
그리자벨라
14년 전
설치 환경입니다.(윈도우 XP)
Apache 2.2.17
MySQL 5.5.8
PHP 5.3.5
phpMyAdmin 3.3.9
Apache 2.2.17
MySQL 5.5.8
PHP 5.3.5
phpMyAdmin 3.3.9
14년 전
php 5.3.x 버젼부터는 아마도 배열사용시 상수에 대한 처리를 좀더 엄격하게 처리하는 듯 합니다.
예를들어 $array[var] 라는 배열이 사용되었을때 정석적인 표기는 $array['var'] 이어야 합니다.
왜냐하면 $array 배열에 사용된 var 인자가 상수인지 순수한 문자열인지 변수나 상수가 포함된 문자열인지 모르기 때문입니다.
$array[var] 는 var라는 상수를 먼저 찾게되므로 $array['var'] 로 표기해야 원하는 결과를 얻어낼 수 있구요.. $array["var"] 는 "..." 안에 변수나 상수가 포함되어 있는지도 체크하므로 올바른 표기는 아닙니다. 물론 필요한 경우는 있겠지만요..
에러메세지를 보니 아마도 $배열[mysql_user] 와 같은 표기가 있는 것 같은데, mysql_user 라는 상수가 정의되지 않았는데 사용되고 있으니 $배열['mysql_user'] 로 assumed 된다고 말하고 있네요..
즉, 니가 원하는게 mysql_user 라는 상수가 아니라 'mysql_user' 라는 문자열아니냐 라고 묻고 있습니다.
Notice 레벨의 에러이므로 데이터 Insert 에는 지장이 없습니다.
Notice 레벨의 에러도 무시하려면 error_reporting 관련 설정을 참고해 보세요.
예를들어 $array[var] 라는 배열이 사용되었을때 정석적인 표기는 $array['var'] 이어야 합니다.
왜냐하면 $array 배열에 사용된 var 인자가 상수인지 순수한 문자열인지 변수나 상수가 포함된 문자열인지 모르기 때문입니다.
$array[var] 는 var라는 상수를 먼저 찾게되므로 $array['var'] 로 표기해야 원하는 결과를 얻어낼 수 있구요.. $array["var"] 는 "..." 안에 변수나 상수가 포함되어 있는지도 체크하므로 올바른 표기는 아닙니다. 물론 필요한 경우는 있겠지만요..
에러메세지를 보니 아마도 $배열[mysql_user] 와 같은 표기가 있는 것 같은데, mysql_user 라는 상수가 정의되지 않았는데 사용되고 있으니 $배열['mysql_user'] 로 assumed 된다고 말하고 있네요..
즉, 니가 원하는게 mysql_user 라는 상수가 아니라 'mysql_user' 라는 문자열아니냐 라고 묻고 있습니다.
Notice 레벨의 에러이므로 데이터 Insert 에는 지장이 없습니다.
Notice 레벨의 에러도 무시하려면 error_reporting 관련 설정을 참고해 보세요.
그리자벨라
14년 전
답변 감사 드립니다. ^^
14년 전
xampp 에 php.ini error_level 부분 살펴보시고 옵션 변경 (주석참고) 하시면 notice는 에러로 안뜹니다.
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 7730 | 10년 전 | 1272 | ||
| 7729 | 10년 전 | 1083 | ||
| 7728 |
잘살아보자
|
10년 전 | 548 | |
| 7727 |
잘살아보자
|
10년 전 | 453 | |
| 7726 |
잘살아보자
|
10년 전 | 792 | |
| 7725 |
잘살아보자
|
10년 전 | 516 | |
| 7724 |
잘살아보자
|
10년 전 | 426 | |
| 7723 |
잘살아보자
|
10년 전 | 492 | |
| 7722 |
잘살아보자
|
10년 전 | 424 | |
| 7721 |
잘살아보자
|
10년 전 | 466 | |
| 7720 |
잘살아보자
|
10년 전 | 406 | |
| 7719 |
비긴어게인
|
10년 전 | 646 | |
| 7718 |
|
10년 전 | 2493 | |
| 7717 |
잘살아보자
|
10년 전 | 627 | |
| 7716 |
잘살아보자
|
10년 전 | 360 | |
| 7715 |
잘살아보자
|
10년 전 | 407 | |
| 7714 |
잘살아보자
|
10년 전 | 437 | |
| 7713 | 10년 전 | 1740 | ||
| 7712 | 10년 전 | 1665 | ||
| 7711 | 10년 전 | 1053 | ||
| 7710 | 10년 전 | 1340 | ||
| 7709 | 10년 전 | 1477 | ||
| 7708 | 10년 전 | 1434 | ||
| 7707 | 10년 전 | 818 | ||
| 7706 |
별지기천사
|
10년 전 | 547 | |
| 7705 | 10년 전 | 1042 | ||
| 7704 |
ICONdesignstudio
|
10년 전 | 585 | |
| 7703 | 10년 전 | 543 | ||
| 7702 |
|
10년 전 | 681 | |
| 7701 | 10년 전 | 1372 | ||
| 7700 | 10년 전 | 1074 | ||
| 7699 | 10년 전 | 557 | ||
| 7698 | 10년 전 | 1106 | ||
| 7697 | 10년 전 | 5112 | ||
| 7696 | 10년 전 | 605 | ||
| 7695 | 10년 전 | 1650 | ||
| 7694 | 10년 전 | 1016 | ||
| 7693 | 10년 전 | 1508 | ||
| 7692 | 10년 전 | 1249 | ||
| 7691 | 10년 전 | 781 | ||
| 7690 | 10년 전 | 1356 | ||
| 7689 | 10년 전 | 978 | ||
| 7688 | 10년 전 | 548 | ||
| 7687 |
파랑새1597
|
10년 전 | 551 | |
| 7686 | 10년 전 | 800 | ||
| 7685 | 10년 전 | 1316 | ||
| 7684 | 10년 전 | 769 | ||
| 7683 | 10년 전 | 1014 | ||
| 7682 | 10년 전 | 881 | ||
| 7681 | 10년 전 | 615 | ||
| 7680 | 10년 전 | 950 | ||
| 7679 | 10년 전 | 451 | ||
| 7678 | 10년 전 | 689 | ||
| 7677 | 10년 전 | 593 | ||
| 7676 |
|
10년 전 | 911 | |
| 7675 |
|
10년 전 | 1112 | |
| 7674 | 10년 전 | 1026 | ||
| 7673 | 10년 전 | 721 | ||
| 7672 | 10년 전 | 1049 | ||
| 7671 | 10년 전 | 835 | ||
| 7670 | 10년 전 | 596 | ||
| 7669 |
mashmellow
|
10년 전 | 1199 | |
| 7668 | 10년 전 | 674 | ||
| 7667 | 10년 전 | 954 | ||
| 7666 |
senseme
|
10년 전 | 621 | |
| 7665 | 10년 전 | 474 | ||
| 7664 | 10년 전 | 1861 | ||
| 7663 |
mixx애교
|
10년 전 | 952 | |
| 7662 | 10년 전 | 979 | ||
| 7661 |
hkhkah
|
10년 전 | 750 | |
| 7660 | 10년 전 | 1037 | ||
| 7659 |
커네드커네드
|
10년 전 | 902 | |
| 7658 |
바람돌이팡
|
10년 전 | 631 | |
| 7657 | 10년 전 | 1121 | ||
| 7656 | 10년 전 | 1542 | ||
| 7655 | 10년 전 | 948 | ||
| 7654 |
개발짜증나
|
10년 전 | 827 | |
| 7653 |
네이비칼라
|
10년 전 | 859 | |
| 7652 |
밥먹고합시다
|
10년 전 | 781 | |
| 7651 |
플라이SINJI
|
10년 전 | 1481 | |
| 7650 |
개발짜증나
|
10년 전 | 1375 | |
| 7649 | 10년 전 | 430 | ||
| 7648 |
이미영ㅇㅇ
|
10년 전 | 826 | |
| 7647 | 10년 전 | 407 | ||
| 7646 | 10년 전 | 769 | ||
| 7645 | 10년 전 | 2262 | ||
| 7644 | 10년 전 | 791 | ||
| 7643 |
|
10년 전 | 2832 | |
| 7642 | 10년 전 | 1482 | ||
| 7641 | 10년 전 | 1106 | ||
| 7640 |
개발짜증나
|
10년 전 | 448 | |
| 7639 |
|
10년 전 | 785 | |
| 7638 |
개발짜증나
|
10년 전 | 1090 | |
| 7637 | 10년 전 | 1508 | ||
| 7636 | 10년 전 | 2875 | ||
| 7635 | 10년 전 | 1656 | ||
| 7634 | 10년 전 | 1819 | ||
| 7633 | 10년 전 | 2287 | ||
| 7632 | 10년 전 | 3885 | ||
| 7631 |
|
10년 전 | 1498 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기