게시판 글 작성할때 위의 그림처럼 에러가 발생합니다. 그러나 데이터는 저장됩니다.
그누보드 처음 설치할때 테이블 생성시 아래 에러가 발생하지만 테이블은 만들어 집니다.
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는 에러로 안뜹니다.
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 7430 |
|
10년 전 | 4920 | |
| 7429 | 10년 전 | 1749 | ||
| 7428 |
멋진남자임
|
10년 전 | 1121 | |
| 7427 |
sdflksdj2
|
11년 전 | 783 | |
| 7426 | 11년 전 | 1326 | ||
| 7425 | 11년 전 | 1353 | ||
| 7424 | 11년 전 | 1020 | ||
| 7423 |
SeungYeon
|
11년 전 | 533 | |
| 7422 | 11년 전 | 774 | ||
| 7421 |
sdflksdj2
|
11년 전 | 652 | |
| 7420 | 11년 전 | 941 | ||
| 7419 |
|
11년 전 | 1359 | |
| 7418 |
멋진남자임
|
11년 전 | 1376 | |
| 7417 | 11년 전 | 571 | ||
| 7416 |
senseme
|
11년 전 | 1188 | |
| 7415 | 11년 전 | 936 | ||
| 7414 | 11년 전 | 688 | ||
| 7413 | 11년 전 | 4816 | ||
| 7412 | 11년 전 | 4388 | ||
| 7411 |
holla
|
11년 전 | 869 | |
| 7410 | 11년 전 | 4213 | ||
| 7409 | 11년 전 | 3895 | ||
| 7408 | 11년 전 | 4249 | ||
| 7407 | 11년 전 | 5030 | ||
| 7406 | 11년 전 | 4700 | ||
| 7405 | 11년 전 | 4253 | ||
| 7404 | 11년 전 | 726 | ||
| 7403 | 11년 전 | 5639 | ||
| 7402 | 11년 전 | 1465 | ||
| 7401 |
|
11년 전 | 949 | |
| 7400 | 11년 전 | 2953 | ||
| 7399 |
멋진남자임
|
11년 전 | 879 | |
| 7398 |
파랑새1597
|
11년 전 | 2629 | |
| 7397 | 11년 전 | 2232 | ||
| 7396 |
basketball
|
11년 전 | 1325 | |
| 7395 | 11년 전 | 1569 | ||
| 7394 | 11년 전 | 893 | ||
| 7393 | 11년 전 | 2037 | ||
| 7392 | 11년 전 | 816 | ||
| 7391 |
잘살아보자
|
11년 전 | 5316 | |
| 7390 |
잘살아보자
|
11년 전 | 2187 | |
| 7389 |
잘살아보자
|
11년 전 | 3294 | |
| 7388 |
파랑새1597
|
11년 전 | 895 | |
| 7387 | 11년 전 | 1072 | ||
| 7386 |
프리랜서퍼블리셔
|
11년 전 | 945 | |
| 7385 | 11년 전 | 1549 | ||
| 7384 |
울라라라우
|
11년 전 | 871 | |
| 7383 | 11년 전 | 1518 | ||
| 7382 |
잘살아보자
|
11년 전 | 4198 | |
| 7381 |
잘살아보자
|
11년 전 | 1962 | |
| 7380 |
잘살아보자
|
11년 전 | 1913 | |
| 7379 |
잘살아보자
|
11년 전 | 5875 | |
| 7378 |
senseme
|
11년 전 | 1851 | |
| 7377 |
잘살아보자
|
11년 전 | 2707 | |
| 7376 | 11년 전 | 2361 | ||
| 7375 |
잘살아보자
|
11년 전 | 1019 | |
| 7374 |
잘살아보자
|
11년 전 | 3116 | |
| 7373 |
잘살아보자
|
11년 전 | 2448 | |
| 7372 |
잘살아보자
|
11년 전 | 5816 | |
| 7371 |
잘살아보자
|
11년 전 | 3441 | |
| 7370 |
잘살아보자
|
11년 전 | 1884 | |
| 7369 |
잘살아보자
|
11년 전 | 2144 | |
| 7368 |
ksdhtm56
|
11년 전 | 522 | |
| 7367 | 11년 전 | 1388 | ||
| 7366 | 11년 전 | 902 | ||
| 7365 | 11년 전 | 3507 | ||
| 7364 |
잘살아보자
|
11년 전 | 1357 | |
| 7363 |
잘살아보자
|
11년 전 | 1322 | |
| 7362 |
잘살아보자
|
11년 전 | 1464 | |
| 7361 | 11년 전 | 3567 | ||
| 7360 | 11년 전 | 3529 | ||
| 7359 | 11년 전 | 3357 | ||
| 7358 |
멋진남자임
|
11년 전 | 995 | |
| 7357 | 11년 전 | 3379 | ||
| 7356 | 11년 전 | 2579 | ||
| 7355 | 11년 전 | 3148 | ||
| 7354 |
파랑새1597
|
11년 전 | 623 | |
| 7353 |
잘살아보자
|
11년 전 | 2394 | |
| 7352 |
잘살아보자
|
11년 전 | 2382 | |
| 7351 |
잘살아보자
|
11년 전 | 2459 | |
| 7350 |
잘살아보자
|
11년 전 | 1434 | |
| 7349 |
잘살아보자
|
11년 전 | 1919 | |
| 7348 |
잘살아보자
|
11년 전 | 1237 | |
| 7347 |
잘살아보자
|
11년 전 | 1052 | |
| 7346 |
멋진남자임
|
11년 전 | 1622 | |
| 7345 | 11년 전 | 953 | ||
| 7344 | 11년 전 | 3836 | ||
| 7343 | 11년 전 | 3607 | ||
| 7342 | 11년 전 | 1233 | ||
| 7341 | 11년 전 | 2481 | ||
| 7340 |
|
11년 전 | 898 | |
| 7339 | 11년 전 | 1707 | ||
| 7338 | 11년 전 | 3312 | ||
| 7337 | 11년 전 | 3613 | ||
| 7336 | 11년 전 | 4538 | ||
| 7335 | 11년 전 | 934 | ||
| 7334 | 11년 전 | 1500 | ||
| 7333 | 11년 전 | 2905 | ||
| 7332 |
|
11년 전 | 1074 | |
| 7331 |
KeePin뽁이
|
11년 전 | 1061 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기