Reputation: 51
I am executing a shell on a Fedora 8 32 bit server with php 5.2.6 and Cakephp 2. I am getting these errors :
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
and so on.
This works fine when I try it locally. Any idea ?
Upvotes: 1
Views: 294
Reputation: 9964
It could be because you use an old PHP version. CakePHP 2 requires at least PHP 5.2.8, see http://book.cakephp.org/2.0/en/installation.html#requirements
Upvotes: 1