2014年7月9日水曜日

fuelphpでThe requested view could not be foundではまった

fulephpは「php oil g admin category name:text」みたいに簡単にさくっと管理画面が作れて便利ですが、windowsで作ってEC2(Linux)でも見てみようと思ったらThe requested view could not be foundが出て、あせった。

答えはwindowsで作った時にファイルセパレータが
$this->template->content = View::forge('admin\area/index', $data);
となってしまっていたので、
$this->template->content = View::forge('admin/area/index', $data);
に直して修正完了。

便利すぎて気がつかなかった。

0 件のコメント:

コメントを投稿