1
我執行外殼Fedora 8的32位服務器上使用PHP 5.2.6和CakePHP 2.我得到這些錯誤:執行外殼CakePHP中
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
等。
當我在本地嘗試時,此工作正常。任何想法 ?
如果我讀了一本書並嘗試打開第123456頁,我找不到它!有任何想法嗎?換一種說法;請顯示您的代碼 – thaJeztah
如果我去的路徑蛋糕安裝,只需鍵入「蛋糕」,所有這些錯誤出現。沒有任何代碼可以從Cake修改。 –
您應該從'app'目錄中的'./ Console/cake'啓動它。 –