1.問題点 FuelPHPでページ遷移すると「Not Found」と表示されてcontrollerの読み込みができない。 2.エラー内容
1.問題点 FuelPHPでページ遷移すると「Not Found」と表示されてcontrollerの読み込みができない。 2.エラー内容
1.やりたいこと エラーメッセージを画面に表示させる ページ遷移、リダイレクトするとエラーメッセージのSessionは削除される エラーメッセージがなければ表示させない 2.環境 PHP 7.0.24 FuelPHP 1.8 ※controllerはController_Templateを継承 3.実装 viewにエラーメッセージを表示させる場所を準備 <!-- $err_msgが存在した場合は、エラーメッセージを表示 --> <?php if( ! empty($err_msg)): ?> <div class="alert alert-danger" role="alert"> <strong>WARNING</strong>:<?php echo $err_msg; ?> </div> <?php endif ?> // 実行される処理例 public function post_h
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く