LoginSignup
9
8

More than 5 years have passed since last update.

CakePHP で SQLSTATE[HY000]: General error: 8 attempt to write a readonly database と言われる解決方法

Posted at

CakePHP3のディレクトリをブラウザからみたところエラーがでました。

readonly database とエラーがでる

SQLSTATE[HY000]: General error: 8 attempt to write a readonly database

スクリーンショット 2015-11-08 23.55.28.png

debug_kit.sqliteのpermissionを変える

chmod 777 app/tmp/debug_kit.sqlite

ブラウザを更新

表示が直りました(☝ ՞ਊ ՞)
スクリーンショット 2015-11-08 22.51.10.png

9
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
8