CakePHPでのエラー
第 2 版(2009-09-10 18:14:13 · 西小倉パンデイロ)を表示しています。 最新版に戻る
Deprecated: Assigning the return value of new by reference is deprecated
PHP5.3だと出るらしい
cake/libs/configure.php
の
if (isset($config['debug'])) {
if ($_this->debug) {
error_reporting(E_ALL);
if (function_exists('ini_set')) {
ini_set('display_errors', 1);
}
を
if (isset($config['debug'])) {
if ($_this->debug) {
error_reporting(E_ALL);
if (error_reporting() > 6143) {
error_reporting(E_ALL & ~E_DEPRECATED);
}
if (function_exists('ini_set')) {
ini_set('display_errors', 1);
}
としたらなおる