BlackHoleが発生した場合の対応
CakePHPのSecurityコンポーネント使用時のBlackHole発生時の対応。 ・controllerのbeforeFilterなどで、$this->Security->cs...
17 search resultsShowing 1~17 results
You need to log-in
CakePHPのSecurityコンポーネント使用時のBlackHole発生時の対応。 ・controllerのbeforeFilterなどで、$this->Security->cs...
unset($this->Model->validate['colum']['rule']);をバリデート前に入れる。 参考:http://www.iwaking.com/20120...
move_uploaded_file($filename,$destination) の移動先のフォルダー 例えば、app/tmp/csvのパーミッションを確認。書き込みの権限を付与する。
ヘルパーの読み込みを確認する。 public $helpers = array('js' => array('jquery'));をJs、Jqueryに変更。
$this->paginate = array('contain' => array('Stock' => array('fields' => array('id','c...
参考:http://book.cakephp.org/2.0/ja/core-utility-libraries/xml.html //maps.googleapis.com/maps/api/...
[root@ip- ntp]# date 2014年 10月 7日 火曜日 01:00:31 UTC 時間がUTCになっている。yum updateでglibcが更新されるとUTCに戻る。 l...
timezoneが反映されていないかもしれないので、crondを再起動する service crond restart 参考:http://memo-off.blogspot.jp/2011...
permmissionの問題で以下のようなエラーがでる。 Warning: SplFileInfo::openFile(/www/app/tmp/cache/persistent/cake_co...
2014年10月14日 SSLv3のPOODLE問題のセキュリティ脆弱性が発表された。 ec2での対策 SSLの設定ファイル(/etc/httpd/conf.d/ssl.conf)でSSLPro...
スマートフォンなどで見たときに、メニューは開くが、押すことができない。PCでは問題ない。 Bootstrapのバグのようだが、以下のリンク先の方法では改善しない。 参考:http://mawat...
Warning: SplFileInfo::openFile(/path/to/app/tmp/cache/persistent/~)[splfileinfo.openfile]: failed...
public function beforeFilter(){ $this->Security->blackHoleCallback = 'blackhole'; parent::b...
ログイン時間を1日に設定 core.php Configure::write('Session', array( 'defaults' => 'php', 'timeout' => ...
リモートリポジトリにあるブランチは削除されたのに、ローカルにはリモートリポジトリのブランチがある状態。 ブランチを確認 git remote prune --dry-run origin 削除し...
AppController function beforeFilter() { CakeSession::$requestCountdown = 1; } core.php Configure:...
CSVの場合は、viewを以下のようにする。 PHPExcel <?php $this->Csv->addRow($row); echo $this->Csv->r...
17 search resultsShowing 1~17 results
Qiita is a knowledge sharing service for engineers.