심지어 php.ini 파일을 변경했습니다. 난 아직도 다음과 같은 오류가 점점 계속Xampp localhost Strict Standards 오류
display_startup_errors
Default Value: Off
Development Value: On
Production Value: Off
error_reporting
Default Value: E_ALL & ~E_NOTICE
Development Value: E_ALL | E_STRICT
Production Value: E_ALL & ~E_DEPRECATED
:
; display_startup_errors
; Default Value: Off
; Development Value: On
; Production Value: Off
; error_reporting
; Default Value: E_ALL & ~E_NOTICE
; Development Value: E_ALL | E_STRICT
; Production Value: E_ALL & ~E_DEPRECATED
내가로 변경 :
Strict Standards: Declaration of CUser::Save() should be compatible with that of CBase::Save() in D:\xampp\htdocs\web\newpacific\include\user.class.php on line 128
Strict Standards: Declaration of CUser::Add() should be compatible with that of CBase::Add() in D:\xampp\htdocs\web\newpacific\include\user.class.php on line 128
Strict Standards: Declaration of CUser::Edit() should be compatible with that of CBase::Edit() in D:\xampp\htdocs\web\newpacific\include\user.class.php on line 128
Strict Standards: Declaration of CNewsLetter::Save() should be compatible with that of CBase::Save() in D:\xampp\htdocs\web\newpacific\include\newsletter.class.php on line 89
Strict Standards: Declaration of CNewsLetter::Add() should be compatible with that of CBase::Add() in D:\xampp\htdocs\web\newpacific\include\newsletter.class.php on line 89
Strict Standards: Declaration of CNewsLetter::Edit() should be compatible with that of CBase::Edit() in D:\xampp\htdocs\web\newpacific\include\newsletter.class.php on line 89
Strict Standards: Declaration of CLanguage::UpdateSEO() should be compatible with that of CBase::UpdateSEO() in D:\xampp\htdocs\web\newpacific\include\language.class.php on line 186
Strict Standards: Declaration of CNav::Save() should be compatible with that of CBase::Save() in D:\xampp\htdocs\web\newpacific\include\nav.class.php on line 178
Strict Standards: Declaration of CNav::Edit() should be compatible with that of CBase::Edit() in D:\xampp\htdocs\web\newpacific\include\nav.class.php on line 178
Strict Standards: Declaration of CDatabase::GetAll() should be compatible with that of CBase::GetAll() in D:\xampp\htdocs\web\newpacific\include\database.class.php on line 119
Strict Standards: Declaration of CNews::GetMaxOrder() should be compatible with that of CBase::GetMaxOrder() in D:\xampp\htdocs\web\newpacific\include\news.class.php on line 160
Strict Standards: Declaration of CNews::UpdateOrder() should be compatible with that of CBase::UpdateOrder() in D:\xampp\htdocs\web\newpacific\include\news.class.php on line 160
Strict Standards: Declaration of CNavigation::GetMaxOrder() should be compatible with that of CBase::GetMaxOrder() in D:\xampp\htdocs\web\newpacific\include\navigation.class.php on line 75
Strict Standards: Declaration of CNavigation::UpdateOrder() should be compatible with that of CBase::UpdateOrder() in D:\xampp\htdocs\web\newpacific\include\navigation.class.php on line 75
Strict Standards: Declaration of CArticle::GetMaxOrder() should be compatible with that of CBase::GetMaxOrder() in D:\xampp\htdocs\web\newpacific\include\article.class.php on line 117
사전에 감사 나는 기본값은 php.ini 파일을 을 변경했습니다. 나는 포럼에서 수색했다. 왜 여전히 엄격한 표준 오류가 발생했는지 파악하지 못했습니다.
플러스 이후에 error_reporting를 변경할 수 있습니다 희망; php.ini 파일은 주석을위한 것이다. 나는 다음과 같이 바꿨다. display_startup_errors ; 기본값 : Off ; 개발 가치 : On ; 제작 값 : 꺼짐 display_startup_errors = 꺼짐 ; error_reporting ; 기본값 : E_ALL & ~ E_NOTICE ; 개발 가치 : E_ALL | E_STRICT ; 제작 값 : E_ALL & ~ E_DEPRECATED error_reporting = E_ALL & ~ E_NOTICE하지만 여전히 엄격한 오류가 발생합니다. 제발 도와주세요 – Nick
당신이 그 텍스트를 보게된다면 그 라인을 다시 주석으로 달아야합니다. "설정이 아니기 때문에 나중에 실제 설정을 보아주십시오." 나중에 "display_startup_errors = Off"또는 설정 중 하나와 유사한 행이 있어야합니다. 이들을 설정하고 서버를 다시 시작하십시오. craniumonempty로서 – craniumonempty
가 말했듯이, 당신은 그 줄을 주석해야합니다. 행은 기본값 (명시 적으로 지정되지 않은 경우), 프로덕션 서버 (프로덕션 값)에서 사용해야하는 값 및 개발 서버에서 사용해야하는 값 (개발 값)을 알려줍니다. –