LoginSignup
5
5

More than 5 years have passed since last update.

CakePHPでAn Internal Error Has Occurredがエラーが表示される解決方法。

Last updated at Posted at 2015-06-15

CakePHPのコードとMySQLのテーブルカラムを変更したらエラーがでて困りました。環境はCakePHP1.3です。

An Internal Error Has Occurredが発生

テーブルカラムの変更の後にエラーが出て困りました。

CakePHPのエラー
An Internal Error Has Occurred

結論からして、debugレベルを変更してから戻すと直りました。

vi app/config/core.php

Configure::write('debug', 0);

上記ではdebugレベルを0になっていたので、2にするとAn Internal Error Has Occurredが消えます。

その後にdebugレベルを0に戻しました。どういうことなの(☝ ՞ਊ ՞)

追記:聞いたことによるとキャッシュなどが影響しているとか(☝ ՞ਊ ՞)

5
5
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
5
5