0
私のCakeFrameworkに問題があります: サイトが動作しません。エラーログは言った:CakePHPの致命的なエラー
} catch (PDOException $e) {
throw new MissingConnectionException(array(--- LINE 185
'class' => get_class($this),
'message' => $e->getMessage()
));
} (!)
public function listSources($data = null) {
これは、公共の機能が接続されて():
[02-Aug-2016 04:57:45 America/Chicago] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 32 bytes) in /public_html/lib/Cake/Model/Datasource/Database/Mysql.php on line 185
これはライン185です。
多くのデータを取得していて、PHPがそれを処理するのに十分なメモリがない可能性があります。あなたはphp.iniの最大メモリ制限を上げようとしましたか? – Eagle
サーバーのメモリが不足しているため、例外が発生しました。リクエストでどのくらいのデータを処理していますか?それを減らすことはできますか? –