게시판 글 작성할때 위의 그림처럼 에러가 발생합니다. 그러나 데이터는 저장됩니다.
그누보드 처음 설치할때 테이블 생성시 아래 에러가 발생하지만 테이블은 만들어 집니다.
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는 에러로 안뜹니다.
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 8030 | 9년 전 | 381 | ||
| 8029 | 9년 전 | 314 | ||
| 8028 | 9년 전 | 269 | ||
| 8027 | 9년 전 | 286 | ||
| 8026 | 9년 전 | 346 | ||
| 8025 | 9년 전 | 391 | ||
| 8024 | 9년 전 | 350 | ||
| 8023 | 9년 전 | 397 | ||
| 8022 | 9년 전 | 324 | ||
| 8021 | 9년 전 | 332 | ||
| 8020 | 9년 전 | 324 | ||
| 8019 | 9년 전 | 345 | ||
| 8018 | 9년 전 | 449 | ||
| 8017 | 9년 전 | 540 | ||
| 8016 | 9년 전 | 337 | ||
| 8015 | 9년 전 | 393 | ||
| 8014 | 9년 전 | 329 | ||
| 8013 | 9년 전 | 243 | ||
| 8012 | 9년 전 | 246 | ||
| 8011 | 9년 전 | 450 | ||
| 8010 | 9년 전 | 306 | ||
| 8009 | 9년 전 | 299 | ||
| 8008 | 9년 전 | 291 | ||
| 8007 | 9년 전 | 433 | ||
| 8006 | 9년 전 | 466 | ||
| 8005 |
|
9년 전 | 971 | |
| 8004 | 9년 전 | 363 | ||
| 8003 | 9년 전 | 428 | ||
| 8002 | 9년 전 | 325 | ||
| 8001 |
|
9년 전 | 668 | |
| 8000 | 9년 전 | 428 | ||
| 7999 | 9년 전 | 379 | ||
| 7998 | 9년 전 | 436 | ||
| 7997 | 9년 전 | 316 | ||
| 7996 | 9년 전 | 536 | ||
| 7995 | 9년 전 | 460 | ||
| 7994 | 9년 전 | 341 | ||
| 7993 | 9년 전 | 403 | ||
| 7992 | 9년 전 | 518 | ||
| 7991 | 9년 전 | 256 | ||
| 7990 | 9년 전 | 297 | ||
| 7989 | 9년 전 | 309 | ||
| 7988 | 9년 전 | 736 | ||
| 7987 | 9년 전 | 431 | ||
| 7986 | 9년 전 | 426 | ||
| 7985 | 9년 전 | 512 | ||
| 7984 | 9년 전 | 435 | ||
| 7983 | 9년 전 | 665 | ||
| 7982 | 9년 전 | 528 | ||
| 7981 | 9년 전 | 480 | ||
| 7980 | 9년 전 | 501 | ||
| 7979 | 9년 전 | 484 | ||
| 7978 | 9년 전 | 459 | ||
| 7977 | 9년 전 | 395 | ||
| 7976 | 9년 전 | 853 | ||
| 7975 | 9년 전 | 365 | ||
| 7974 | 9년 전 | 400 | ||
| 7973 | 9년 전 | 603 | ||
| 7972 | 9년 전 | 387 | ||
| 7971 | 9년 전 | 462 | ||
| 7970 | 9년 전 | 307 | ||
| 7969 | 9년 전 | 549 | ||
| 7968 | 9년 전 | 389 | ||
| 7967 | 9년 전 | 380 | ||
| 7966 | 9년 전 | 376 | ||
| 7965 |
|
9년 전 | 1018 | |
| 7964 | 9년 전 | 401 | ||
| 7963 | 9년 전 | 405 | ||
| 7962 | 9년 전 | 387 | ||
| 7961 |
전갈자리남자
|
9년 전 | 510 | |
| 7960 | 9년 전 | 970 | ||
| 7959 | 9년 전 | 556 | ||
| 7958 | 9년 전 | 409 | ||
| 7957 | 9년 전 | 369 | ||
| 7956 | 9년 전 | 371 | ||
| 7955 | 9년 전 | 463 | ||
| 7954 | 9년 전 | 385 | ||
| 7953 | 9년 전 | 438 | ||
| 7952 | 9년 전 | 360 | ||
| 7951 | 9년 전 | 506 | ||
| 7950 | 9년 전 | 399 | ||
| 7949 | 9년 전 | 391 | ||
| 7948 | 9년 전 | 328 | ||
| 7947 | 9년 전 | 942 | ||
| 7946 | 9년 전 | 443 | ||
| 7945 | 9년 전 | 400 | ||
| 7944 | 9년 전 | 431 | ||
| 7943 | 9년 전 | 389 | ||
| 7942 | 9년 전 | 408 | ||
| 7941 | 9년 전 | 399 | ||
| 7940 | 9년 전 | 888 | ||
| 7939 | 9년 전 | 360 | ||
| 7938 | 9년 전 | 394 | ||
| 7937 | 9년 전 | 288 | ||
| 7936 | 9년 전 | 887 | ||
| 7935 | 9년 전 | 456 | ||
| 7934 | 9년 전 | 424 | ||
| 7933 | 9년 전 | 526 | ||
| 7932 | 9년 전 | 495 | ||
| 7931 | 9년 전 | 546 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기