私はphp.iniファイルを変更しました。 私はデフォルトはphp.iniの を変更:事前にXampp localhost厳密な規格のエラー
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
ありがとう:私はまだ、次のエラーを得続ける
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
私はにそれらを変更してください。私はフォーラムで検索しました。なぜ厳しい標準エラーが出るのかわかりませんでした。
にプラスので、error_reportingの変更することができます願っています。 php.iniのコメント行です。私は次のように変更しました。 display_startup_errors ;デフォルト値:オフ ;開発値: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"と表示されるか、設定の1つである同様の行が表示されます。それらを設定し、サーバーを再始動してください。 craniumonemptyとして – craniumonempty
が言った、あなたはそれらの行にコメントする必要があります。行は、デフォルト値(明示的に指定されていない場合)、実動サーバー(Production Value)で使用する値、開発サーバーで使用する値(Development Value)を示します。 –