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);
に直して修正完了。

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

2014年7月4日金曜日

WindowsへRedisをインストールする

https://github.com/msopenTech/redis/ から最新版を取得して、
/bin/releaseにあるzipを解凍する。

出てきたRedisService.docxに従ってサービス登録すれば完了。

PHP用クライアントは
http://char101.github.io/phpredis/
ここからバージョンにあったDLLをもってきて、php.iniに登録

バージョンが違うと静かに動かないので注意

2014年6月12日木曜日

gitlab から githubの移行でgithubの50 MB制限で困った

githubには50 MB制限があるけど、gitlabは特に設けていなかった。
今回移行する時その制限に引っ掛かったが、以下の手順で解決。

https://help.github.com/articles/working-with-large-files

※ただし、該当のコミットは消えるので、コミットを特定し、消えても良い場合だけ実施する。