1

我正在使用 php 5.2.6 和 Cakephp 2 在 Fedora 8 32 位服务器上执行 shell。我收到以下错误:

PHP Notice:  Undefined index:  tag in path/lib/Cake/Console/ConsoleOutput.php on line 202
PHP Notice:  Undefined index:  emergency in path/lib/Cake/Console/ConsoleOutput.php on line 217
PHP Notice:  Undefined index:  alert in path/lib/Cake/Console/ConsoleOutput.php on line 217
PHP Notice:  Undefined index:  critical in path/lib/Cake/Console/ConsoleOutput.php on line 217
PHP Notice:  Undefined index:  error in path/lib/Cake/Console/ConsoleOutput.php on line 217
PHP Notice:  Undefined index:  warning in path/lib/Cake/Console/ConsoleOutput.php on line 217
PHP Notice:  Undefined index:  info in path/lib/Cake/Console/ConsoleOutput.php on line 217
PHP Notice:  Undefined index:  debug in path/lib/Cake/Console/ConsoleOutput.php on line 217
PHP Notice:  Undefined index:  success in path/lib/Cake/Console/ConsoleOutput.php on line 217
PHP Notice:  Undefined index:  comment in path/lib/Cake/Console/ConsoleOutput.php on line 217
PHP Notice:  Undefined index:  question in path/lib/Cake/Console/ConsoleOutput.php on line 217

等等。

当我在本地尝试时,这很好用。任何想法 ?

4

1 回答 1

1

这可能是因为您使用的是旧的 PHP 版本。CakePHP 2 至少需要 PHP 5.2.8,请参阅http://book.cakephp.org/2.0/en/installation.html#requirements

于 2013-05-20T05:25:17.473 回答