前提・実現したいこと
現在DockerでFuelphpの開発環境を作って、ログイン画面を作る学習をしています。
使用OS:SentOS7
入れているもの:Apach-2.4,PHP-7.3,fuelphp-1.8
Fuelphpの導入が終わったのでネットに書いてあったタイムゾーンや文字コードなど設定をconfig.phpにしました。
どのタイミングで発生したかわかりませんが下記のエラーがwebページのほうに出てしまいました。
発生している問題・エラーメッセージ
Fuel\Core\FuelException [ Error ]: There is no security.output_filter defined in your application config file COREPATH/classes/security.php @ line 75
該当のソースコード
Fuelphp
170 } 271 372 // throw an exception if the output filter setting is missing from the app config 473 if (\Config::get('security.output_filter', null) === null) 574 { 675 throw new \FuelException('There is no security.output_filter defined in your application config file'); 776 } 877 978 // deal with duplicate filters, no need to slow the framework down 1079 foreach (array('output_filter', 'uri_filter', 'input_filter') as $setting) 1180 {
試したこと
インターネットで調べたところConfig.phpの’output_filter’がコメントアウトされていないか確認しましょうと書かれていたので確認してみたところ特にコメントアウトはされていませんでした。
ソースコード
/**
* This output filter can be any normal PHP function as well as 'xss_clean'
*
* WARNING: Using xss_clean will cause a performance hit.
* How much is dependant on how much input data there is.
*/
'output_filter' => array('Security::htmlentities'),
補足情報(FW/ツールのバージョンなど)
きちんと質問するように意識しましたが不明点などありましたらコメントしてくださいすぐ追記します。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。